[PATCH v2 3/3] ARM: dts: imx6qdl-cubox-i: enable DSM for the RTC

From: miguelborgesdefreitas
Date: Mon Jul 20 2020 - 07:24:53 EST


From: Miguel Borges de Freitas <miguelborgesdefreitas@xxxxxxxxx>

The cubox-i is one of the examples in which the necessary filtering
circuit in the VDD pin of the pcf8523 (1 kOhm resistor + 3.3 microF
capacitor) is not available. This leads to failures in the RTC when,
after a power cycle, the voltage drop exceeds the recommended value of
0.7V/ms. The hw is designed to support the battery switch-over
functionality only in direct-switching mode. Hence, this enforces the
option in the cubox-i device-tree.

Signed-off-by: Miguel Borges de Freitas <miguelborgesdefreitas@xxxxxxxxx>
---
Changes in v2:
- Added extended commit message for git history
- Separate dt bindings documentation into a single patch

arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
index e3be453..a226c4e 100644
--- a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
@@ -144,6 +144,7 @@
rtc@68 {
compatible = "nxp,pcf8523";
reg = <0x68>;
+ pm-enable-dsm;
};
};

--
1.8.3.1