Skip to contentSkip to conversation

ARM: dts: imx6q-icore-rqs: Drop redundant "fsl, mode" option

PATCH RESEND In review Alexander Shiyan 3 participants 5 messages Apr 2, 2021 – May 13, 2021

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

PATCH RESEND 1/2 ARM: dts: imx6q-icore-rqs: Drop redundant "fsl, mode" option

The operating mode is used for the AC97 interface only, so lets drop the excess fsl,mode item from SSI node.

---
 arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +0 -1
index a4217f564a53..67b2dd510981 100644
@@ -225,7 +225,6 @@ &pcie {
 };
 
 &ssi1 {
-	fsl,mode = "i2s-slave";
 	status = "okay";
 };
 
Signature · 7 lines
2.26.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH RESEND 2/2 ARM: dts: imx6q-icore: Drop redundant "fsl, mode" option

The operating mode is used for the AC97 interface only, so lets drop the excess fsl,mode item from SSI node.

---
 arch/arm/boot/dts/imx6qdl-icore.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-icore.dtsi +0 -1
index 23c318d9636f..7ed853e33eca 100644
@@ -252,7 +252,6 @@ &pwm3 {
 };
 
 &ssi1 {
-	fsl,mode = "i2s-slave";
 	status = "okay";
 };
 
Signature · 7 lines
2.26.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

Re: [PATCH RESEND 1/2] ARM: dts: imx6q-icore-rqs: Drop redundant "fsl,mode" option

In reply to Alexander Shiyan
Quoted 2 lines · Alexander Shiyan

The operating mode is used for the AC97 interface only, so lets drop the excess fsl,mode item from SSI node.

Isn't it 'fsl,mode' meant for? I do not follow how it becomes excess.

- fsl,mode: The operating mode for the AC97 interface only.
"ac97-slave" - AC97 mode, SSI is clock slave "ac97-master" - AC97 mode, SSI is clock master

Shawn

Quoted 21 lines
---
 arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +0 -1
index a4217f564a53..67b2dd510981 100644
@@ -225,7 +225,6 @@ &pcie {
 };
 
 &ssi1 {
-	fsl,mode = "i2s-slave";
 	status = "okay";
 };
 
Signature · 1 line
2.26.2

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

Re: [PATCH RESEND 1/2] ARM: dts: imx6q-icore-rqs: Drop redundant "fsl,mode" option

On Tue, 11 May 2021 10:37:50 +0800
Shawn Guo <[email protected]> wrote:

These machines use I2S mode (SND_SOC_DAIFMT_I2S), not AC97 (SND_SOC_DAIFMT_AC97), so AC97 parameters are not used in such cases.

Quoted 33 lines · Alexander Shiyan
Quoted 2 lines

The operating mode is used for the AC97 interface only, so lets drop the excess fsl,mode item from SSI node.

Isn't it 'fsl,mode' meant for? I do not follow how it becomes excess.

- fsl,mode: The operating mode for the AC97 interface only.
"ac97-slave" - AC97 mode, SSI is clock slave "ac97-master" - AC97 mode, SSI is clock master

Shawn

Quoted 21 lines
---
 arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi +0 -1
index a4217f564a53..67b2dd510981 100644
@@ -225,7 +225,6 @@ &pcie {
 };
 
 &ssi1 {
-	fsl,mode = "i2s-slave";
 	status = "okay";
 };
 
Signature · 1 line
2.26.2
Signature · 6 lines
Alexander Shiyan <[email protected]>

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by
#4 lore raw

Re: [PATCH RESEND 1/2] ARM: dts: imx6q-icore-rqs: Drop redundant "fsl,mode" option

Hi Alexander,

Quoted 6 lines · Alexander Shiyan

On Tue, 11 May 2021 10:37:50 +0800
Shawn Guo <[email protected]> wrote:

These machines use I2S mode (SND_SOC_DAIFMT_I2S), not AC97 (SND_SOC_DAIFMT_AC97), so AC97 parameters are not used in such cases.

Looking at imx6qdl-icore-rqs.dtsi, I see it uses the sgtl5000 audio codec.

To make the commit log clearer, you could also state that the board uses the sgtl5000 codec connected via I2S.
Then it would become easier to understand why 'fsl,mode' could be removed.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel