public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] dt-bindings: sound: Document jz4740-codec bindings
@ 2019-02-05  3:11 Paul Cercueil
  2019-02-05  3:11 ` [PATCH 2/6] dt-bindings: sound: Document jz4725b-codec bindings Paul Cercueil
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Paul Cercueil @ 2019-02-05  3:11 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Mark Rutland,
	Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, devicetree, linux-kernel, Paul Cercueil

Add documentation about how to probe the jz4740-codec driver from
devicetree.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 .../bindings/sound/ingenic,jz4740-codec.txt          | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ingenic,jz4740-codec.txt

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";
+};
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-06 18:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-05  3:11 [PATCH 1/6] dt-bindings: sound: Document jz4740-codec bindings Paul Cercueil
2019-02-05  3:11 ` [PATCH 2/6] dt-bindings: sound: Document jz4725b-codec bindings Paul Cercueil
2019-02-05  3:11 ` [PATCH 3/6] ASoC: codecs: jz4740: Use SPDX license notifier Paul Cercueil
2019-02-06 18:10   ` Mark Brown
2019-02-05  3:11 ` [PATCH 4/6] ASoC: codecs: jz4740: Add support for devicetree Paul Cercueil
2019-02-05  3:11 ` [PATCH 5/6] ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST Paul Cercueil
2019-02-05  3:11 ` [PATCH 6/6] ASoC: codecs: Add jz4725b-codec driver Paul Cercueil
2019-02-06 18:12   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox