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

* Re: [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
  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
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-08-04 15:21 UTC (permalink / raw)
  To: Peng Fan (OSS); +Cc: Alexandre Belloni, linux-rtc, robh, devicetree, conor+dt

> 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>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260804144553.2518722-1-peng.fan@oss.nxp.com?part=1


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

* Re: [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2026-08-05 21:17 UTC (permalink / raw)
  To: Peng Fan (OSS)
  Cc: alexandre.belloni, krzk+dt, conor+dt, linux-rtc, devicetree,
	linux-kernel, paul, Peng Fan

On Tue, Aug 04, 2026 at 10:45:53PM +0800, Peng Fan (OSS) wrote:
> 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/

This needs to wait a cycle as the dtschema dependency is not yet in a 
release.

Rob

^ permalink raw reply	[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