ARM: dts: imx7d-flex-concentrator: fix pcf2127 reset
Subsystems (2)
PATCH 1/1 ARM: dts: imx7d-flex-concentrator: fix pcf2127 reset
RTC pcf2127 device driver has changed default behaviour of the watchdog feature in v5.11-rc1. Now you need to explicitly enable it with a device tree property, "reset-source", when used in the board design.
--- arch/arm/boot/dts/imx7d-flex-concentrator.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx7d-flex-concentrator.dts +1 -0
@@ -115,6 +115,7 @@ pcf2127: rtc@0 { compatible = "nxp,pcf2127"; reg = <0>; spi-max-frequency = <2000000>; + reset-source; }; };
base-commit: 7c53f6b671f4aba70ff15e1b05148b10d58c2837
Signature · 1 line
2.29.2
Quoted 11 lines · Bruno Thomsen
RTC pcf2127 device driver has changed default behaviour of the watchdog feature in v5.11-rc1. Now you need to explicitly enable it with a device tree property, "reset-source", when used in the board design.
Fixes 71ac13457d9d ("rtc: pcf2127: only use watchdog when explicitly available")Signed-off-by Bruno Thomsen <[email protected]>Cc Bruno Thomsen <[email protected]>Cc Uwe Kleine-König <[email protected]>Cc Rasmus Villemoes <[email protected]>Cc Alexandre Belloni <[email protected]>
Quoted 21 lines
--- arch/arm/boot/dts/imx7d-flex-concentrator.dts | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/imx7d-flex-concentrator.dts +1
-0@@ -115,6 +115,7 @@ pcf2127: rtc@0 { compatible = "nxp,pcf2127"; reg = <0>; spi-max-frequency = <2000000>; + reset-source; }; };base-commit:
7c53f6b671f4aba70ff15e1b05148b10d58c2837Signature · 1 line
2.29.2
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Shawn Guo
AppliedQuoted 3 lines · Bruno Thomsen
RTC pcf2127 device driver has changed default behaviour of the watchdog feature in v5.11-rc1. Now you need to explicitly enable it with a device tree property, "reset-source", when used in the board design.
It sound that the existing DTBs are broken by this default behaviour change?
Quoted 8 lines
Fixes 71ac13457d9d ("rtc: pcf2127: only use watchdog when explicitly available")Signed-off-by Bruno Thomsen <[email protected]>Cc Bruno Thomsen <[email protected]>Cc Uwe Kleine-König <[email protected]>Cc Rasmus Villemoes <[email protected]>Cc Alexandre Belloni <[email protected]>
Applied, thanks.
Shawn
Quoted 21 lines
--- arch/arm/boot/dts/imx7d-flex-concentrator.dts | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/imx7d-flex-concentrator.dts +1
-0@@ -115,6 +115,7 @@ pcf2127: rtc@0 { compatible = "nxp,pcf2127"; reg = <0>; spi-max-frequency = <2000000>; + reset-source; }; };base-commit:
7c53f6b671f4aba70ff15e1b05148b10d58c2837Signature · 1 line
2.29.2
Quoted 7 lines · Shawn Guo
Quoted 3 lines · Bruno Thomsen
RTC pcf2127 device driver has changed default behaviour of the watchdog feature in v5.11-rc1. Now you need to explicitly enable it with a device tree property, "reset-source", when used in the board design.
It sound that the existing DTBs are broken by this default behaviour change?
I didn't do a representative research, but I expect that there are only very few machines that have a working watchdog setup using the pcf2127. All other machines were surprised by commit
0e735eaae165 ("rtc: pcf2127: add watchdog feature support")because they suddenly had a non-functional watchdog device. The alternative would be to "fix" the device trees of all these machines to restore pre-v5.4-rc1 behaviour. This is IMHO worse.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |