diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2018-05-17 16:55:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-17 20:09:44 +0300 |
commit | 74f24d8728ef12276d58e3d73283cc1d76db7507 (patch) | |
tree | 02081f2d3d3c0ab7c9407e4523ccd591b61efee1 /Documentation | |
parent | b73e93e183089176beed8a3f80e5f618a52e02fc (diff) | |
download | linux-74f24d8728ef12276d58e3d73283cc1d76db7507.tar.xz |
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')
-rw-r--r-- | Documentation/devicetree/bindings/sound/adi,ssm2305.txt | 14 |
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>; +}; |