MLK-14451: arm: dts: Remove dts entry for sensors in imx7ulp-evk.dts
authorAdriana Reus <adriana.reus@nxp.com>
Wed, 12 Apr 2017 10:45:13 +0000 (13:45 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:53 +0000 (15:21 -0500)
Sensors are connected to M4 and not to A-Core.
Sensors will not be exposed to A-Core via standard
i2c interface but via an i2c proxy layer over rpmsg.

Remove the dts entry to avoid the probe error messages and
add a separate dts file for the case where someone wishes to
rework the board themselves and connect sensors for testing purposes.

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7ulp-evk-sensors-to-i2c5.dts [new file with mode: 0644]
arch/arm/boot/dts/imx7ulp-evk.dts

index 2448872..ebe0674 100644 (file)
@@ -585,7 +585,8 @@ dtb-$(CONFIG_SOC_IMX7ULP) += \
        imx7ulp-evk-lpuart.dtb \
        imx7ulp-evk-qspi.dtb \
        imx7ulp-evk-wm8960.dtb \
-       imx7ulp-evk-hdmi.dtb
+       imx7ulp-evk-hdmi.dtb \
+       imx7ulp-evk-sensors-to-i2c5.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
        ls1021a-qds.dtb \
        ls1021a-twr.dtb
diff --git a/arch/arm/boot/dts/imx7ulp-evk-sensors-to-i2c5.dts b/arch/arm/boot/dts/imx7ulp-evk-sensors-to-i2c5.dts
new file mode 100644 (file)
index 0000000..54f0e61
--- /dev/null
@@ -0,0 +1,22 @@
+
+#include "imx7ulp-evk.dts"
+
+&lpi2c5 {
+
+       fxas2100x@20 {
+               compatible = "fsl,fxas2100x";
+               reg = <0x20>;
+       };
+
+       fxos8700@1e {
+               compatible = "fsl,fxos8700";
+               reg = <0x1e>;
+       };
+
+       mpl3115@60 {
+               compatible = "fsl,mpl3115";
+               reg = <0x60>;
+       };
+
+};
+
index f8c87cb..5bcde52 100644 (file)
                bpp = <24>;
                status = "disabled";
        };
-
-       fxas2100x@20 {
-               compatible = "fsl,fxas2100x";
-               reg = <0x20>;
-       };
-
-       fxos8700@1e {
-               compatible = "fsl,fxos8700";
-               reg = <0x1e>;
-       };
-
-       mpl3115@60 {
-               compatible = "fsl,mpl3115";
-               reg = <0x60>;
-       };
 };
 
 &lpspi3 {