Skip to contentSkip to conversation

ARM: dts: imx[6qdl|7]-[apalis|colibri]: Update audio card names

PATCH Applied Hiago De Franco 2 participants 6 messages Oct 10, 2024 – Oct 22, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v2 cover ARM: dts: imx[6qdl|7]-[apalis|colibri]: Update audio card names

From: Hiago De Franco <[email protected]>

This patch series update the audio card names for Apalis and Colibri iMX6/7 to match their specific SoM names, making it shorter (less than 15 characters, as shown in [1]) to fix warnings related to ALSA in Apalis iMX6 and Colibri iMX6. For Colibri iMX7, also do the change to make it compliant with the other card names.

[1] Documentation/sound/alsa-configuration.rst

v1:
- https://lore.kernel.org/lkml/[email protected]/

v2:
- Update commit message to make clearer these are breaking changes.

Hiago De Franco (3):
ARM: dts: imx6qdl-apalis: Update audio card name
ARM: dts: imx6qdl-colibri: Update audio card name
ARM: dts: imx7-colibri: Update audio card name

 arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi  | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6qdl-colibri.dtsi | 2 +-
 arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.39.5
#1 lore raw

PATCH v2 1/3 ARM: dts: imx6qdl-apalis: Update audio card name

From: Hiago De Franco <[email protected]>

Update the audio card name for Apalis iMX6 to match its specific SoM name, making it less than 15 characters to fix the following warning

fsl-asoc-card sound: ASoC: driver name too long 'imx6q-apalis-sgtl5000' -> 'imx6q-apalis-sg'

making it compliant with the ALSA configuration specification [1].

While this is a breaking change for userspace tooling, it seems time to implement it since no ALSA UCM or related configuration files currently exist and we are in the the process of creating them.

[1] Documentation/sound/alsa-configuration.rst

---
 arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi +1 -1
index edf55760a5c1..1c72da417011 100644
@@ -191,7 +191,7 @@ sound {
 			"MIC_IN", "Mic Jack",
 			"Mic Jack", "Mic Bias",
 			"Headphone Jack", "HP_OUT";
-		model = "imx6q-apalis-sgtl5000";
+		model = "apalis-imx6";
 		mux-ext-port = <4>;
 		mux-int-port = <1>;
 		ssi-controller = <&ssi1>;
Signature · 1 line
2.39.5
#2 lore raw

PATCH v2 2/3 ARM: dts: imx6qdl-colibri: Update audio card name

In reply to Hiago De Franco

From: Hiago De Franco <[email protected]>

Update the audio card name for Colibri iMX6 to match its specific SoM name, making it less than 15 characters to fix the following warning

fsl-asoc-card sound: ASoC: driver name too long
'imx6dl-colibri-sgtl5000' -> 'imx6dl-colibri-'

making it compliant with the ALSA configuration specification [1].

While this is a breaking change for userspace tooling, it seems time to implement it since no ALSA UCM or related configuration files currently exist and we are in the the process of creating them.

[1] Documentation/sound/alsa-configuration.rst

---
 arch/arm/boot/dts/nxp/imx/imx6qdl-colibri.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-colibri.dtsi +1 -1
index b01670cdd52c..9f33419c260b 100644
@@ -136,7 +136,7 @@ sound {
 			"LINE_IN", "Line In Jack",
 			"MIC_IN", "Mic Jack",
 			"Mic Jack", "Mic Bias";
-		model = "imx6dl-colibri-sgtl5000";
+		model = "colibri-imx6";
 		mux-int-port = <1>;
 		mux-ext-port = <5>;
 		ssi-controller = <&ssi1>;
Signature · 1 line
2.39.5
#3 lore raw

PATCH v2 3/3 ARM: dts: imx7-colibri: Update audio card name

In reply to Hiago De Franco

From: Hiago De Franco <[email protected]>

Update the audio card name for Colibri iMX7 to match its specific SoM name, making it compliant with the other names for Colibri iMX6 and Apalis iMX6.

While this is a breaking change for userspace tooling, it seems time to implement it since no ALSA UCM or related configuration files currently exist and we are in the the process of creating them.

---
 arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/nxp/imx/imx7-colibri.dtsi +1 -1
index 62e41edcaf1d..8666dcd7fe97 100644
@@ -120,7 +120,7 @@ sound {
 		simple-audio-card,bitclock-master = <&dailink_master>;
 		simple-audio-card,format = "i2s";
 		simple-audio-card,frame-master = <&dailink_master>;
-		simple-audio-card,name = "imx7-sgtl5000";
+		simple-audio-card,name = "colibri-imx7";
 
 		simple-audio-card,cpu {
 			sound-dai = <&sai1>;
Signature · 1 line
2.39.5
#4 lore raw
In reply to Hiago De Franco
Quoted 7 lines

This patch series update the audio card names for Apalis and Colibri iMX6/7 to match their specific SoM names, making it shorter (less than 15 characters, as shown in [1]) to fix warnings related to ALSA in Apalis iMX6 and Colibri iMX6. For Colibri iMX7, also do the change to make it compliant with the other card names.

[1] Documentation/sound/alsa-configuration.rst

Related ALSA UCM PR https://github.com/alsa-project/alsa-ucm-conf/pull/448

Regards,
Hiago.

Applied
#5 lore raw
In reply to Hiago De Franco
Quoted 4 lines · Hiago De Franco

Hiago De Franco (3):
ARM: dts: imx6qdl-apalis: Update audio card name
ARM: dts: imx6qdl-colibri: Update audio card name
ARM: dts: imx7-colibri: Update audio card name

Applied all, thanks!