blob: 1a40e35f0b582dd1f9abad26f5709bc6a297f6a3 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Rajeshwari Shinde30b671f2012-10-25 19:49:26 +00002/*
3 * Copyright (C) 2012 Samsung Electronics
4 * Rajeshwari Shinde <rajeshwari.s@samsung.com>
Rajeshwari Shinde30b671f2012-10-25 19:49:26 +00005 */
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