Commit f2f3d5d6 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Bartosz Golaszewski
Browse files

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: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250227175132.3734524-1-robh@kernel.org


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent bd3ce710
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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