Commit e52928e8 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'

According to Documentation/devicetree/bindings/sound/simple-card.txt
the 'simple-audio-card,dai-link' may be omitted when the card has
only one DAI link, which is the case here.

Get rid of 'simple-audio-card,dai-link' in order to fix the following
build warning with W=1:

arch/arm/boot/dts/imx6qdl-gw551x.dtsi:109.32-121.5: Warning (unit_address_vs_reg): /sound-digital/simple-audio-card,dai-link@0: node has a unit name, but no reg property

Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 1105c8b5
...@@ -105,19 +105,16 @@ reg_usb_otg_vbus: regulator-usb-otg-vbus { ...@@ -105,19 +105,16 @@ reg_usb_otg_vbus: regulator-usb-otg-vbus {
sound-digital { sound-digital {
compatible = "simple-audio-card"; compatible = "simple-audio-card";
simple-audio-card,name = "tda1997x-audio"; simple-audio-card,name = "tda1997x-audio";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&sound_codec>;
simple-audio-card,frame-master = <&sound_codec>;
simple-audio-card,dai-link@0 { sound_cpu: simple-audio-card,cpu {
format = "i2s"; sound-dai = <&ssi2>;
};
cpu {
sound-dai = <&ssi2>;
};
codec { sound_codec: simple-audio-card,codec {
bitclock-master; sound-dai = <&hdmi_receiver>;
frame-master;
sound-dai = <&hdmi_receiver>;
};
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment