]>
Commit | Line | Data |
---|---|---|
75ddfb4f RS |
1 | /* |
2 | * Copyright (C) 2012 Samsung Electronics | |
3 | * Rajeshwari Shinde <rajeshwari.s@samsung.com> | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
75ddfb4f RS |
6 | */ |
7 | ||
8 | ||
9 | #ifndef __SOUND_ARCH_H__ | |
10 | #define __SOUND_ARCH_H__ | |
11 | ||
12 | /* I2S values */ | |
13 | #define I2S_PLL_CLK 192000000 | |
14 | #define I2S_SAMPLING_RATE 48000 | |
15 | #define I2S_BITS_PER_SAMPLE 16 | |
16 | #define I2S_CHANNELS 2 | |
17 | #define I2S_RFS 256 | |
18 | #define I2S_BFS 32 | |
19 | ||
20 | /* I2C values */ | |
21 | #define AUDIO_I2C_BUS 1 | |
22 | #define AUDIO_I2C_REG 0x1a | |
23 | ||
24 | /* Audio Codec */ | |
25 | #define AUDIO_CODEC "wm8994" | |
26 | ||
27 | #define AUDIO_COMPAT 1 | |
28 | #endif |