summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/ak4458.txt
diff options
context:
space:
mode:
authorCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>2018-02-14 15:21:07 +0200
committerMark Brown <broonie@kernel.org>2018-02-16 11:59:04 +0000
commit17e2304f0ad31d3f9bba4285b7024bf3c3626600 (patch)
tree289f45602d47b8b24d477627cd21c22eded3d8a1 /Documentation/devicetree/bindings/sound/ak4458.txt
parent08660086eff9e9e69246a65ee48aba5c3901bf5e (diff)
ASoC: ak4458: Add bindings for AK4458 DAC
Document the bindings for AK4458 DAC Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/ak4458.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/ak4458.txt23
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..7839be78448d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak4458.txt
@@ -0,0 +1,23 @@
+AK4458 audio DAC
+
+This device supports I2C mode.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak4458"
+- reg : The I2C address of the device for I2C
+
+Optional properties:
+- reset-gpios: A GPIO specifier for the power down & reset pin
+- mute-gpios: A GPIO specifier for the soft mute pin
+
+Example:
+
+&i2c {
+ ak4458: dac@10 {
+ compatible = "asahi-kasei,ak4458";
+ reg = <0x10>;
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>
+ mute-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>
+ };
+};