diff options
author | Paul Cercueil <paul@crapouillou.net> | 2019-02-07 14:31:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-07 15:36:04 +0100 |
commit | 7c536bade37f11833ea358fbb84aca045b157fa4 (patch) | |
tree | d90948e22166cfe728ffc9b58a7a00d0957050f0 /Documentation | |
parent | ASoC: sun4i-codec: Add Line Playback Volume, Line Boost Volume, Line Right, L... (diff) | |
download | linux-7c536bade37f11833ea358fbb84aca045b157fa4.tar.xz linux-7c536bade37f11833ea358fbb84aca045b157fa4.zip |
dt-bindings: sound: Document jz4740-codec bindings
Add documentation about how to probe the jz4740-codec driver from
devicetree.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/ingenic,jz4740-codec.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ingenic,jz4740-codec.txt b/Documentation/devicetree/bindings/sound/ingenic,jz4740-codec.txt new file mode 100644 index 000000000000..1ffcade87e7b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ingenic,jz4740-codec.txt @@ -0,0 +1,20 @@ +Ingenic JZ4740 codec controller + +Required properties: +- compatible : "ingenic,jz4740-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@10020080 { + compatible = "ingenic,jz4740-codec"; + reg = <0x10020080 0x8>; + + #sound-dai-cells = <0>; + + clocks = <&cgu JZ4740_CLK_AIC>; + clock-names = "aic"; +}; |