From: Gopi Krishna Menon <krishnagopi487@gmail.com>
To: sre@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
lee@kernel.org, conor+dt@kernel.org
Cc: Gopi Krishna Menon <krishnagopi487@gmail.com>,
daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com,
m-chawdhry@ti.com, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] dt-bindings: reset: st: convert to dtschema
Date: Wed, 25 Mar 2026 18:36:21 +0530 [thread overview]
Message-ID: <20260325130623.36710-1-krishnagopi487@gmail.com> (raw)
Convert the STiH4xx reset controller bindings to DT schema.
Signed-off-by: Gopi Krishna Menon <krishnagopi487@gmail.com>
---
Changes since v1:
- Changed unevaluatedProperties to additionalProperties
- Removed the Suggested-by tags
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
.../power/reset/st,stih407-restart.yaml | 31 +++++++++++++++++++
.../bindings/power/reset/st-reset.txt | 11 -------
2 files changed, 31 insertions(+), 11 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/reset/st,stih407-restart.yaml
delete mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt
diff --git a/Documentation/devicetree/bindings/power/reset/st,stih407-restart.yaml b/Documentation/devicetree/bindings/power/reset/st,stih407-restart.yaml
new file mode 100644
index 000000000000..0dd7f5e98157
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/reset/st,stih407-restart.yaml
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/power/reset/st,stih407-restart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ST SW reset controller
+
+maintainers:
+ - Lee Jones <lee@kernel.org>
+
+properties:
+ compatible:
+ const: st,stih407-restart
+
+ st,syscfg:
+ description: phandle of the syscfg node
+ $ref: /schemas/types.yaml#/definitions/phandle
+
+required:
+ - compatible
+ - st,syscfg
+
+additionalProperties: false
+
+examples:
+ - |
+ reset {
+ compatible = "st,stih407-restart";
+ st,syscfg = <&syscfg_sbc_reg>;
+ };
diff --git a/Documentation/devicetree/bindings/power/reset/st-reset.txt b/Documentation/devicetree/bindings/power/reset/st-reset.txt
deleted file mode 100644
index b63948737d80..000000000000
--- a/Documentation/devicetree/bindings/power/reset/st-reset.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-*Device-Tree bindings for ST SW reset functionality
-
-Required properties:
-- compatible: should be "stih407-restart".
-- st,syscfg: should be a phandle of the syscfg node.
-
-Example node:
- restart {
- compatible = "st,stih407-restart";
- st,syscfg = <&syscfg_sbc_reg>;
- };
--
2.52.0
next reply other threads:[~2026-03-25 13:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-25 13:06 Gopi Krishna Menon [this message]
2026-03-25 13:10 ` [PATCH v2] dt-bindings: reset: st: convert to dtschema Dhruva Gole
2026-03-26 9:04 ` Krzysztof Kozlowski
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=20260325130623.36710-1-krishnagopi487@gmail.com \
--to=krishnagopi487@gmail.com \
--cc=conor+dt@kernel.org \
--cc=d-gole@ti.com \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=m-chawdhry@ti.com \
--cc=robh@kernel.org \
--cc=simona.toaca@nxp.com \
--cc=sre@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