[PATCH] dt-bindings: rtc: ingenic,rtc: Use generic power-controller schema

"Peng Fan (OSS)" <[email protected]>
Newsgroups org.kernel.vger.linux-rtc,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
From: Peng Fan <[email protected]>

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 <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
---

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/[email protected]/

 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.