Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andreas Kemnade and committed by
Rob Herring (Arm)
9dace5e4 554fb141

+55 -31
-31
Documentation/devicetree/bindings/arm/omap/prm-inst.txt
··· 1 - OMAP PRM instance bindings 2 - 3 - Power and Reset Manager is an IP block on OMAP family of devices which 4 - handle the power domains and their current state, and provide reset 5 - handling for the domains and/or separate IP blocks under the power domain 6 - hierarchy. 7 - 8 - Required properties: 9 - - compatible: Must contain one of the following: 10 - "ti,am3-prm-inst" 11 - "ti,am4-prm-inst" 12 - "ti,omap4-prm-inst" 13 - "ti,omap5-prm-inst" 14 - "ti,dra7-prm-inst" 15 - and additionally must contain: 16 - "ti,omap-prm-inst" 17 - - reg: Contains PRM instance register address range 18 - (base address and length) 19 - 20 - Optional properties: 21 - - #power-domain-cells: Should be 0 if the instance is a power domain provider. 22 - - #reset-cells: Should be 1 if the PRM instance in question supports resets. 23 - 24 - Example: 25 - 26 - prm_dsp2: prm@1b00 { 27 - compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; 28 - reg = <0x1b00 0x40>; 29 - #power-domain-cells = <0>; 30 - #reset-cells = <1>; 31 - };
+55
Documentation/devicetree/bindings/arm/ti/ti,omap-prm-inst.yaml
··· 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 + };