ARM: dts: imx6qdl-phytec: add missing pmic MFD subdevices
Subsystems (2)
PATCH v2 1/2 ARM: dts: imx6qdl-phytec: add missing pmic MFD subdevices
phyFLEX PMIC DA9063 has also RTC and watchdog support. Add both MFD subdevices so they can be used.
---
Changes in v2:
- fix subject to follow ARM: dts: imx6qdl-phytec: ... style
- use MFD (capital letters) in subject and commit message
- change rtc and watchdog lebel/node name to follow more standard naming scheme
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +8 -0
@@ -205,6 +205,14 @@ vdd_mx6_high_reg: ldo11 { regulator-always-on; }; }; + + da9063_rtc: rtc { + compatible = "dlg,da9063-rtc"; + }; + + da9063_wdog: watchdog { + compatible = "dlg,da9063-watchdog"; + }; }; };
Signature · 1 line
2.25.1
PATCH v2 2/2 ARM: dts: imx6qdl-phytec: handle unneeded MFD-subdevices correctly
From: Yunus Bas <[email protected]>
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.
---
Changes in v2:
- use ARM: dts: imx6qdl-phytec: ... as subject prefix
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 5 +++++ arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 10 ++++++++++ 2 files changed, 15 insertions(+)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +5 -0
@@ -213,6 +213,11 @@ da9063_rtc: rtc { da9063_wdog: watchdog { compatible = "dlg,da9063-watchdog"; }; + + onkey { + compatible = "dlg,da9063-onkey"; + status = "disabled"; + }; }; };
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +10 -0
@@ -116,6 +116,16 @@ watchdog { 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";
Signature · 1 line
2.25.1
Shawn Guo
AppliedQuoted 4 lines · Andrej Picej
phyFLEX PMIC DA9063 has also RTC and watchdog support. Add both MFD subdevices so they can be used.
Signed-off-by Andrej Picej <[email protected]>
Applied both, thanks!