summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2026-01-20 19:54:23 +0100
committerRob Herring (Arm) <robh@kernel.org>2026-02-03 20:58:12 -0600
commit9dace5e4e2a3a8d162c0136e7b822f91cb9b8ea6 (patch)
tree7acad91766191b779fad9d9cb6227408b639cbff /Documentation/devicetree/bindings
parent554fb141654e555a51386b4d5855aa7a7a4a4a44 (diff)
dt-bindings: omap: ti,prm-inst: Convert to DT schema
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> Link: https://patch.msgid.link/20260120-prm-inst-v2-1-a025873cee27@kemnade.info Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/arm/omap/prm-inst.txt31
-rw-r--r--Documentation/devicetree/bindings/arm/ti/ti,omap-prm-inst.yaml55
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/ti/ti,omap-prm-inst.yaml b/Documentation/devicetree/bindings/arm/ti/ti,omap-prm-inst.yaml
new file mode 100644
index 000000000000..2cce083dcfb0
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/ti/ti,omap-prm-inst.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: GPL-2.0-only
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/ti/ti,omap-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>;
+ };