aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2025-02-27 17:51:32 +0000
committerBartosz Golaszewski <[email protected]>2025-03-04 10:39:34 +0000
commitf2f3d5d62f6fbdaef46d1991086265a497b3e24f (patch)
tree2f37eb8c7e1b711aea6846ee6f1d6f6155d13eb9
parentgpiolib: of: Handle threecell GPIO chips (diff)
downloadkernel-f2f3d5d62f6fbdaef46d1991086265a497b3e24f.tar.gz
kernel-f2f3d5d62f6fbdaef46d1991086265a497b3e24f.zip
dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
The Marvell mvebu binding users already use 'gpio-ranges' and have hog nodes, so add them to the binding. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
index 33d4e4716516..7ed5f9c4dde9 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
@@ -72,6 +72,9 @@ properties:
"#gpio-cells":
const: 2
+ gpio-ranges:
+ maxItems: 1
+
marvell,pwm-offset:
$ref: /schemas/types.yaml#/definitions/uint32
description: Offset in the register map for the pwm registers (in bytes)
@@ -96,6 +99,13 @@ properties:
- const: axi
minItems: 1
+patternProperties:
+ "^(.+-hog(-[0-9]+)?)$":
+ type: object
+
+ required:
+ - gpio-hog
+
required:
- compatible
- gpio-controller