diff mbox series

[2/2] ASoC: dt-bindings: add compatible string for NAU8318

Message ID 20221124055658.53828-2-CTLIN0@nuvoton.com (mailing list archive)
State Accepted
Commit b992f35568cb5768c5944fc3b4f02df337dc1ece
Headers show
Series [1/2] ASoC: nau8315: add new acpi id and compatible id | expand

Commit Message

David Lin Nov. 24, 2022, 5:56 a.m. UTC
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>
---
 Documentation/devicetree/bindings/sound/nau8315.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Mark Brown Nov. 24, 2022, 11:43 a.m. UTC | #1
On Thu, Nov 24, 2022 at 01:56:58PM +0800, David Lin wrote:
> The audio amplifier NAU8318 is almost functionally identical to NAU8315.
> Adds compatible string "nuvoton,nau8318" for driver reuse.

Ah, sorry - the update is here.  Normally binding document changes go
before the correspond to.
David Lin Nov. 24, 2022, 11:56 a.m. UTC | #2
On 2022/11/24 下午 07:43, Mark Brown wrote:
> On Thu, Nov 24, 2022 at 01:56:58PM +0800, David Lin wrote:
>> The audio amplifier NAU8318 is almost functionally identical to NAU8315.
>> Adds compatible string "nuvoton,nau8318" for driver reuse.
> Ah, sorry - the update is here.  Normally binding document changes go
> before the correspond to.

OK. I will follow the order patch 1/2 is binding document and patch 2/2
is new compatible.

I will resend the patches again.
Mark Brown Nov. 24, 2022, 11:59 a.m. UTC | #3
On Thu, Nov 24, 2022 at 07:56:03PM +0800, AS50 CTLin0 wrote:

> OK. I will follow the order patch 1/2 is binding document and patch 2/2
> is new compatible.

> I will resend the patches again.

No need, it's fine - just try to remember for future changes.
David Lin Nov. 24, 2022, 12:07 p.m. UTC | #4
On 2022/11/24 下午 07:59, Mark Brown wrote:
> On Thu, Nov 24, 2022 at 07:56:03PM +0800, AS50 CTLin0 wrote:
>
>> OK. I will follow the order patch 1/2 is binding document and patch 2/2
>> is new compatible.
>> I will resend the patches again.
> No need, it's fine - just try to remember for future changes.

Sorry. I had resend due to I am online for the working.

I will keep in mind about your guide.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/nau8315.txt b/Documentation/devicetree/bindings/sound/nau8315.txt
index 6eaec46f384c..1cd94517d45e 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>;
+};