Skip to contentSkip to conversation

dt-bindings: gpio: mpfs-gpio: permit resets

PATCH Applied Conor Dooley 2 participants 2 messages Mar 3 – Mar 4

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: gpio: mpfs-gpio: permit resets

From: Conor Dooley <[email protected]>

Both CoreGPIO and the hardened versions of it on mpfs and pic64gx have a reset pin. For the former, usually this is wired to a common fabric reset not managed by software and for the latter two the platform firmware takes them out of reset on first-party boards (or those using modified versions of the vendor firmware), but not all boards may take this approach. Permit providing a reset in devicetree for Linux, or other devicetree-consuming software, to use.

---
CC: Conor Dooley <[email protected]>
CC: Daire McNamara <[email protected]>
CC: Linus Walleij <[email protected]>
CC: Bartosz Golaszewski <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml          | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml +3 -0
index 184432d24ea18..eaa254a468063 100644
@@ -33,6 +33,9 @@ properties:
   clocks:
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
   "#gpio-cells":
     const: 2
 
Signature · 1 line
2.51.0
#1 lore raw
Quoted 9 lines · Conor Dooley

Both CoreGPIO and the hardened versions of it on mpfs and pic64gx have a reset pin. For the former, usually this is wired to a common fabric reset not managed by software and for the latter two the platform firmware takes them out of reset on first-party boards (or those using modified versions of the vendor firmware), but not all boards may take this approach. Permit providing a reset in devicetree for Linux, or other devicetree-consuming software, to use.

[...]

Applied, thanks!

[1/1] dt-bindings: gpio: mpfs-gpio: permit resets

      https://git.kernel.org/brgl/c/b678676b7a0ab65ad5b4278505d6bcf706e53230

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>