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

dt-bindings: arm,versatile-sysreg: Convert to DT schema format

Convert the arm,versatile-sysreg binding to DT schema format.

The original binding was missing 'simple-mfd' and a 'panel' sub node which
the only user (versatile-ab.dts) of this binding has.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220810160341.51995-3-robh@kernel.org

+35 -10
+35
Documentation/devicetree/bindings/arm/arm,versatile-sysreg.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/arm/arm,versatile-sysreg.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Arm Versatile system registers 8 + 9 + maintainers: 10 + - Linus Walleij <linus.walleij@linaro.org> 11 + 12 + description: 13 + This is a system control registers block, providing multiple low level 14 + platform functions like board detection and identification, software 15 + interrupt generation, MMC and NOR Flash control, etc. 16 + 17 + properties: 18 + compatible: 19 + items: 20 + - const: arm,versatile-sysreg 21 + - const: syscon 22 + - const: simple-mfd 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + panel: 28 + type: object 29 + 30 + required: 31 + - compatible 32 + - reg 33 + 34 + additionalProperties: false 35 + ...
-10
Documentation/devicetree/bindings/arm/versatile-sysreg.txt
··· 1 - ARM Versatile system registers 2 - -------------------------------------- 3 - 4 - This is a system control registers block, providing multiple low level 5 - platform functions like board detection and identification, software 6 - interrupt generation, MMC and NOR Flash control etc. 7 - 8 - Required node properties: 9 - - compatible value : = "arm,versatile-sysreg", "syscon" 10 - - reg : physical base address and the size of the registers window