]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: rtc: mpfs-rtc: permit resets
authorConor Dooley <conor.dooley@microchip.com>
Tue, 3 Mar 2026 16:36:33 +0000 (16:36 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 12 Mar 2026 14:33:59 +0000 (15:33 +0100)
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.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260303-flounder-slate-dd69766990ce@spud
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml

index a3e60d9f83993c2d1fb8388a0c4dc7ea0fbd773e..e26e92b1af03ff3ea93c62aab7e6be02041d43aa 100644 (file)
@@ -47,6 +47,9 @@ properties:
       - const: rtc
       - const: rtcref
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg