alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: dt-bindings: add compatible string for NAU8318
@ 2022-11-24 12:03 David Lin
  2022-11-24 12:03 ` [PATCH 2/2] ASoC: nau8315: add new acpi id and compatible id David Lin
  2022-11-25 14:26 ` [PATCH 1/2] ASoC: dt-bindings: add compatible string for NAU8318 Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: David Lin @ 2022-11-24 12:03 UTC (permalink / raw)
  To: broonie
  Cc: alsa-devel, ctlin0.linux, WTLI, SJLIN0, KCHSU0, lgirdwood,
	YHCHuang, David Lin

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(+)

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>;
+};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-25 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-24 12:03 [PATCH 1/2] ASoC: dt-bindings: add compatible string for NAU8318 David Lin
2022-11-24 12:03 ` [PATCH 2/2] ASoC: nau8315: add new acpi id and compatible id David Lin
2022-11-25 14:26 ` [PATCH 1/2] ASoC: dt-bindings: add compatible string for NAU8318 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).