Skip to contentSkip to conversation

ASoC: rt5575: Add the codec driver for the ALC5575

PATCH Superseded Oder Chiou 3 participants 8 messages Dec 11, 2025 – Dec 14, 2025

Subsystems (4)

v9 of 11 Superseded Latest is v11 →

lore
Share & tools
lore

Oder Chiou

author maintainer
#0 lore raw

v9 cover ASoC: rt5575: Add the codec driver for the ALC5575

Hi all,

This patch series adds support for the Realtek ALC5575 audio codec.

Changes in v9:
- Patch 1/2:
- modify the comment
- change the compatible name to "realtek,rt5575-use-spi"
- Patch 2/2:
- remove the standalone rt5575_spi_driver module and integrate its functionality into the I2C driver
- move the SPI firmware-loading function to rt5575-spi.c
- use the match data to distinguish between w/wo flash
- minor fixes

Changes in v8:
- Patch 1/2:
- remove the variable rt5575_spi_ready
- use the multiple compatible names to distinguish between w/wo flash
- Patch 2/2:
- add compatible enum "realtek,rt5575-with-spi"
- Link to v8: https://lore.kernel.org/all/[email protected]/

Changes in v7:
- Patch 1/2:
- add a caption for the tristates
- remove the redundant enum of the SPI command
- add the error log in the request firmware failure
- change the function name rt5575_spi_fw_loaded to rt5575_fw_load_by_spi
- minor fixes
- Patch 2/2:
- modify commit message
- Link to v7: https://lore.kernel.org/all/[email protected]/

Changes in v6:
- Patch 1/2:
- modify commit message
- add select SND_SOC_RT5575 to config SND_SOC_RT5575_SPI in the Kconfig
- revise the boiler plate in the head of the file
- sort the include files
- use a structure to transfer the spi data
- use the poll() related function instead the for-loop
- revise the UUID to the private ID
- minor fixes
- Patch 2/2:
- modify description
- Link to v6: https://lore.kernel.org/all/[email protected]/

Changes in v2 to v5:
- Patch 1/2:
- move the firmware to the subdirectory
- remove the empty functions
- remove the cache_type in the regmap_config
- add the error log in the run firmware failure
- Patch 2/2:
- nothing
- Link to v5: https://lore.kernel.org/all/[email protected]/

Oder Chiou (2):
ASoC: dt-bindings: realtek,rt5575: add support for ALC5575
ASoC: rt5575: Add the codec driver for the ALC5575

 .../bindings/sound/realtek,rt5575.yaml        |  44 +++
 sound/soc/codecs/Kconfig                      |  10 +
 sound/soc/codecs/Makefile                     |   3 +
 sound/soc/codecs/rt5575-spi.c                 | 102 +++++
 sound/soc/codecs/rt5575-spi.h                 |  26 ++
 sound/soc/codecs/rt5575.c                     | 363 ++++++++++++++++++
 sound/soc/codecs/rt5575.h                     |  59 +++
 7 files changed, 607 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
 create mode 100644 sound/soc/codecs/rt5575-spi.c
 create mode 100644 sound/soc/codecs/rt5575-spi.h
 create mode 100644 sound/soc/codecs/rt5575.c
 create mode 100644 sound/soc/codecs/rt5575.h
Signature · 1 line
2.52.0
author maintainer
#1 lore raw

PATCH v9 1/2 ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Audio codec with I2S, I2C and SPI.

---
 .../bindings/sound/realtek,rt5575.yaml        | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +44 -0
new file mode 100644
index 000000000000..60f9af399dd2
@@ -0,0 +1,44 @@
+# 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.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    enum:
+      - realtek,rt5575
+      - realtek,rt5575-use-spi
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };
Signature · 1 line
2.52.0
maintainer
#2 lore raw

Re: [PATCH v9 1/2] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Quoted 48 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

---
 .../bindings/sound/realtek,rt5575.yaml        | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +34 -0
new file mode 100644
index 000000000000..60f9af399dd2
@@ -0,0 +1,44 @@
+# 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.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    enum:
+      - realtek,rt5575
+      - realtek,rt5575-use-spi
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+

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

Quoted 10 lines
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +10 -0
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };

It is completely unclear what you are doing in the SPI case. I deciphered it studying the driver. I shouldn't have to do that, your binding should make that clear.

So your DT must look like this:

i2c {
	codec@57 {
		compatible = "realtek,rt5575-use-spi";
		reg = <0x57>;
	};
};
spi {
	codec@1 {
		compatible = "realtek,rt5575";
		reg = <0x1>;
	};
};

First, there's no need for "-use-spi" because you can just check if there is a rt5575 SPI device and use it if there is. Why would you have the SPI device and not use it?

But really it is not ideal having 2 device nodes for a single device. It would be much simpler to just have something like this in the i2c node:

spi-parent = <&spi0 1>;

Where the cell is the chip-select #.

We have an 'i2c-parent' already for similar reasons when there are 2 bus connections.

Rob

author maintainer
#3 lore raw

RE: [PATCH v9 1/2] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Quoted 103 lines

-----Original Message-----
From: Rob Herring <[email protected]>
Sent: Thursday, December 11, 2025 11:39 PM
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 v9 1/2] 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 5 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

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

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

Quoted 2 lines
 1 file changed, 44 insertions(+)
 create mode 100644

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

Review

Quoted 2 lines
(quoted diff) +0 -0

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

Quoted 39 lines

new file mode 100644
index 000000000000..60f9af399dd2

Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +34 -0
@@ -0,0 +1,44 @@
+# 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.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    enum:
+      - realtek,rt5575
+      - realtek,rt5575-use-spi
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+

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

Quoted 10 lines
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +10 -0
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };

It is completely unclear what you are doing in the SPI case. I deciphered it studying the driver. I shouldn't have to do that, your binding should make that clear.

So your DT must look like this:

i2c {
        codec@57 {
                compatible = "realtek,rt5575-use-spi";
                reg = <0x57>;
        };
};
spi {
        codec@1 {
                compatible = "realtek,rt5575";
                reg = <0x1>;
        };
};
Quoted 3 lines

First, there's no need for "-use-spi" because you can just check if there is a rt5575 SPI device and use it if there is. Why would you have the SPI device and not use it?

The compatible realtek,rt5575-use-spi will be removed, and if there is no SPI device in the DTS, the warning message will be shown as "The hardware configuration should be with built-in flash".

Quoted 9 lines

But really it is not ideal having 2 device nodes for a single device. It would be much simpler to just have something like this in the i2c node:

spi-parent = <&spi0 1>;

Where the cell is the chip-select #.

We have an 'i2c-parent' already for similar reasons when there are 2 bus connections.

In the current kernel, I cannot find any function to obtain a struct spi_controller when no SPI device is defined in the DTS. This was possible in older kernels using the legacy spi_busnum_to_master(), but that function is no longer available in upstream.

Thanks,
Oder

maintainer
#4 lore raw

Re: [PATCH v9 1/2] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575

Quoted 119 lines · Oder Chiou
Quoted 104 lines

-----Original Message-----
From: Rob Herring <[email protected]>
Sent: Thursday, December 11, 2025 11:39 PM
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 v9 1/2] 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 5 lines · Oder Chiou

Audio codec with I2S, I2C and SPI.

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

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

Quoted 2 lines
 1 file changed, 44 insertions(+)
 create mode 100644

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

Review

Quoted 2 lines
(quoted diff) +0 -0

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

Quoted 39 lines

new file mode 100644
index 000000000000..60f9af399dd2

Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +34 -0
@@ -0,0 +1,44 @@
+# 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.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+  - $ref: dai-common.yaml#
+
+properties:
+  compatible:
+    enum:
+      - realtek,rt5575
+      - realtek,rt5575-use-spi
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+

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

Quoted 10 lines
Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file +10 -0
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        codec@57 {
+            compatible = "realtek,rt5575";
+            reg = <0x57>;
+        };
+    };

It is completely unclear what you are doing in the SPI case. I deciphered it studying the driver. I shouldn't have to do that, your binding should make that clear.

So your DT must look like this:

i2c {
        codec@57 {
                compatible = "realtek,rt5575-use-spi";
                reg = <0x57>;
        };
};
spi {
        codec@1 {
                compatible = "realtek,rt5575";
                reg = <0x1>;
        };
};
Quoted 3 lines

First, there's no need for "-use-spi" because you can just check if there is a rt5575 SPI device and use it if there is. Why would you have the SPI device and not use it?

The compatible realtek,rt5575-use-spi will be removed, and if there is no SPI device in the DTS, the warning message will be shown as "The hardware configuration should be with built-in flash".

Quoted 7 lines

But really it is not ideal having 2 device nodes for a single device. It would be much simpler to just have something like this in the i2c node:

spi-parent = <&spi0 1>;

Where the cell is the chip-select #.

Quoted 7 lines
Quoted 2 lines

We have an 'i2c-parent' already for similar reasons when there are 2 bus connections.

In the current kernel, I cannot find any function to obtain a struct spi_controller when no SPI device is defined in the DTS. This was possible in older kernels using the legacy spi_busnum_to_master(), but that function is no longer available in upstream.

Yeah, you may have to add something given 'spi-parent' doesn't exist yet. I don't think spi_busnum_to_master() would be quite right either. In any case, what the kernel supports or doesn't support doesn't matter from a binding perspective.

Rob

author maintainer
#5 lore raw

PATCH v9 2/2 ASoC: rt5575: Add the codec driver for the ALC5575

In reply to Oder Chiou

The ALC5575 integrates an audio DSP that typically loads its firmware from an external flash via its own SPI host interface. In certain hardware configurations, the firmware can alternatively be loaded through the SPI client interface. The driver provides basic mute and volume control functions. When the SPI client interface is enabled, firmware loading is handled by the SPI driver.

---
 sound/soc/codecs/Kconfig      |  10 +
 sound/soc/codecs/Makefile     |   3 +
 sound/soc/codecs/rt5575-spi.c | 102 ++++++++++
 sound/soc/codecs/rt5575-spi.h |  26 +++
 sound/soc/codecs/rt5575.c     | 363 ++++++++++++++++++++++++++++++++++
 sound/soc/codecs/rt5575.h     |  59 ++++++
 6 files changed, 563 insertions(+)
 create mode 100644 sound/soc/codecs/rt5575-spi.c
 create mode 100644 sound/soc/codecs/rt5575-spi.h
 create mode 100644 sound/soc/codecs/rt5575.c
 create mode 100644 sound/soc/codecs/rt5575.h
sound/soc/codecs/Kconfig +10 -0
index 061791e61907..4286e7c480d8 100644
@@ -212,6 +212,7 @@ config SND_SOC_ALL_CODECS
 	imply SND_SOC_RT1305
 	imply SND_SOC_RT1308
 	imply SND_SOC_RT5514
+	imply SND_SOC_RT5575
 	imply SND_SOC_RT5616
 	imply SND_SOC_RT5631
 	imply SND_SOC_RT5640
@@ -1783,6 +1784,15 @@ config SND_SOC_RT5514_SPI_BUILTIN
 	bool # force RT5514_SPI to be built-in to avoid link errors
 	default SND_SOC_RT5514=y && SND_SOC_RT5514_SPI=m
 
+config SND_SOC_RT5575
+	tristate "Realtek ALC5575 Codec - I2C"
+	depends on I2C
+
+config SND_SOC_RT5575_SPI
+	tristate "Realtek ALC5575 Codec - SPI"
+	depends on SPI_MASTER
+	select SND_SOC_RT5575
+
 config SND_SOC_RT5616
 	tristate "Realtek RT5616 CODEC"
 	depends on I2C
sound/soc/codecs/Makefile +3 -0
index d687d4f74363..a6406bc907a9 100644
@@ -253,6 +253,8 @@ snd-soc-rt286-y := rt286.o
 snd-soc-rt298-y := rt298.o
 snd-soc-rt5514-y := rt5514.o
 snd-soc-rt5514-spi-y := rt5514-spi.o
+snd-soc-rt5575-y := rt5575.o
+snd-soc-rt5575-$(CONFIG_SND_SOC_RT5575_SPI) += rt5575-spi.o
 snd-soc-rt5616-y := rt5616.o
 snd-soc-rt5631-y := rt5631.o
 snd-soc-rt5640-y := rt5640.o
@@ -686,6 +688,7 @@ obj-$(CONFIG_SND_SOC_RT298)	+= snd-soc-rt298.o
 obj-$(CONFIG_SND_SOC_RT5514)	+= snd-soc-rt5514.o
 obj-$(CONFIG_SND_SOC_RT5514_SPI)	+= snd-soc-rt5514-spi.o
 obj-$(CONFIG_SND_SOC_RT5514_SPI_BUILTIN)	+= snd-soc-rt5514-spi.o
+obj-$(CONFIG_SND_SOC_RT5575)	+= snd-soc-rt5575.o
 obj-$(CONFIG_SND_SOC_RT5616)	+= snd-soc-rt5616.o
 obj-$(CONFIG_SND_SOC_RT5631)	+= snd-soc-rt5631.o
 obj-$(CONFIG_SND_SOC_RT5640)	+= snd-soc-rt5640.o
sound/soc/codecs/rt5575-spi.c new file +102 -0

102 lines not on this page · raw message

