* [PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier
[not found] <1519047958-22583-1-git-send-email-narmstrong@baylibre.com>
@ 2018-02-19 13:45 ` Neil Armstrong
2018-02-19 20:47 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2018-02-19 13:45 UTC (permalink / raw)
To: broonie; +Cc: devicetree, alsa-devel, linux-kernel, Neil Armstrong
This patch adds DT bindings documentation for Maxim MAX9759
speaker amplifier.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
.../devicetree/bindings/sound/maxim,max9759.txt | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/maxim,max9759.txt
diff --git a/Documentation/devicetree/bindings/sound/maxim,max9759.txt b/Documentation/devicetree/bindings/sound/maxim,max9759.txt
new file mode 100644
index 0000000..737a996
--- /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>;
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier
2018-02-19 13:45 ` [PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier Neil Armstrong
@ 2018-02-19 20:47 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-02-19 20:47 UTC (permalink / raw)
To: Neil Armstrong; +Cc: devicetree, alsa-devel, broonie, linux-kernel
On Mon, Feb 19, 2018 at 02:45:57PM +0100, Neil Armstrong wrote:
> This patch adds DT bindings documentation for Maxim MAX9759
> speaker amplifier.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> .../devicetree/bindings/sound/maxim,max9759.txt | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/maxim,max9759.txt
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-19 20:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1519047958-22583-1-git-send-email-narmstrong@baylibre.com>
2018-02-19 13:45 ` [PATCH 1/2] ASoC: Add DT bindings documentation for max9759 amplifier Neil Armstrong
2018-02-19 20:47 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).