Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Rajeshwari Shinde | 30b671f | 2012-10-25 19:49:26 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 Samsung Electronics |
| 4 | * Rajeshwari Shinde <rajeshwari.s@samsung.com> |
Rajeshwari Shinde | 30b671f | 2012-10-25 19:49:26 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | |
| 8 | #ifndef __SOUND_ARCH_H__ |
| 9 | #define __SOUND_ARCH_H__ |
| 10 | |
| 11 | /* I2S values */ |
| 12 | #define I2S_PLL_CLK 192000000 |
| 13 | #define I2S_SAMPLING_RATE 48000 |
| 14 | #define I2S_BITS_PER_SAMPLE 16 |
| 15 | #define I2S_CHANNELS 2 |
| 16 | #define I2S_RFS 256 |
| 17 | #define I2S_BFS 32 |
| 18 | |
| 19 | /* I2C values */ |
| 20 | #define AUDIO_I2C_BUS 1 |
| 21 | #define AUDIO_I2C_REG 0x1a |
| 22 | |
| 23 | /* Audio Codec */ |
| 24 | #define AUDIO_CODEC "wm8994" |
| 25 | |
| 26 | #define AUDIO_COMPAT 1 |
| 27 | #endif |