devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
@ 2025-12-26  8:39 Oder Chiou
  2025-12-30 17:53 ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Oder Chiou @ 2025-12-26  8:39 UTC (permalink / raw)
  To: cezary.rojewski, broonie, lgirdwood, robh, krzk+dt, conor+dt
  Cc: perex, linux-sound, devicetree, alsa-devel, flove, shumingf,
	jack.yu, derek.fang, Oder Chiou

Audio codec with I2S, I2C and SPI.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/sound/realtek,rt5575.yaml        | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml

diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
new file mode 100644
index 000000000000..981ebc39b195
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/realtek,rt5575.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ALC5575 audio CODEC
+
+maintainers:
+  - Oder Chiou <oder_chiou@realtek.com>
+
+description:
+  The device supports both I2C and SPI. I2C is mandatory, while SPI is
+  optional depending on the hardware configuration. SPI is used for
+  firmware loading if present.
+
+allOf:
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    const: realtek,rt5575
+
+  reg:
+    maxItems: 1
+
+  spi-parent:
+    description:
+      Optional phandle reference to the SPI controller used for firmware
+      loading. The argument specifies the chip select.
+    $ref: /schemas/types.yaml#/definitions/phandle-array
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  # I2C-only node
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };
+
+  # I2C + optional SPI node
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+            spi-parent = <&spi0 0>; /* chip-select 0 */
+        };
+    };
-- 
2.52.0


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

* Re: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
  2025-12-26  8:39 [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575 Oder Chiou
@ 2025-12-30 17:53 ` Rob Herring
  2025-12-31  2:26   ` Oder Chiou
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2025-12-30 17:53 UTC (permalink / raw)
  To: Oder Chiou
  Cc: cezary.rojewski, broonie, lgirdwood, krzk+dt, conor+dt, perex,
	linux-sound, devicetree, alsa-devel, flove, shumingf, jack.yu,
	derek.fang

On Fri, Dec 26, 2025 at 04:39:14PM +0800, Oder Chiou wrote:
> Audio codec with I2S, I2C and SPI.
> 
> Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  .../bindings/sound/realtek,rt5575.yaml        | 61 +++++++++++++++++++
>  1 file changed, 61 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml

Where's the rest of the series? You are missing an In-Reply-To header 
and that breaks the tools (b4).

Rob

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

* RE: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
  2025-12-30 17:53 ` Rob Herring
@ 2025-12-31  2:26   ` Oder Chiou
  2026-01-02 22:28     ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Oder Chiou @ 2025-12-31  2:26 UTC (permalink / raw)
  To: 'Rob Herring'
  Cc: cezary.rojewski@intel.com, broonie@kernel.org,
	lgirdwood@gmail.com, krzk+dt@kernel.org, conor+dt@kernel.org,
	perex@perex.cz, linux-sound@vger.kernel.org,
	devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	Flove(HsinFu), Shuming [范書銘], Jack Yu,
	Derek [方德義]

> -----Original Message-----
> From: Rob Herring <robh@kernel.org>
> Sent: Wednesday, December 31, 2025 1:54 AM
> To: Oder Chiou <oder_chiou@realtek.com>
> Cc: cezary.rojewski@intel.com; broonie@kernel.org; lgirdwood@gmail.com;
> krzk+dt@kernel.org; conor+dt@kernel.org; perex@perex.cz;
> linux-sound@vger.kernel.org; devicetree@vger.kernel.org;
> alsa-devel@alsa-project.org; Flove(HsinFu) <flove@realtek.com>; Shuming [范
> 書銘] <shumingf@realtek.com>; Jack Yu <jack.yu@realtek.com>; Derek [方德
> 義] <derek.fang@realtek.com>
> Subject: Re: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for
> ALC5575
> 
> 
> External mail : This email originated from outside the organization. Do not
> reply, click links, or open attachments unless you recognize the sender and
> know the content is safe.
> 
> 
> 
> On Fri, Dec 26, 2025 at 04:39:14PM +0800, Oder Chiou wrote:
> > Audio codec with I2S, I2C and SPI.
> >
> > Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
> > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> > ---
> >  .../bindings/sound/realtek,rt5575.yaml        | 61
> +++++++++++++++++++
> >  1 file changed, 61 insertions(+)
> >  create mode 100644
> > Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
> 
> Where's the rest of the series? You are missing an In-Reply-To header and that
> breaks the tools (b4).
> 
Hi Rob,

Sorry about that — this was a send-email threading issue.
I'll resend the full v11 series with proper In-Reply-To headers.

Thanks,
Oder

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

* [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
  2025-12-31  2:35 [PATCH v11 0/4] ASoC: rt5575: Add the codec driver for the ALC5575 Oder Chiou
@ 2025-12-31  2:37 ` Oder Chiou
  0 siblings, 0 replies; 5+ messages in thread
From: Oder Chiou @ 2025-12-31  2:37 UTC (permalink / raw)
  To: cezary.rojewski, broonie, lgirdwood, robh, krzk+dt, conor+dt
  Cc: perex, linux-sound, devicetree, alsa-devel, flove, shumingf,
	jack.yu, derek.fang, Oder Chiou

Audio codec with I2S, I2C and SPI.

Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/sound/realtek,rt5575.yaml        | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml

diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
new file mode 100644
index 000000000000..981ebc39b195
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/realtek,rt5575.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ALC5575 audio CODEC
+
+maintainers:
+  - Oder Chiou <oder_chiou@realtek.com>
+
+description:
+  The device supports both I2C and SPI. I2C is mandatory, while SPI is
+  optional depending on the hardware configuration. SPI is used for
+  firmware loading if present.
+
+allOf:
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    const: realtek,rt5575
+
+  reg:
+    maxItems: 1
+
+  spi-parent:
+    description:
+      Optional phandle reference to the SPI controller used for firmware
+      loading. The argument specifies the chip select.
+    $ref: /schemas/types.yaml#/definitions/phandle-array
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  # I2C-only node
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };
+
+  # I2C + optional SPI node
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+            spi-parent = <&spi0 0>; /* chip-select 0 */
+        };
+    };
-- 
2.52.0


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

* Re: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
  2025-12-31  2:26   ` Oder Chiou
@ 2026-01-02 22:28     ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2026-01-02 22:28 UTC (permalink / raw)
  To: Oder Chiou
  Cc: cezary.rojewski@intel.com, broonie@kernel.org,
	lgirdwood@gmail.com, krzk+dt@kernel.org, conor+dt@kernel.org,
	perex@perex.cz, linux-sound@vger.kernel.org,
	devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	Flove(HsinFu), Shuming [范書銘], Jack Yu,
	Derek [方德義]

On Tue, Dec 30, 2025 at 8:27 PM Oder Chiou <oder_chiou@realtek.com> wrote:
>
> > -----Original Message-----
> > From: Rob Herring <robh@kernel.org>
> > Sent: Wednesday, December 31, 2025 1:54 AM
> > To: Oder Chiou <oder_chiou@realtek.com>
> > Cc: cezary.rojewski@intel.com; broonie@kernel.org; lgirdwood@gmail.com;
> > krzk+dt@kernel.org; conor+dt@kernel.org; perex@perex.cz;
> > linux-sound@vger.kernel.org; devicetree@vger.kernel.org;
> > alsa-devel@alsa-project.org; Flove(HsinFu) <flove@realtek.com>; Shuming [范
> > 書銘] <shumingf@realtek.com>; Jack Yu <jack.yu@realtek.com>; Derek [方德
> > 義] <derek.fang@realtek.com>
> > Subject: Re: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for
> > ALC5575
> >
> >
> > External mail : This email originated from outside the organization. Do not
> > reply, click links, or open attachments unless you recognize the sender and
> > know the content is safe.
> >
> >
> >
> > On Fri, Dec 26, 2025 at 04:39:14PM +0800, Oder Chiou wrote:
> > > Audio codec with I2S, I2C and SPI.
> > >
> > > Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
> > > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> > > ---
> > >  .../bindings/sound/realtek,rt5575.yaml        | 61
> > +++++++++++++++++++
> > >  1 file changed, 61 insertions(+)
> > >  create mode 100644
> > > Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
> >
> > Where's the rest of the series? You are missing an In-Reply-To header and that
> > breaks the tools (b4).
> >
> Hi Rob,
>
> Sorry about that — this was a send-email threading issue.
> I'll resend the full v11 series with proper In-Reply-To headers.

v12 please so the tools aren't confused by the 3 versions of v11.

Rob

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

end of thread, other threads:[~2026-01-02 22:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-26  8:39 [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575 Oder Chiou
2025-12-30 17:53 ` Rob Herring
2025-12-31  2:26   ` Oder Chiou
2026-01-02 22:28     ` Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2025-12-31  2:35 [PATCH v11 0/4] ASoC: rt5575: Add the codec driver for the ALC5575 Oder Chiou
2025-12-31  2:37 ` [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575 Oder Chiou

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).