Devicetree
 help / color / mirror / Atom feed
From: Mehmet Fide <mehmet.fide@gmail.com>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Jaroslav Kysela" <perex@perex.cz>,
	"Takashi Iwai" <tiwai@suse.com>, "David Lin" <CTLIN0@nuvoton.com>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Peter Rosin" <peda@lysator.liu.se>,
	"Martin Povišer" <povik+lin@cutebit.org>,
	linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
	patches@opensource.cirrus.com, asahi@lists.linux.dev,
	linux-kernel@vger.kernel.org, mehmet.fide@screeningeagle.com
Subject: [PATCH 1/7] ASoC: dt-bindings: nau8810: Add MCLK clock
Date: Thu,  3 Dec 2026 13:47:27 +0100	[thread overview]
Message-ID: <20261203124733.2101884-2-mehmet.fide@gmail.com> (raw)
In-Reply-To: <20261203124733.2101884-1-mehmet.fide@gmail.com>

From: Mehmet Fide <mehmet.fide@screeningeagle.com>

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@screeningeagle.com>
---
 .../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@nuvoton.com>
+
+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


  reply	other threads:[~2026-12-03 12:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 12:47 [PATCH 0/7] ASoC: nau8810: add MCLK support Mehmet Fide
2026-12-03 12:47 ` Mehmet Fide [this message]
2026-12-03 12:57   ` [PATCH 1/7] ASoC: dt-bindings: nau8810: Add MCLK clock sashiko-bot
2026-12-03 12:47 ` [PATCH 2/7] ASoC: nau8810: move nau8810_set_sysclk() Mehmet Fide
2026-12-03 12:47 ` [PATCH 3/7] ASoC: nau8810: set NAU8810_REFIMP_80K only once Mehmet Fide
2026-12-03 12:47 ` [PATCH 4/7] ASoC: nau8810: Lower debug print priority Mehmet Fide
2026-12-03 12:47 ` [PATCH 5/7] ASoC: nau8810: Do not configure the PLL if freq_out is zero Mehmet Fide
2026-12-03 12:47 ` [PATCH 6/7] ASoC: nau8810: Don't reconfigure PLL to the same values Mehmet Fide
2026-12-03 12:47 ` [PATCH 7/7] ASoC: nau8810: add MCLK support Mehmet Fide
2026-12-03 13:21   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203124733.2101884-2-mehmet.fide@gmail.com \
    --to=mehmet.fide@gmail.com \
    --cc=CTLIN0@nuvoton.com \
    --cc=asahi@lists.linux.dev \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mehmet.fide@screeningeagle.com \
    --cc=nuno.sa@analog.com \
    --cc=patches@opensource.cirrus.com \
    --cc=peda@lysator.liu.se \
    --cc=perex@perex.cz \
    --cc=povik+lin@cutebit.org \
    --cc=robh@kernel.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox