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