summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/simple-amplifier.txt
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-06-26 14:11:26 +0200
committerMark Brown <broonie@kernel.org>2018-06-27 12:26:37 +0100
commit0ed03e6dc288c50b2e7d71523b99df1afd81cea1 (patch)
treeb253da7cdbc4a8246c994ec266f38e4acefff4c3 /Documentation/devicetree/bindings/sound/simple-amplifier.txt
parent55d69c0309acea65fb3dd99a05a665b51630362d (diff)
ASoC: simple-amplifier: remame dio2125 documentation
The dio2125 is simple enough that we can make it a generic component. Rename the the dio2125 documentation to simple-amplifier to prepare this change. Suggested-by: Nicolò Veronese <nicveronese@gmail.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/simple-amplifier.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/simple-amplifier.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/simple-amplifier.txt b/Documentation/devicetree/bindings/sound/simple-amplifier.txt
new file mode 100644
index 000000000000..8647edae7af0
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/simple-amplifier.txt
@@ -0,0 +1,12 @@
+Simple Amplifier Audio Driver
+
+Required properties:
+- compatible : "dioo,dio2125" or "simple-audio-amplifier"
+- enable-gpios : the gpio connected to the enable pin of the simple amplifier
+
+Example:
+
+amp: analog-amplifier {
+ compatible = "simple-audio-amplifier";
+ enable-gpios = <&gpio GPIOH_3 0>;
+};