summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/adi,ssm2305.txt
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2018-05-17 15:55:18 +0200
committerMark Brown <broonie@kernel.org>2018-05-17 19:09:44 +0200
commit74f24d8728ef12276d58e3d73283cc1d76db7507 (patch)
tree02081f2d3d3c0ab7c9407e4523ccd591b61efee1 /Documentation/devicetree/bindings/sound/adi,ssm2305.txt
parentASoC: qdsp6: q6core: Add q6core driver (diff)
downloadlinux-74f24d8728ef12276d58e3d73283cc1d76db7507.tar.xz
linux-74f24d8728ef12276d58e3d73283cc1d76db7507.zip
ASoC: ssm2305: Add amplifier driver
The ssm2305 is a simple Class-D audio amplifier. A application can turn on/off the device by a gpio. It's also possible to hardwire the shutdown pin. Tested on a i.MX6 based custom board. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/adi,ssm2305.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/adi,ssm2305.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,ssm2305.txt b/Documentation/devicetree/bindings/sound/adi,ssm2305.txt
new file mode 100644
index 000000000000..a9c9d83c8a30
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/adi,ssm2305.txt
@@ -0,0 +1,14 @@
+Analog Devices SSM2305 Speaker Amplifier
+========================================
+
+Required properties:
+ - compatible : "adi,ssm2305"
+ - shutdown-gpios : The gpio connected to the shutdown pin.
+ The gpio signal is ACTIVE_LOW.
+
+Example:
+
+ssm2305: analog-amplifier {
+ compatible = "adi,ssm2305";
+ shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
+};