Rajeshwari Shinde | 30b671f | 2012-10-25 19:49:26 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Samsung Electronics |
| 3 | * Rajeshwari Shinde <rajeshwari.s@samsung.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Rajeshwari Shinde | 30b671f | 2012-10-25 19:49:26 +0000 | [diff] [blame] | 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 |