[PATCH v3 2/2] ASoC: ak4458: Add bindings for AK4458 DAC

2018-02-14 Thread Cosmin-Gabriel Samoila
Document the bindings for AK4458 DAC

Signed-off-by: Cosmin-Gabriel Samoila 
---
 Documentation/devicetree/bindings/sound/ak4458.txt | 23 ++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ak4458.txt

diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt 
b/Documentation/devicetree/bindings/sound/ak4458.txt
new file mode 100644
index 000..7839be7
--- /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:
+
+ {
+   ak4458: dac@10 {
+   compatible = "asahi-kasei,ak4458";
+   reg = <0x10>;
+   reset-gpios = < 10 GPIO_ACTIVE_LOW>
+   mute-gpios = < 11 GPIO_ACTIVE_HIGH>
+   };
+};
-- 
2.7.4



[PATCH v3 2/2] ASoC: ak4458: Add bindings for AK4458 DAC

2018-02-14 Thread Cosmin-Gabriel Samoila
Document the bindings for AK4458 DAC

Signed-off-by: Cosmin-Gabriel Samoila 
---
 Documentation/devicetree/bindings/sound/ak4458.txt | 23 ++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ak4458.txt

diff --git a/Documentation/devicetree/bindings/sound/ak4458.txt 
b/Documentation/devicetree/bindings/sound/ak4458.txt
new file mode 100644
index 000..7839be7
--- /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:
+
+ {
+   ak4458: dac@10 {
+   compatible = "asahi-kasei,ak4458";
+   reg = <0x10>;
+   reset-gpios = < 10 GPIO_ACTIVE_LOW>
+   mute-gpios = < 11 GPIO_ACTIVE_HIGH>
+   };
+};
-- 
2.7.4