mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
@ 2025-02-27 17:51 Rob Herring (Arm)
  2025-02-28  8:39 ` Linus Walleij
  2025-03-04 10:39 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-02-27 17:51 UTC (permalink / raw)
  To: Uwe Kleine-König, Linus Walleij, Bartosz Golaszewski,
	Krzysztof Kozlowski, Conor Dooley, Thomas Petazzoni, Andrew Lunn
  Cc: linux-pwm, linux-gpio, devicetree, linux-kernel

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) <robh@kernel.org>
---
 Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

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
-- 
2.47.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
  2025-02-27 17:51 [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes Rob Herring (Arm)
@ 2025-02-28  8:39 ` Linus Walleij
  2025-03-04 10:39 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2025-02-28  8:39 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Uwe Kleine-König, Bartosz Golaszewski, Krzysztof Kozlowski,
	Conor Dooley, Thomas Petazzoni, Andrew Lunn, linux-pwm,
	linux-gpio, devicetree, linux-kernel

On Thu, Feb 27, 2025 at 6:52 PM Rob Herring (Arm) <robh@kernel.org> wrote:

> 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) <robh@kernel.org>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes
  2025-02-27 17:51 [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes Rob Herring (Arm)
  2025-02-28  8:39 ` Linus Walleij
@ 2025-03-04 10:39 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-03-04 10:39 UTC (permalink / raw)
  To: Uwe Kleine-König, Linus Walleij, Bartosz Golaszewski,
	Krzysztof Kozlowski, Conor Dooley, Thomas Petazzoni, Andrew Lunn,
	Rob Herring (Arm)
  Cc: Bartosz Golaszewski, linux-pwm, linux-gpio, devicetree, linux-kernel

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 27 Feb 2025 11:51:32 -0600, Rob Herring (Arm) wrote:
> 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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-04 10:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-27 17:51 [PATCH] dt-bindings: gpio: mvebu: Add missing 'gpio-ranges' property and hog nodes Rob Herring (Arm)
2025-02-28  8:39 ` Linus Walleij
2025-03-04 10:39 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®