diff options
author | Mihai Serban <mihai.serban@nxp.com> | 2017-06-06 12:12:08 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:30:13 +0800 |
commit | 90a5a6d3ca42a3d97e1abe7ef7acaa89d3bc01d3 (patch) | |
tree | 7a600e9f0ea220497cc2b2f5fa5a91a3879dfcf1 /Documentation/devicetree | |
parent | fa3a76d24254e3ae20a24f512b6183281e0d3052 (diff) |
MLK-15033-1: ASoC: codecs: Add support for AK4458 DAC
The AK4458 is a 32-bit 8ch Premium DAC, its datasheet is available here:
https://www.akm.com/akm/en/file/datasheet/AK4458VN.pdf
Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/sound/ak4458.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt b/Documentation/devicetree/bindings/sound/ak4458.txt new file mode 100644 index 000000000000..b9e6eb3b103d --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ak4458.txt @@ -0,0 +1,23 @@ +AK4458 audio DAC + +This device supports both I2C and SPI modes. + +Required properties: + +- compatible : "asahi-kasei,ak4458" +- reg : The I2C address of the device for I2C, the chip select number for SPI. +- asahi-kasei,pdn-gpios: A GPIO specifier for the GPIO controlling + the power down & reset pin. +- asahi-kasei,mute-gpios: A GPIO specifier for the GPIO controlling + the soft mute pin. + +Example: + +&i2c { + ak4458: ak4458@10 { + compatible = "asahi-kasei,ak4458"; + reg = <0x10>; + asahi-kasei,pdn-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH> + asahi-kasei,mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH> + }; +}; |