Devicetree
 help / color / mirror / Atom feed
From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: alexandre.belloni@bootlin.com, robh@kernel.org,
	rzk+dt@kernel.org, conor+dt@kernel.org
Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, paul@crapouillou.net,
	Peng Fan <peng.fan@nxp.com>
Subject: [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema
Date: Tue,  4 Aug 2026 22:45:53 +0800	[thread overview]
Message-ID: <20260804144553.2518722-1-peng.fan@oss.nxp.com> (raw)

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


             reply	other threads:[~2026-08-04 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04 14:45 Peng Fan (OSS) [this message]
2026-08-04 15:21 ` [PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema sashiko-bot
2026-08-05 21:17 ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260804144553.2518722-1-peng.fan@oss.nxp.com \
    --to=peng.fan@oss.nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=paul@crapouillou.net \
    --cc=peng.fan@nxp.com \
    --cc=robh@kernel.org \
    --cc=rzk+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox