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

dt-bindings: power: Convert Actions Owl SPS to DT schema

Convert the Actions S500/S700/S900 Smart Power System binding to DT
schema format. It's a straight-forward conversion.

Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20251013215834.783501-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+40 -22
-21
Documentation/devicetree/bindings/power/actions,owl-sps.txt
··· 1 - Actions Semi Owl Smart Power System (SPS) 2 - 3 - Required properties: 4 - - compatible : "actions,s500-sps" for S500 5 - "actions,s700-sps" for S700 6 - "actions,s900-sps" for S900 7 - - reg : Offset and length of the register set for the device. 8 - - #power-domain-cells : Must be 1. 9 - See macros in: 10 - include/dt-bindings/power/owl-s500-powergate.h for S500 11 - include/dt-bindings/power/owl-s700-powergate.h for S700 12 - include/dt-bindings/power/owl-s900-powergate.h for S900 13 - 14 - 15 - Example: 16 - 17 - sps: power-controller@b01b0100 { 18 - compatible = "actions,s500-sps"; 19 - reg = <0xb01b0100 0x100>; 20 - #power-domain-cells = <1>; 21 - };
+39
Documentation/devicetree/bindings/power/actions,s500-sps.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/power/actions,s500-sps.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Actions Semi Owl Smart Power System (SPS) 8 + 9 + maintainers: 10 + - Andreas Färber <afaerber@suse.de> 11 + - Manivannan Sadhasivam <mani@kernel.org> 12 + 13 + properties: 14 + compatible: 15 + enum: 16 + - actions,s500-sps 17 + - actions,s700-sps 18 + - actions,s900-sps 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + '#power-domain-cells': 24 + const: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - '#power-domain-cells' 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + power-controller@b01b0100 { 36 + compatible = "actions,s500-sps"; 37 + reg = <0xb01b0100 0x100>; 38 + #power-domain-cells = <1>; 39 + };
+1 -1
MAINTAINERS
··· 2264 2264 F: Documentation/devicetree/bindings/mmc/owl-mmc.yaml 2265 2265 F: Documentation/devicetree/bindings/net/actions,owl-emac.yaml 2266 2266 F: Documentation/devicetree/bindings/pinctrl/actions,* 2267 - F: Documentation/devicetree/bindings/power/actions,owl-sps.txt 2267 + F: Documentation/devicetree/bindings/power/actions,s500-sps.yaml 2268 2268 F: Documentation/devicetree/bindings/timer/actions,owl-timer.yaml 2269 2269 F: arch/arm/boot/dts/actions/ 2270 2270 F: arch/arm/mach-actions/