[alsa-devel] [PATCH 2/2] ASoC: cs4341: Add DT bindings documentation for CS4341 CODEC
This patch adds DT bindings documentation for Cirrus Logic CS4341 CODEC.
Signed-off-by: Alexander Shiyan shc_work@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@0 { + #sound-dai-cells = <0>; + compatible = "cirrus,cs4341a"; + reg = <0>; + spi-max-frequency = <6000000>; + };
On Thu, Sep 08, 2016 at 07:30:28PM +0300, Alexander Shiyan wrote:
This patch adds DT bindings documentation for Cirrus Logic CS4341 CODEC.
Signed-off-by: Alexander Shiyan shc_work@mail.ru
Documentation/devicetree/bindings/sound/cs4341.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cs4341.txt
Acked-by: Rob Herring robh@kernel.org
participants (2)
-
Alexander Shiyan
-
Rob Herring