Skip to contentSkip to conversation

dt-bindings: raspberrypi,bcm2835-firmware: Add 'power' and gpio-hog nodes

PATCH New Rob Herring (Arm) 1 participant 1 message Dec 15, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: raspberrypi,bcm2835-firmware: Add 'power' and gpio-hog nodes

Add missing child nodes for the RaspberryPi firmware. The firmware implements a power domain provider in a 'power' node. GPIO hog nodes are also already in use.

---
v2:
- The error in the hog pattern was from my own bad addition, so fix the patch to add gpio hog nodes.

 .../bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml    | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml +8 -0
index 8349c0a854d9..983ea80eaec9 100644
@@ -65,6 +65,11 @@ properties:
       gpio-line-names:
         minItems: 8
 
+    patternProperties:
+      '-hog$':
+        required:
+          - gpio-hog
+
     required:
       - compatible
       - gpio-controller
@@ -87,6 +92,9 @@ properties:
       - compatible
       - "#reset-cells"
 
+  power:
+    $ref: /schemas/power/raspberrypi,bcm2835-power.yaml#
+
   pwm:
     type: object
     additionalProperties: false
Signature · 1 line
2.51.0