1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 277b55e8cSThomas Abraham /* 377b55e8cSThomas Abraham * Copyright (C) 2012 Samsung Electronics 477b55e8cSThomas Abraham * Rajeshwari Shinde <rajeshwari.s@samsung.com> 577b55e8cSThomas Abraham */ 677b55e8cSThomas Abraham 777b55e8cSThomas Abraham 877b55e8cSThomas Abraham #ifndef __SOUND_ARCH_H__ 977b55e8cSThomas Abraham #define __SOUND_ARCH_H__ 1077b55e8cSThomas Abraham 1177b55e8cSThomas Abraham /* I2S values */ 1277b55e8cSThomas Abraham #define I2S_PLL_CLK 192000000 1377b55e8cSThomas Abraham #define I2S_SAMPLING_RATE 48000 1477b55e8cSThomas Abraham #define I2S_BITS_PER_SAMPLE 16 1577b55e8cSThomas Abraham #define I2S_CHANNELS 2 1677b55e8cSThomas Abraham #define I2S_RFS 256 1777b55e8cSThomas Abraham #define I2S_BFS 32 1877b55e8cSThomas Abraham 1977b55e8cSThomas Abraham /* I2C values */ 2077b55e8cSThomas Abraham #define AUDIO_I2C_BUS 1 2177b55e8cSThomas Abraham #define AUDIO_I2C_REG 0x1a 2277b55e8cSThomas Abraham 2377b55e8cSThomas Abraham /* Audio Codec */ 2477b55e8cSThomas Abraham #define AUDIO_CODEC "wm8994" 2577b55e8cSThomas Abraham 2677b55e8cSThomas Abraham #define AUDIO_COMPAT 1 2777b55e8cSThomas Abraham #endif 28