[PATCH v1] dt-bindings: power: actions,owl-sps: convert to YAML
Krzysztof Kozlowski
krzk at kernel.org
Sun Nov 3 02:32:12 PST 2024
On Sun, Nov 03, 2024 at 12:17:06AM +0200, Ivaylo Ivanov wrote:
> Convert the Actions Semi Owl Smart Power System (SPS) bindings to DT
> schema.
>
> Changes during conversion:
> - Rename file to match compatible
Where?
Old file: actions,owl-sps
New file: actions,owl-sps
> - Add a description
>
> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1 at gmail.com>
> ---
> .../bindings/power/actions,owl-sps.txt | 21 --------
> .../bindings/power/actions,owl-sps.yaml | 50 +++++++++++++++++++
> MAINTAINERS | 2 +-
> 3 files changed, 51 insertions(+), 22 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/power/actions,owl-sps.txt
> create mode 100644 Documentation/devicetree/bindings/power/actions,owl-sps.yaml
...
> +
> +maintainers:
> + - Andreas Färber <afaerber at suse.de>
> +
> +description: |
Do not need '|' unless you need to preserve formatting.
> + Actions Semi Owl SoCs feature a Smart Power System (SPS) that manages power
> + domains to optimize power usage across various hardware blocks. Each power
> + domain corresponds to a specific hardware block and is represented by a bit
> + in the power control register and an acknowledgment bit, which is then
> + translated into a corresponding voltage on a rail.
> +
> +properties:
> + compatible:
> + enum:
> + - actions,s500-sps
> + - actions,s700-sps
> + - actions,s900-sps
> +
> + reg:
> + maxItems: 1
> +
> + "#power-domain-cells":
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - "#power-domain-cells"
> +
> +additionalProperties: false
Blank line
With changes above:
Reviewed-by: Krzysztof Kozlowski <krzk at kernel.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list