ASoC: max98357a: Document MAX98357A bindings
authorKenneth Westfield <kwestfie@codeaurora.org>
Thu, 5 Feb 2015 20:53:38 +0000 (12:53 -0800)
committerMark Brown <broonie@kernel.org>
Fri, 6 Feb 2015 22:12:10 +0000 (06:12 +0800)
Add documentation to the sound directory of the
device-tree bindings for the Maxim MAX98357A audio
DAC.

Signed-off-by: Kenneth Westfield <kwestfie@codeaurora.org>
Acked-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/max98357a.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/max98357a.txt b/Documentation/devicetree/bindings/sound/max98357a.txt
new file mode 100644 (file)
index 0000000..a7a149a
--- /dev/null
@@ -0,0 +1,14 @@
+Maxim MAX98357A audio DAC
+
+This node models the Maxim MAX98357A DAC.
+
+Required properties:
+- compatible   : "maxim,max98357a"
+- sdmode-gpios : GPIO specifier for the GPIO -> DAC SDMODE pin
+
+Example:
+
+max98357a {
+       compatible = "maxim,max98357a";
+       sdmode-gpios = <&qcom_pinmux 25 0>;
+};