blob: 9672e977f0760c2f64029accff243ba1d57147a1 [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
Rajeshwari Shinde30b671f2012-10-25 19:49:26 +00007#ifndef __SOUND_ARCH_H__
8#define __SOUND_ARCH_H__
9
10/* I2S values */
11#define I2S_PLL_CLK 192000000
12#define I2S_SAMPLING_RATE 48000
13#define I2S_BITS_PER_SAMPLE 16
14#define I2S_CHANNELS 2
15#define I2S_RFS 256
16#define I2S_BFS 32
17
18/* I2C values */
19#define AUDIO_I2C_BUS 1
20#define AUDIO_I2C_REG 0x1a
21
22/* Audio Codec */
23#define AUDIO_CODEC "wm8994"
24
25#define AUDIO_COMPAT 1
26#endif