Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
@ 2026-08-04 14:45 Peng Fan (OSS)
  2026-08-04 15:21 ` sashiko-bot
  2026-08-05 21:17 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan (OSS) @ 2026-08-04 14:45 UTC (permalink / raw)
  To: alexandre.belloni, robh, rzk+dt, conor+dt
  Cc: linux-rtc, devicetree, linux-kernel, paul, Peng Fan

From: Peng Fan <peng.fan@nxp.com>

Convert the binding to use the generic power-controller schema instead by
referencing power-controller.yaml and removing the local
`system-power-controller` property definition.

Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V1:
 The power-controller.yaml has been merged in dt-schema, so
 resend this patch picked from link [1]. A-b tag is kept, since
 no changes.
 [1] https://lore.kernel.org/all/20260316-power-controller-v1-5-92c80e5e1744@nxp.com/

 Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
index de9879bdb317..415566d8dba5 100644
--- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml
@@ -11,6 +11,7 @@ maintainers:
 
 allOf:
   - $ref: rtc.yaml#
+  - $ref: /schemas/power/power-controller.yaml#
   - if:
       not:
         properties:
@@ -53,12 +54,6 @@ properties:
   "#clock-cells":
     const: 0
 
-  system-power-controller:
-    description: |
-      Indicates that the RTC is responsible for powering OFF
-      the system.
-    type: boolean
-
   ingenic,reset-pin-assert-time-ms:
     minimum: 0
     maximum: 125
-- 
2.51.0


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

end of thread, other threads:[~2026-08-05 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-04 14:45 [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema Peng Fan (OSS)
2026-08-04 15:21 ` sashiko-bot
2026-08-05 21:17 ` Rob Herring

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