linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes
@ 2017-11-08 17:13 Lucas Stach
  2017-11-08 17:30 ` Chris Healy
  2017-11-16  9:03 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2017-11-08 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

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.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
index 2628dbe4174b..31c35919c580 100644
--- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
+++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes
  2017-11-08 17:13 [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes Lucas Stach
@ 2017-11-08 17:30 ` Chris Healy
  2017-11-16  9:03 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Healy @ 2017-11-08 17:30 UTC (permalink / raw)
  To: linux-arm-kernel

Reviewed-by: Chris Healy <cphealy@gmail.com>

On Wed, Nov 8, 2017 at 9:13 AM, Lucas Stach <l.stach@pengutronix.de> wrote:
> 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.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/boot/dts/imx51-zii-rdu1.dts | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> index 2628dbe4174b..31c35919c580 100644
> --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts
> +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts
> @@ -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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes
  2017-11-08 17:13 [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes Lucas Stach
  2017-11-08 17:30 ` Chris Healy
@ 2017-11-16  9:03 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2017-11-16  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 08, 2017 at 06:13:00PM +0100, Lucas Stach wrote:
> 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.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-16  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 17:13 [PATCH] ARM: dts: imx: rdu1: cosmetic changes to the audio nodes Lucas Stach
2017-11-08 17:30 ` Chris Healy
2017-11-16  9:03 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).