[PATCH] dt-bindings: gpio: nomadik: Describe DB8500 and GPIO hogs

Linus Walleij linusw at kernel.org
Sat Nov 7 00:35:00 PST 2026


The DB8500 boards use a specific compatible with the Nomadik fallback,
line names and GPIO hogs. Describe these existing uses without changing
the GPIO register or interrupt constraints. Found with CHECK_DTBS=1.

Signed-off-by: Linus Walleij <linusw at kernel.org>
---
Describe the existing DB8500 compatible, GPIO line names and GPIO hogs.
---
 .../devicetree/bindings/gpio/st,nomadik-gpio.yaml     | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
index e871149c520f..e70f3b5ce7a6 100644
--- a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
@@ -19,9 +19,13 @@ properties:
     pattern: "^gpio@[0-9a-f]+$"
 
   compatible:
-    enum:
-      - st,nomadik-gpio
-      - mobileye,eyeq5-gpio
+    oneOf:
+      - enum:
+          - st,nomadik-gpio
+          - mobileye,eyeq5-gpio
+      - items:
+          - const: stericsson,db8500-gpio
+          - const: st,nomadik-gpio
 
   reg:
     maxItems: 1
@@ -34,6 +38,10 @@ properties:
 
   gpio-controller: true
 
+  gpio-line-names:
+    minItems: 1
+    maxItems: 32
+
   interrupt-controller: true
 
   "#interrupt-cells":
@@ -60,6 +68,11 @@ properties:
   resets:
     maxItems: 1
 
+patternProperties:
+  "-hog$":
+    type: object
+    $ref: /schemas/gpio/gpio-hog.yaml#
+
 required:
   - compatible
   - reg

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261107-ux500-gpio-hogs-90df5d0ba601

Best regards,
--  
Linus Walleij <linusw at kernel.org>




More information about the linux-arm-kernel mailing list