summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-12-11 14:47:11 +0100
committerMark Brown <broonie@kernel.org>2018-12-13 12:06:23 +0000
commit18dc4665fb6f3bb617c2e6d7da3f19586d06ab17 (patch)
treeb52aad76c6773ee831764bb8e9a628628c54f31a /Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
parent984463a94d5cb23120bfe7d689077b940c25128b (diff)
ASoC: meson: add axg spdif input DT binding documentation
Add the DT binding documentation for axg's SPDIF input. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
new file mode 100644
index 000000000000..2e6cb7d9b202
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt
@@ -0,0 +1,22 @@
+* Amlogic Audio SPDIF Input
+
+Required properties:
+- compatible: 'amlogic,axg-spdifin'
+- interrupts: interrupt specifier for the spdif input.
+- clocks: list of clock phandle, one for each entry clock-names.
+- clock-names: should contain the following:
+ * "pclk" : peripheral clock.
+ * "refclk" : spdif input reference clock
+- #sound-dai-cells: must be 0.
+
+Example on the A113 SoC:
+
+spdifin: audio-controller@400 {
+ compatible = "amlogic,axg-spdifin";
+ reg = <0x0 0x400 0x0 0x30>;
+ #sound-dai-cells = <0>;
+ interrupts = <GIC_SPI 87 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc_audio AUD_CLKID_SPDIFIN>,
+ <&clkc_audio AUD_CLKID_SPDIFIN_CLK>;
+ clock-names = "pclk", "refclk";
+};