sound/soc/codecs/rt5575-spi.h new file +26 -0
new file mode 100644
index 000000000000..08f793044865
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * rt5575-spi.h  --  ALC5575 SPI driver
+ *
+ * Copyright(c) 2025 Realtek Semiconductor Corp.
+ *
+ */
+
+#ifndef __RT5575_SPI_H__
+#define __RT5575_SPI_H__
+
+#if IS_ENABLED(CONFIG_SND_SOC_RT5575_SPI)
+struct spi_device *rt5575_spi_find_device(void);
+int rt5575_spi_fw_load(struct spi_device *spi);
+#else
+static inline struct spi_device *rt5575_spi_find_device(void)
+{
+	return NULL;
+}
+static inline int rt5575_spi_fw_load(struct spi_device *spi)
+{
+	return -EINVAL;
+}
+#endif
+
+#endif /* __RT5575_SPI_H__ */
sound/soc/codecs/rt5575.c new file +363 -0

363 lines not on this page · raw message

sound/soc/codecs/rt5575.h new file +59 -0

59 lines not on this page · raw message

Signature · 1 line
2.52.0
#6 lore raw
kernel test robot noticed the following build warnings:

Hi Oder,

kernel test robot noticed the following build warnings:

[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on linus/master v6.18 next-20251211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Oder-Chiou/ASoC-dt-bindings-realtek-rt5575-add-support-for-ALC5575/20251211-190355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20251211110130.2925541-3-oder_chiou%40realtek.com
patch subject: [PATCH v9 2/2] ASoC: rt5575: Add the codec driver for the ALC5575
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20251212/[email protected]/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251212/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/rt5575.c:256:48: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
     256 |                 dev_err(dev, "Get SPI device failure: %d\n", ret);
         |                                                              ^~~
   include/linux/dev_printk.h:154:65: note: expanded from macro 'dev_err'
     154 |         dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
         |                                                                        ^~~~~~~~~~~
   include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk_index_wrap'
     110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
         |                                     ^~~~~~~~~~~
   sound/soc/codecs/rt5575.c:252:9: note: initialize the variable 'ret' to silence this warning
     252 |         int ret;
         |                ^
         |                 = 0

1 warning generated.

vim +/ret +256 sound/soc/codecs/rt5575.c

246
247 static int rt5575_fw_load_by_spi(struct rt5575_priv *rt5575)
248 {
249 struct i2c_client *i2c = rt5575->i2c;
250 struct spi_device *spi;
251 struct device *dev = &i2c->dev;
252 int ret;
253
254 spi = rt5575_spi_find_device();
255 if (!spi) {

 > 256			dev_err(dev, "Get SPI device failure: %d\n", ret);

257 return -ENODEV;
258 }
259
260 regmap_write(rt5575->dsp_regmap, 0xfafafafa, 0x00000004);
261 regmap_write(rt5575->dsp_regmap, 0x18008064, 0x00000000);
262 regmap_write(rt5575->dsp_regmap, 0x18008068, 0x0002ffff);
263
264 ret = rt5575_spi_fw_load(spi);
265 if (ret) {
266 dev_err(dev, "Load firmware failure: %d\n", ret);
267 return -ENODEV;
268 }
269
270 regmap_write(rt5575->dsp_regmap, 0x18000000, 0x00000000);
271 regmap_update_bits(rt5575->regmap, RT5575_SW_INT, 1, 1);
272
273 regmap_read_poll_timeout(rt5575->regmap, RT5575_SW_INT, ret, !ret, 100000, 10000000);
274 if (ret) {
275 dev_err(dev, "Run firmware failure: %d\n", ret);
276 return -ENODEV;
277 }
278
279 return 0;
280 }
281

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#7 lore raw
In reply to Oder Chiou
kernel test robot noticed the following build warnings:

Hi Oder,

kernel test robot noticed the following build warnings:

[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on linus/master v6.16-rc1 next-20251212] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Oder-Chiou/ASoC-dt-bindings-realtek-rt5575-add-support-for-ALC5575/20251211-190355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20251211110130.2925541-3-oder_chiou%40realtek.com
patch subject: [PATCH v9 2/2] ASoC: rt5575: Add the codec driver for the ALC5575
config: arc-kismet-CONFIG_SND_SOC_RT5575-CONFIG_SND_SOC_RT5575_SPI-0-0 (https://download.01.org/0day-ci/archive/20251215/[email protected]/config)
reproduce: (https://download.01.org/0day-ci/archive/20251215/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

kismet warnings: (new ones prefixed by >>)

>> kismet: WARNING: unmet direct dependencies detected for SND_SOC_RT5575 when selected by SND_SOC_RT5575_SPI

WARNING: unmet direct dependencies detected for SND_SOC_RT5575
Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]:
- SND_SOC_RT5575_SPI [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && SPI_MASTER [=y]

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki