Skip to contentSkip to conversation

ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

PATCH Superseded Oder Chiou 2 participants 4 messages Dec 26, 2025 – Jan 2

Subsystems (3)
lore
Share & tools
lore

Oder Chiou

author
#0 lore raw

PATCH v11 3/4 ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Audio codec with I2S, I2C and SPI.

---
 .../bindings/sound/realtek,rt5575.yaml        | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +61 -0
new file mode 100644
index 000000000000..981ebc39b195
@@ -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 <[email protected]>
+
+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 */
+        };
+    };
Signature · 1 line
2.52.0
maintainer
#1 lore raw
Quoted 8 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

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

author
#2 lore raw
Quoted 27 lines

-----Original Message-----
From: Rob Herring <[email protected]>
Sent: Wednesday, December 31, 2025 1:54 AM
To: Oder Chiou <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Flove(HsinFu) <[email protected]>; Shuming [范 書銘] <[email protected]>; Jack Yu <[email protected]>; Derek [方德 義] <[email protected]>
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.

Quoted 6 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

---
 .../bindings/sound/realtek,rt5575.yaml        | 61
Quoted 8 lines

+++++++++++++++++++

Quoted 3 lines
 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

maintainer
#3 lore raw
Quoted 33 lines · Oder Chiou
Quoted 33 lines

-----Original Message-----
From: Rob Herring <[email protected]>
Sent: Wednesday, December 31, 2025 1:54 AM
To: Oder Chiou <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Flove(HsinFu) <[email protected]>; Shuming [范 書銘] <[email protected]>; Jack Yu <[email protected]>; Derek [方德 義] <[email protected]>
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.

Quoted 6 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

---
 .../bindings/sound/realtek,rt5575.yaml        | 61

+++++++++++++++++++

Quoted 3 lines
 1 file changed, 61 insertions(+)
 create mode 100644

Documentation/devicetree/bindings/sound/realtek,rt5575.yaml

Quoted 7 lines
Quoted 3 lines

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