Skip to contentSkip to conversation

dt-bindings: rtc: mpfs-rtc: permit resets

PATCH Applied Conor Dooley 3 participants 3 messages Mar 3 – Mar 12

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: rtc: mpfs-rtc: permit resets

From: Conor Dooley <[email protected]>

The RTC on mpfs and pic64gx has a reset pin, but until now this has been undocumented because platform firmware takes the RTC out of reset on first-party boards (or those using modified versions of the vendor firmware), but not all boards may take this approach. Permit providing a reset in devicetree for Linux, or other devicetree-consuming software, to use.

---
CC: Alexandre Belloni <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: Conor Dooley <[email protected]>
CC: Daire McNamara <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml +3 -0
index a3e60d9f83993..e26e92b1af03f 100644
@@ -47,6 +47,9 @@ properties:
       - const: rtc
       - const: rtcref
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Conor Dooley

From: Conor Dooley <[email protected]>

The RTC on mpfs and pic64gx has a reset pin, but until now this has been undocumented because platform firmware takes the RTC out of reset on first-party boards (or those using modified versions of the vendor firmware), but not all boards may take this approach. Permit providing a reset in devicetree for Linux, or other devicetree-consuming software, to use.

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Conor Dooley
Quoted 8 lines · Conor Dooley

The RTC on mpfs and pic64gx has a reset pin, but until now this has been undocumented because platform firmware takes the RTC out of reset on first-party boards (or those using modified versions of the vendor firmware), but not all boards may take this approach. Permit providing a reset in devicetree for Linux, or other devicetree-consuming software, to use.

[...]

Applied, thanks!

[1/1] dt-bindings: rtc: mpfs-rtc: permit resets

      https://git.kernel.org/abelloni/c/cbf39bfd4bf9

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com