All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/6] dt-bindings: sound: Document jz4740-codec bindings
@ 2019-02-07 13:31 Paul Cercueil
  2019-02-07 13:31 ` [PATCH v2 2/6] dt-bindings: sound: Document jz4725b-codec bindings Paul Cercueil
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Paul Cercueil @ 2019-02-07 13:31 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>
---

Changes:

v2: No change

 .../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] 16+ messages in thread

end of thread, other threads:[~2019-02-07 15:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 13:31 [PATCH v2 1/6] dt-bindings: sound: Document jz4740-codec bindings Paul Cercueil
2019-02-07 13:31 ` [PATCH v2 2/6] dt-bindings: sound: Document jz4725b-codec bindings Paul Cercueil
2019-02-07 13:31 ` [PATCH v2 3/6] ASoC: codecs: jz4740: Use SPDX license notifier Paul Cercueil
2019-02-07 15:22   ` Applied "ASoC: codecs: jz4740: Use SPDX license notifier" to the asoc tree Mark Brown
2019-02-07 15:22     ` Mark Brown
2019-02-07 13:31 ` [PATCH v2 4/6] ASoC: codecs: jz4740: Add support for devicetree Paul Cercueil
2019-02-07 13:31 ` [PATCH v2 5/6] ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST Paul Cercueil
2019-02-07 15:22   ` Applied "ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST" to the asoc tree Mark Brown
2019-02-07 15:22     ` Mark Brown
2019-02-07 13:31 ` [PATCH v2 6/6] ASoC: codecs: jz4725b: Use C++ style comments in header Paul Cercueil
2019-02-07 15:22   ` Applied "ASoC: codecs: jz4725b: Use C++ style comments in header" to the asoc tree Mark Brown
2019-02-07 15:22     ` Mark Brown
2019-02-07 14:00 ` [PATCH v2 1/6] dt-bindings: sound: Document jz4740-codec bindings Mark Brown
2019-02-07 14:17   ` Paul Cercueil
2019-02-07 15:22     ` Mark Brown
2019-02-07 15:22       ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.