dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH 1/1 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]>
--- Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml +10 -0
@@ -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
Signature · 1 line
2.47.2
Quoted 4 lines · Rob Herring (Arm)
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]>
Yours,
Linus Walleij
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 4 lines · Rob Herring (Arm)
The Marvell mvebu binding users already use 'gpio-ranges' and have hog nodes, so add them to the binding.
Applied, thanks!
[1/1] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
commit: f2f3d5d62f6fbdaef46d1991086265a497b3e24f
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>