Skip to contentSkip to conversation

dt-bindings: i2c: microchip,corei2c: permit resets

PATCH Applied Conor Dooley 2 participants 2 messages May 6 – Jun 16

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

PATCH v2 1/1 dt-bindings: i2c: microchip,corei2c: permit resets

From: Conor Dooley <[email protected]>

Both CoreI2C 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: Andi Shyti <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/i2c/microchip,corei2c.yaml +3 -0
index 6ff58b64d4962..bd63c70aac6bc 100644
@@ -37,6 +37,9 @@ properties:
       modes are supported, possible values are 100000 and 400000.
     enum: [100000, 400000]
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw

Hi Conor,

Quoted 10 lines · Conor Dooley

From: Conor Dooley <[email protected]>

Both CoreI2C 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.

Quoted 2 lines

merged to i2c/i2c-host.

Thanks,
Andi