ASoC: simple-amplifier: remame dio2125 documentation
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 26 Jun 2018 12:11:26 +0000 (14:11 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jun 2018 11:26:37 +0000 (12:26 +0100)
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>
Documentation/devicetree/bindings/sound/dioo,dio2125.txt [deleted file]
Documentation/devicetree/bindings/sound/simple-amplifier.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/dioo,dio2125.txt b/Documentation/devicetree/bindings/sound/dioo,dio2125.txt
deleted file mode 100644 (file)
index 63dbfe0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-DIO2125 Audio Driver
-
-Required properties:
-- compatible : "dioo,dio2125"
-- enable-gpios : the gpio connected to the enable pin of the dio2125
-
-Example:
-
-amp: analog-amplifier {
-       compatible = "dioo,dio2125";
-       enable-gpios = <&gpio GPIOH_3 0>;
-};
diff --git a/Documentation/devicetree/bindings/sound/simple-amplifier.txt b/Documentation/devicetree/bindings/sound/simple-amplifier.txt
new file mode 100644 (file)
index 0000000..8647eda
--- /dev/null
@@ -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>;
+};