]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
dt-bindings: sound: Document jz4725b-codec bindings
authorPaul Cercueil <paul@crapouillou.net>
Thu, 7 Feb 2019 13:31:39 +0000 (10:31 -0300)
committerMark Brown <broonie@kernel.org>
Thu, 7 Feb 2019 14:38:01 +0000 (14:38 +0000)
Add documentation about how to probe the jz4725b-codec driver from
devicetree.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/ingenic,jz4725b-codec.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/ingenic,jz4725b-codec.txt b/Documentation/devicetree/bindings/sound/ingenic,jz4725b-codec.txt
new file mode 100644 (file)
index 0000000..05adc0d
--- /dev/null
@@ -0,0 +1,20 @@
+Ingenic JZ4725B codec controller
+
+Required properties:
+- compatible : "ingenic,jz4725b-codec"
+- reg : codec registers location and length
+- clocks : phandle to the AIC clock.
+- clock-names: must be set to "aic".
+- #sound-dai-cells: Must be set to 0.
+
+Example:
+
+codec: audio-codec@100200a4 {
+       compatible = "ingenic,jz4725b-codec";
+       reg = <0x100200a4 0x8>;
+
+       #sound-dai-cells = <0>;
+
+       clocks = <&cgu JZ4725B_CLK_AIC>;
+       clock-names = "aic";
+};