Skip to contentSkip to conversation

ARM: dts: imx: rdu1: cosmetic changes to the audio nodes

PATCH New Lucas Stach 3 participants 3 messages Nov 8, 2017 – Nov 16, 2017

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

PATCH 1/1 ARM: dts: imx: rdu1: cosmetic changes to the audio nodes

This renames the audio device to "Front" in order to match the RDU2 naming, which makes it easier for a unified userspace to deal with both boards.

Also rename the phandle for the headphone amplifier to more closely resemble the RDU2 DTS.

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +3 -3
index 2628dbe4174b..31c35919c580 100644
@@ -243,7 +243,7 @@
 
 	sound {
 		compatible = "simple-audio-card";
-		simple-audio-card,name = "RDU1 audio";
+		simple-audio-card,name = "Front";
 		simple-audio-card,format = "i2s";
 		simple-audio-card,bitclock-master = <&sound_codec>;
 		simple-audio-card,frame-master = <&sound_codec>;
@@ -252,7 +252,7 @@
 		simple-audio-card,routing =
 			"Headphone Jack", "HPLEFT",
 			"Headphone Jack", "HPRIGHT";
-		simple-audio-card,aux-devs = <&tpa6130a2>;
+		simple-audio-card,aux-devs = <&hpa1>;
 
 		sound_cpu: simple-audio-card,cpu {
 			sound-dai = <&ssi2>;
@@ -480,7 +480,7 @@
 		reg = <0x50>;
 	};
 
-	tpa6130a2: amp at 60 {
+	hpa1: amp at 60 {
 		compatible = "ti,tpa6130a2";
 		reg = <0x60>;
 		pinctrl-names = "default";
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 ARM: dts: imx: rdu1: cosmetic changes to the audio nodes

Quoted 46 lines · Lucas Stach

This renames the audio device to "Front" in order to match the RDU2 naming, which makes it easier for a unified userspace to deal with both boards.

Also rename the phandle for the headphone amplifier to more closely resemble the RDU2 DTS.

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +3 -4
index 2628dbe4174b..31c35919c580 100644
@@ -243,7 +243,7 @@
 
        sound {
                compatible = "simple-audio-card";
-               simple-audio-card,name = "RDU1 audio";
+               simple-audio-card,name = "Front";
                simple-audio-card,format = "i2s";
                simple-audio-card,bitclock-master = <&sound_codec>;
                simple-audio-card,frame-master = <&sound_codec>;
@@ -252,7 +252,7 @@
                simple-audio-card,routing =
                        "Headphone Jack", "HPLEFT",
                        "Headphone Jack", "HPRIGHT";
-               simple-audio-card,aux-devs = <&tpa6130a2>;
+               simple-audio-card,aux-devs = <&hpa1>;
 
                sound_cpu: simple-audio-card,cpu {
                        sound-dai = <&ssi2>;
@@ -480,7 +480,7 @@
                reg = <0x50>;
        };
 
-       tpa6130a2: amp at 60 {
+       hpa1: amp at 60 {
                compatible = "ti,tpa6130a2";
                reg = <0x60>;
                pinctrl-names = "default";
--

2.11.0

Applied
#2 lore raw

PATCH 1/1 ARM: dts: imx: rdu1: cosmetic changes to the audio nodes

In reply to Lucas Stach
Quoted 8 lines · Lucas Stach

This renames the audio device to "Front" in order to match the RDU2 naming, which makes it easier for a unified userspace to deal with both boards.

Also rename the phandle for the headphone amplifier to more closely resemble the RDU2 DTS.

Applied, thanks.