* [PATCH] dt-bindings: omap: ti,prm-inst: Convert to DT schema
@ 2026-01-02 19:32 Andreas Kemnade
2026-01-02 22:02 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2026-01-02 19:32 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aaro Koskinen,
Kevin Hilman, Roger Quadros, Tony Lindgren
Cc: devicetree, linux-kernel, Andreas Kemnade
Convert prm-inst binding to DT schema. Use the closest matching standard
node name in the example.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
.../devicetree/bindings/arm/omap/prm-inst.txt | 31 ------------
.../devicetree/bindings/arm/omap/ti,prm-inst.yaml | 55 ++++++++++++++++++++++
2 files changed, 55 insertions(+), 31 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/omap/prm-inst.txt b/Documentation/devicetree/bindings/arm/omap/prm-inst.txt
deleted file mode 100644
index 42db138e091a..000000000000
--- a/Documentation/devicetree/bindings/arm/omap/prm-inst.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-OMAP PRM instance bindings
-
-Power and Reset Manager is an IP block on OMAP family of devices which
-handle the power domains and their current state, and provide reset
-handling for the domains and/or separate IP blocks under the power domain
-hierarchy.
-
-Required properties:
-- compatible: Must contain one of the following:
- "ti,am3-prm-inst"
- "ti,am4-prm-inst"
- "ti,omap4-prm-inst"
- "ti,omap5-prm-inst"
- "ti,dra7-prm-inst"
- and additionally must contain:
- "ti,omap-prm-inst"
-- reg: Contains PRM instance register address range
- (base address and length)
-
-Optional properties:
-- #power-domain-cells: Should be 0 if the instance is a power domain provider.
-- #reset-cells: Should be 1 if the PRM instance in question supports resets.
-
-Example:
-
-prm_dsp2: prm@1b00 {
- compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
- reg = <0x1b00 0x40>;
- #power-domain-cells = <0>;
- #reset-cells = <1>;
-};
diff --git a/Documentation/devicetree/bindings/arm/omap/ti,prm-inst.yaml b/Documentation/devicetree/bindings/arm/omap/ti,prm-inst.yaml
new file mode 100644
index 000000000000..1b59325daafe
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/omap/ti,prm-inst.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: GPL-2.0-only
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/omap/ti,prm-inst.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OMAP PRM instances
+
+maintainers:
+ - Aaro Koskinen <aaro.koskinen@iki.fi>
+ - Andreas Kemnade <andreas@kemnade.info>
+ - Kevin Hilman <khilman@baylibre.com>
+ - Roger Quadros <rogerq@kernel.org>
+ - Tony Lindgren <tony@atomide.com>
+
+description:
+ Power and Reset Manager is an IP block on OMAP family of devices which
+ handle the power domains and their current state, and provide reset
+ handling for the domains and/or separate IP blocks under the power domain
+ hierarchy.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - ti,am3-prm-inst
+ - ti,am4-prm-inst
+ - ti,omap4-prm-inst
+ - ti,omap5-prm-inst
+ - ti,dra7-prm-inst
+ - const: ti,omap-prm-inst
+
+ reg:
+ maxItems: 1
+
+ "#power-domain-cells":
+ const: 0
+
+ "#reset-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ reset-controller@1b00 {
+ compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
+ reg = <0x1b00 0x40>;
+ #power-domain-cells = <0>;
+ #reset-cells = <1>;
+ };
---
base-commit: f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
change-id: 20260102-prm-inst-a4b92e862ba0
Best regards,
--
Andreas Kemnade <andreas@kemnade.info>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: omap: ti,prm-inst: Convert to DT schema
2026-01-02 19:32 [PATCH] dt-bindings: omap: ti,prm-inst: Convert to DT schema Andreas Kemnade
@ 2026-01-02 22:02 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2026-01-02 22:02 UTC (permalink / raw)
To: Andreas Kemnade
Cc: Krzysztof Kozlowski, Conor Dooley, Aaro Koskinen, Kevin Hilman,
Roger Quadros, Tony Lindgren, devicetree, linux-kernel
On Fri, Jan 02, 2026 at 08:32:15PM +0100, Andreas Kemnade wrote:
> Convert prm-inst binding to DT schema. Use the closest matching standard
> node name in the example.
>
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
> .../devicetree/bindings/arm/omap/prm-inst.txt | 31 ------------
> .../devicetree/bindings/arm/omap/ti,prm-inst.yaml | 55 ++++++++++++++++++++++
ti,omap-prm-inst.yaml to match the compatible. Otherwise, looks good.
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-02 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-02 19:32 [PATCH] dt-bindings: omap: ti,prm-inst: Convert to DT schema Andreas Kemnade
2026-01-02 22:02 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).