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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.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 0c2ae14..f955d42 100644 (file)
@@ -723,7 +723,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-moxa-uc-8410a.dtb \
        ls1021a-qds.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 f796a0e..fa71087 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 {