summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Westfield <kwestfie@codeaurora.org>2015-02-05 12:53:38 -0800
committerMark Brown <broonie@kernel.org>2015-02-07 06:12:10 +0800
commitc028d4165fe56fc51efb53dd4b04aa157d005dc5 (patch)
tree5c971ce7d13cec37a6d4ef113e6cd69e1d9002b4
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-c028d4165fe56fc51efb53dd4b04aa157d005dc5.tar.bz2
ASoC: max98357a: Document MAX98357A bindings
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>
-rw-r--r--Documentation/devicetree/bindings/sound/max98357a.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/max98357a.txt b/Documentation/devicetree/bindings/sound/max98357a.txt
new file mode 100644
index 000000000000..a7a149a236e5
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/max98357a.txt
@@ -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>;
+};