~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 1a40e35f0b582dd1f9abad26f5709bc6a297f6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (C) 2012 Samsung Electronics
 * Rajeshwari Shinde <rajeshwari.s@samsung.com>
 */


#ifndef __SOUND_ARCH_H__
#define __SOUND_ARCH_H__

/* I2S values */
#define I2S_PLL_CLK		192000000
#define I2S_SAMPLING_RATE	48000
#define I2S_BITS_PER_SAMPLE	16
#define I2S_CHANNELS		2
#define I2S_RFS			256
#define I2S_BFS			32

/* I2C values */
#define AUDIO_I2C_BUS		1
#define AUDIO_I2C_REG		0x1a

/* Audio Codec */
#define AUDIO_CODEC		"wm8994"

#define AUDIO_COMPAT		1
#endif