OSDN Git Service

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 c6ec71f..1f2ba6f 100644 (file)
                da9063_wdog: watchdog {
                        compatible = "dlg,da9063-watchdog";
                };
+
+               onkey {
+                       compatible = "dlg,da9063-onkey";
+                       status = "disabled";
+               };
        };
 };
 
index 94b254b..28a8053 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";