diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2018-12-20 10:37:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-03 19:34:03 +0300 |
commit | 0ddb46080a465fad99cff838682744f1f4848a4b (patch) | |
tree | cca0c0fb11e9643b953464da6af7081852580493 /Documentation/devicetree/bindings/sound/cs4341.txt | |
parent | 0f68c396f6048cf87c662aab1ef9c9aa237153a8 (diff) | |
download | linux-0ddb46080a465fad99cff838682744f1f4848a4b.tar.xz |
ASoC: cs4341: Add DT bindings documentation for CS4341 DAC
This patch adds DT bindings documentation for Cirrus Logic
CS4341 DAC.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/cs4341.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/cs4341.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs4341.txt b/Documentation/devicetree/bindings/sound/cs4341.txt new file mode 100644 index 000000000000..12b4aa8ef0db --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cs4341.txt @@ -0,0 +1,22 @@ +Cirrus Logic CS4341 audio DAC + +This device supports both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + - compatible: "cirrus,cs4341a" + - reg : the I2C address of the device for I2C, the chip select + number for SPI. + +For required properties on I2C-bus, please consult +Documentation/devicetree/bindings/i2c/i2c.txt +For required properties on SPI-bus, 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>; + }; |