* [PATCH v3] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes
@ 2026-08-25 9:41 Vincent Jardin via B4 Relay
2026-08-26 13:36 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Jardin via B4 Relay @ 2026-08-25 9:41 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Li
Cc: linux-gpio, devicetree, linux-kernel, Alexander Stein,
Krzysztof Kozlowski, Vincent Jardin
From: Vincent Jardin <vjardin@free.fr>
QorIQ GPIO controllers may have hogs in device nodes, so let's expose
it.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Vincent Jardin <vjardin@free.fr>
---
Changes in v3:
- Shorten the commit message, former one tried too much on QorIQ (Krzysztof Kozlowski)
- Drop redundant brackets from the pattern (Krzysztof Kozlowski)
- No change to the schema semantics
- Link to v2: https://lore.kernel.org/r/20260824-for-upstream-dt-qoriq-gpio-hog-v2-1-58bbc82b881e@free.fr
Changes in v2:
- Change the commit message. Drop the dmesg excerpt: those hog names come
from my out-of-tree dev git repo and are not in the tree (Frank Li)
- Note: the hog call path is: gpiochip_hog_lines(), called from gpiochip_add_data_with_key()
- Explain why these QorIQ SoCs need it
- No change to the diff
- Link to v1: https://lore.kernel.org/r/20260824-for-upstream-dt-qoriq-gpio-hog-v1-1-d75923bcecad@free.fr
---
Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml
index 4cb2a6b9fabfb..1e61e17b0ee35 100644
--- a/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/fsl,qoriq-gpio.yaml
@@ -63,6 +63,13 @@ properties:
GPIO registers are used as little endian. If not
present registers are used as big endian by default.
+patternProperties:
+ "^.+-hog(-[0-9]+)?$":
+ type: object
+
+ required:
+ - gpio-hog
+
required:
- compatible
- reg
---
base-commit: 0a0d1d55dad570724bf8c7ea83409639cfb4be9b
change-id: 20260824-for-upstream-dt-qoriq-gpio-hog-5092a0f4d089
Best regards,
--
Vincent Jardin <vjardin@free.fr>
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v3] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes
2026-08-25 9:41 [PATCH v3] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes Vincent Jardin via B4 Relay
@ 2026-08-26 13:36 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2026-08-26 13:36 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Frank Li, Vincent Jardin
Cc: Bartosz Golaszewski, linux-gpio, devicetree, linux-kernel,
Alexander Stein, Krzysztof Kozlowski
On Tue, 25 Aug 2026 11:41:57 +0200, Vincent Jardin wrote:
> QorIQ GPIO controllers may have hogs in device nodes, so let's expose
> it.
>
>
Applied, thanks!
[1/1] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes
https://git.kernel.org/brgl/c/78c0baf85cd0ab61939b6d4670158d5c53dada69
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-26 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25 9:41 [PATCH v3] dt-bindings: gpio: fsl,qoriq-gpio: allow gpio-hog child nodes Vincent Jardin via B4 Relay
2026-08-26 13:36 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox