From: David Lin Date: Thu, 24 Nov 2022 05:56:58 +0000 (+0800) Subject: ASoC: dt-bindings: add compatible string for NAU8318 X-Git-Tag: v6.2-rc1~126^2^2~55 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b992f35568cb5768c5944fc3b4f02df337dc1ece;p=thirdparty%2Fkernel%2Flinux.git ASoC: dt-bindings: add compatible string for NAU8318 The audio amplifier NAU8318 is almost functionally identical to NAU8315. Adds compatible string "nuvoton,nau8318" for driver reuse. Signed-off-by: David Lin Link: https://lore.kernel.org/r/20221124055658.53828-2-CTLIN0@nuvoton.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/nau8315.txt b/Documentation/devicetree/bindings/sound/nau8315.txt index 6eaec46f384c6..1cd94517d45e0 100644 --- a/Documentation/devicetree/bindings/sound/nau8315.txt +++ b/Documentation/devicetree/bindings/sound/nau8315.txt @@ -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>; +};