[PATCH 1/7] ASoC: dt-bindings: nau8810: Add MCLK clock

From: Mehmet Fide

Date: Thu Dec 03 2026 - 07:47:43 EST


From: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>

Add the master clock input. trivial-codec.yaml has no clocks, so move
the nau8810, nau8812 and nau8814 compatibles into a schema of their own.

Signed-off-by: Mehmet Fide <mehmet.fide@xxxxxxxxxxxxxxxxxx>
---
.../bindings/sound/nuvoton,nau8810.yaml | 51 +++++++++++++++++++
.../bindings/sound/trivial-codec.yaml | 3 --
2 files changed, 51 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml

diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml
new file mode 100644
index 000000000000..285dc08ab289
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8810.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nuvoton,nau8810.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NAU8810/NAU8812/NAU8814 audio CODEC
+
+maintainers:
+ - David Lin <CTLIN0@xxxxxxxxxxx>
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ enum:
+ - nuvoton,nau8810
+ - nuvoton,nau8812
+ - nuvoton,nau8814
+
+ reg:
+ maxItems: 1
+
+ '#sound-dai-cells':
+ const: 0
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: mclk
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ codec@1a {
+ #sound-dai-cells = <0>;
+ compatible = "nuvoton,nau8810";
+ reg = <0x1a>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/sound/trivial-codec.yaml b/Documentation/devicetree/bindings/sound/trivial-codec.yaml
index 9a35dfb17349..9fd2802bf391 100644
--- a/Documentation/devicetree/bindings/sound/trivial-codec.yaml
+++ b/Documentation/devicetree/bindings/sound/trivial-codec.yaml
@@ -27,9 +27,6 @@ properties:
- dlg,da9055-codec
# Nuvoton Technology Corporation NAU85L40 Audio CODEC
- nuvoton,nau8540
- - nuvoton,nau8810
- - nuvoton,nau8812
- - nuvoton,nau8814
# NXP TFA9879 class-D audio amplifier
- nxp,tfa9879
- nxp,uda1342
--
2.56.0