summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/max98357a.txt
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2020-06-05 06:49:31 +0300
committerMark Brown <broonie@kernel.org>2020-06-15 18:44:04 +0300
commit3e3b803f9e76b2ec386c0f3f0618fb7d0bca4ffc (patch)
tree4d7c2d468697ed53f1aae002276e5c136c7a00c3 /Documentation/devicetree/bindings/sound/max98357a.txt
parent3aad07b87ac3fa1c67a75403f7f9c576da8df71d (diff)
downloadlinux-3e3b803f9e76b2ec386c0f3f0618fb7d0bca4ffc.tar.xz
ASoC: dt-bindings: add compatible string for MAX98360A
Maxim MAX98360A audio amplifier is functionally identical to MAX98357A. Adds compatible string "maxim,max98360a" for driver reuse. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20200605034931.107713-3-tzungbi@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/max98357a.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/max98357a.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/sound/max98357a.txt b/Documentation/devicetree/bindings/sound/max98357a.txt
index 4bce14ce806f..75db84d06240 100644
--- a/Documentation/devicetree/bindings/sound/max98357a.txt
+++ b/Documentation/devicetree/bindings/sound/max98357a.txt
@@ -1,9 +1,10 @@
-Maxim MAX98357A audio DAC
+Maxim MAX98357A/MAX98360A audio DAC
-This node models the Maxim MAX98357A DAC.
+This node models the Maxim MAX98357A/MAX98360A DAC.
Required properties:
-- compatible : "maxim,max98357a"
+- compatible : "maxim,max98357a" for MAX98357A.
+ "maxim,max98360a" for MAX98360A.
Optional properties:
- sdmode-gpios : GPIO specifier for the chip's SD_MODE pin.
@@ -20,3 +21,8 @@ max98357a {
compatible = "maxim,max98357a";
sdmode-gpios = <&qcom_pinmux 25 0>;
};
+
+max98360a {
+ compatible = "maxim,max98360a";
+ sdmode-gpios = <&qcom_pinmux 25 0>;
+};