ASoC: dt-bindings: add compatible string for NAU8318
authorDavid Lin <CTLIN0@nuvoton.com>
Thu, 24 Nov 2022 05:56:58 +0000 (13:56 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 24 Nov 2022 15:29:36 +0000 (15:29 +0000)
The audio amplifier NAU8318 is almost functionally identical to NAU8315.
Adds compatible string "nuvoton,nau8318" for driver reuse.

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Link: https://lore.kernel.org/r/20221124055658.53828-2-CTLIN0@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/nau8315.txt

index 6eaec46f384c648c7d57480e3a9dd6bc4d4074bf..1cd94517d45e0178e71dca067464646dc66f45fe 100644 (file)
@@ -2,6 +2,7 @@ Nuvoton NAU8315 Mono Class-D Amplifier
 
 Required properties:
 - compatible   : "nuvoton,nau8315"
+                 "nuvoton,nau8318"
 
 Optional properties:
 - enable-gpios : GPIO specifier for the chip's device enable input(EN) pin.
@@ -16,3 +17,8 @@ nau8315 {
        compatible = "nuvoton,nau8315";
        enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
 };
+
+nau8318 {
+       compatible = "nuvoton,nau8318";
+       enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
+};