summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/include/mach/sound.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-18 08:24:32 -0400
committerTom Rini <trini@konsulko.com>2015-08-18 08:24:32 -0400
commit783983f323730540f861413dfbea6802c88afcf8 (patch)
tree7f72555dec8a8ec9d3e45e96864478c1c7bde6d1 /arch/arm/mach-exynos/include/mach/sound.h
parent0d339cf9a969f0c249713d3697e735184f1bd955 (diff)
parent14a66afead568a5c3a6bb49782432bea3b397fb8 (diff)
downloadu-boot-imx-783983f323730540f861413dfbea6802c88afcf8.zip
u-boot-imx-783983f323730540f861413dfbea6802c88afcf8.tar.gz
u-boot-imx-783983f323730540f861413dfbea6802c88afcf8.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-samsung
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/sound.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/sound.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/sound.h b/arch/arm/mach-exynos/include/mach/sound.h
new file mode 100644
index 0000000..bff57c6
--- /dev/null
+++ b/arch/arm/mach-exynos/include/mach/sound.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2012 Samsung Electronics
+ * Rajeshwari Shinde <rajeshwari.s@samsung.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+
+#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