summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/sound
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2015-01-14 19:42:38 +0100
committerMark Brown <broonie@kernel.org>2015-01-14 20:46:54 +0100
commit0d40c61279510b8ce2368e1c6adcc2c4dc1af279 (patch)
treed5a038e8ae2e04316f3d88d861e78ec3923ad5dc /include/dt-bindings/sound
parentASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally (diff)
downloadlinux-0d40c61279510b8ce2368e1c6adcc2c4dc1af279.tar.xz
linux-0d40c61279510b8ce2368e1c6adcc2c4dc1af279.zip
ASoC: samsung: i2s: Add clk provider DT binding documentation
The new DT properties required for the I2S device node to be referred as a clock provider and corresponding clock indices definition is added. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/sound')
-rw-r--r--include/dt-bindings/sound/samsung-i2s.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dt-bindings/sound/samsung-i2s.h b/include/dt-bindings/sound/samsung-i2s.h
new file mode 100644
index 000000000000..0c69818d530c
--- /dev/null
+++ b/include/dt-bindings/sound/samsung-i2s.h
@@ -0,0 +1,8 @@
+#ifndef _DT_BINDINGS_SAMSUNG_I2S_H
+#define _DT_BINDINGS_SAMSUNG_I2S_H
+
+#define CLK_I2S_CDCLK 0
+#define CLK_I2S_RCLK_SRC 1
+#define CLK_I2S_RCLK_PSR 2
+
+#endif /* _DT_BINDINGS_SAMSUNG_I2S_H */