ARM: dts: imx6qdl-phytec: handle unneeded MFD-subdevices correctly
authorYunus Bas <y.bas@phytec.de>
Fri, 28 Jan 2022 07:27:38 +0000 (08:27 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Feb 2022 04:42:57 +0000 (12:42 +0800)
The proper way to handle partly used MFD devices are to describe all MFD
subdevices in the devicetree and disable the not used ones. This
suppresses any warnings that may arise as a result.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi

index c6ec71f6f03432a71281a4e02169a59a71ea5d36..1f2ba6f6254e12c9e015bcb4a532b5298e1ee911 100644 (file)
                da9063_wdog: watchdog {
                        compatible = "dlg,da9063-watchdog";
                };
+
+               onkey {
+                       compatible = "dlg,da9063-onkey";
+                       status = "disabled";
+               };
        };
 };
 
index 94b254bfd05490c1289a55931ca73101c614258c..28a805384668f1e724a9e8891a0aeb9c3505a700 100644 (file)
                        dlg,use-sw-pm;
                };
 
+               thermal {
+                       compatible = "dlg,da9062-thermal";
+                       status = "disabled";
+               };
+
+               gpio {
+                       compatible = "dlg,da9062-gpio";
+                       status = "disabled";
+               };
+
                regulators {
                        vdd_arm: buck1 {
                                regulator-name = "vdd_arm";