Sfoglia il codice sorgente

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>
Kenneth Westfield 10 anni fa
parent
commit
c028d4165f
1 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 14 0
      Documentation/devicetree/bindings/sound/max98357a.txt

+ 14 - 0
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>;
+};