[alsa-devel] [PATCH 2/2] ASoC: cs4341: Add DT bindings documentation for CS4341 CODEC

Alexander Shiyan shc_work at mail.ru
Thu Sep 8 18:30:28 CEST 2016


This patch adds DT bindings documentation for Cirrus Logic
CS4341 CODEC.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 Documentation/devicetree/bindings/sound/cs4341.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/cs4341.txt

diff --git a/Documentation/devicetree/bindings/sound/cs4341.txt b/Documentation/devicetree/bindings/sound/cs4341.txt
new file mode 100644
index 0000000..78d45be
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cs4341.txt
@@ -0,0 +1,15 @@
+Cirrus Logic CS4341 DT bindings
+
+Required properties:
+ - compatible: "cirrus,cs4341a"
+
+For required properties on SPI, please consult
+Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Example:
+	codec: cs4341 at 0 {
+		#sound-dai-cells = <0>;
+		compatible = "cirrus,cs4341a";
+		reg = <0>;
+		spi-max-frequency = <6000000>;
+	};
-- 
2.7.3



More information about the Alsa-devel mailing list