OSDN Git Service

ARM: dts: imx27-eukrea-mbimxsd27-baseboard: Pass missing unit address
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 27 Dec 2017 16:23:23 +0000 (14:23 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Feb 2018 13:12:58 +0000 (21:12 +0800)
ads7846 is connected to SPI chip select 0, so pass the unit address
accordingly to fix the following build warning with W=1:

arch/arm/boot/dts/imx27-eukrea-mbimxsd27-baseboard.dtb: Warning (unit_address_vs_reg): Node /soc/aipi@10000000/cspi@1000e000/ads7846 has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx27-eukrea-mbimxsd27-baseboard.dts

index f565357..15145e7 100644 (file)
@@ -84,7 +84,7 @@
        cs-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
        status = "okay";
 
-       ads7846 {
+       ads7846@0 {
                compatible = "ti,ads7846";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_touch>;