aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h')
-rw-r--r--roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h b/roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h
new file mode 100644
index 000000000..1a40e35f0
--- /dev/null
+++ b/roms/u-boot/arch/arm/mach-exynos/include/mach/sound.h
@@ -0,0 +1,27 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2012 Samsung Electronics
+ * Rajeshwari Shinde <rajeshwari.s@samsung.com>
+ */
+
+
+#ifndef __SOUND_ARCH_H__
+#define __SOUND_ARCH_H__
+
+/* I2S values */
+#define I2S_PLL_CLK 192000000
+#define I2S_SAMPLING_RATE 48000
+#define I2S_BITS_PER_SAMPLE 16
+#define I2S_CHANNELS 2
+#define I2S_RFS 256
+#define I2S_BFS 32
+
+/* I2C values */
+#define AUDIO_I2C_BUS 1
+#define AUDIO_I2C_REG 0x1a
+
+/* Audio Codec */
+#define AUDIO_CODEC "wm8994"
+
+#define AUDIO_COMPAT 1
+#endif