Skip to content

Commit 9dace5e

Browse files
akemnaderobherring
authored andcommitted
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>
1 parent 554fb14 commit 9dace5e

2 files changed

Lines changed: 55 additions & 31 deletions

File tree

Documentation/devicetree/bindings/arm/omap/prm-inst.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/arm/ti/ti,omap-prm-inst.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: OMAP PRM instances
8+
9+
maintainers:
10+
- Aaro Koskinen <aaro.koskinen@iki.fi>
11+
- Andreas Kemnade <andreas@kemnade.info>
12+
- Kevin Hilman <khilman@baylibre.com>
13+
- Roger Quadros <rogerq@kernel.org>
14+
- Tony Lindgren <tony@atomide.com>
15+
16+
description:
17+
Power and Reset Manager is an IP block on OMAP family of devices which
18+
handle the power domains and their current state, and provide reset
19+
handling for the domains and/or separate IP blocks under the power domain
20+
hierarchy.
21+
22+
properties:
23+
compatible:
24+
items:
25+
- enum:
26+
- ti,am3-prm-inst
27+
- ti,am4-prm-inst
28+
- ti,omap4-prm-inst
29+
- ti,omap5-prm-inst
30+
- ti,dra7-prm-inst
31+
- const: ti,omap-prm-inst
32+
33+
reg:
34+
maxItems: 1
35+
36+
"#power-domain-cells":
37+
const: 0
38+
39+
"#reset-cells":
40+
const: 1
41+
42+
required:
43+
- compatible
44+
- reg
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
reset-controller@1b00 {
51+
compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst";
52+
reg = <0x1b00 0x40>;
53+
#power-domain-cells = <0>;
54+
#reset-cells = <1>;
55+
};

0 commit comments

Comments
 (0)