ASoC: dt-bindings: add compatible string for MAX98360A
authorTzung-Bi Shih <tzungbi@google.com>
Fri, 5 Jun 2020 03:49:31 +0000 (11:49 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 15:44:04 +0000 (16:44 +0100)
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>
Documentation/devicetree/bindings/sound/max98357a.txt

index 4bce14c..75db84d 100644 (file)
@@ -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>;
+};