Devicetree
 help / color / mirror / Atom feed
* [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets
@ 2026-03-03 16:36 Conor Dooley
  2026-03-04  8:34 ` Krzysztof Kozlowski
  2026-03-12 14:34 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Conor Dooley @ 2026-03-03 16:36 UTC (permalink / raw)
  To: linux-rtc
  Cc: conor, Conor Dooley, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Daire McNamara, devicetree,
	linux-kernel

From: Conor Dooley <conor.dooley@microchip.com>

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>
---
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: Conor Dooley <conor+dt@kernel.org>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: linux-rtc@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml b/Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml
index a3e60d9f83993..e26e92b1af03f 100644
--- a/Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/microchip,mpfs-rtc.yaml
@@ -47,6 +47,9 @@ properties:
       - const: rtc
       - const: rtcref
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets
  2026-03-03 16:36 [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets Conor Dooley
@ 2026-03-04  8:34 ` Krzysztof Kozlowski
  2026-03-12 14:34 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-04  8:34 UTC (permalink / raw)
  To: Conor Dooley
  Cc: linux-rtc, Conor Dooley, Alexandre Belloni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Daire McNamara, devicetree,
	linux-kernel

On Tue, Mar 03, 2026 at 04:36:33PM +0000, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@microchip.com>
> 
> 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>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets
  2026-03-03 16:36 [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets Conor Dooley
  2026-03-04  8:34 ` Krzysztof Kozlowski
@ 2026-03-12 14:34 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2026-03-12 14:34 UTC (permalink / raw)
  To: linux-rtc, Conor Dooley
  Cc: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Daire McNamara, devicetree, linux-kernel

On Tue, 03 Mar 2026 16:36:33 +0000, Conor Dooley wrote:
> 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,

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-12 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 16:36 [PATCH v1] dt-bindings: rtc: mpfs-rtc: permit resets Conor Dooley
2026-03-04  8:34 ` Krzysztof Kozlowski
2026-03-12 14:34 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox