diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-02-19 16:45:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-20 15:05:46 +0300 |
commit | 01182d6529ae499bb73129f4766b45c2ae8e700b (patch) | |
tree | 3fd53ce9529994f1549bb05f54f0e37a11d14550 /Documentation/devicetree/bindings/sound/maxim,max9759.txt | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-01182d6529ae499bb73129f4766b45c2ae8e700b.tar.xz |
ASoC: Add DT bindings documentation for max9759 amplifier
This patch adds DT bindings documentation for Maxim MAX9759
speaker amplifier.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/maxim,max9759.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/maxim,max9759.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/maxim,max9759.txt b/Documentation/devicetree/bindings/sound/maxim,max9759.txt new file mode 100644 index 000000000000..737a996374d3 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/maxim,max9759.txt @@ -0,0 +1,18 @@ +Maxim MAX9759 Speaker Amplifier +=============================== + +Required properties: +- compatible : "maxim,max9759" +- shutdown-gpios : the gpio connected to the shutdown pin +- mute-gpios : the gpio connected to the mute pin +- gain-gpios : the 2 gpios connected to the g1 and g2 pins + +Example: + +max9759: analog-amplifier { + compatible = "maxim,max9759"; + shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; + mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; + gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>, + <&gpio3 25 GPIO_ACTIVE_LOW>; +}; |