OSDN Git Service

ARM: dts: imx: rdu1: cosmetic changes to the audio nodes
authorLucas Stach <l.stach@pengutronix.de>
Wed, 8 Nov 2017 17:13:00 +0000 (18:13 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
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>
Reviewed-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts

index 49be0e1..f9fdb7c 100644 (file)
 
        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>;
                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>;
                reg = <0x50>;
        };
 
-       tpa6130a2: amp@60 {
+       hpa1: amp@60 {
                compatible = "ti,tpa6130a2";
                reg = <0x60>;
                pinctrl-names = "default";