Skip to content

Commit db36e82

Browse files
codrin989wsakernel
authored andcommitted
dt-bindings: i2c: add generic properties for GPIO bus recovery
The I2C GPIO bus recovery properties consist of two GPIOS and one extra pinctrl state ("gpio" or "recovery"). "recovery" pinctrl state is considered deprecated and "gpio" should be used instead. Not all are mandatory for recovery. Signed-off-by: Codrin Ciubotariu <[email protected]> Reviewed-by: Rob Herring <[email protected]> [wsa: kept sorting, minor whitespace change] Signed-off-by: Wolfram Sang <[email protected]>
1 parent c7c9e91 commit db36e82

File tree

1 file changed

+10
-0
lines changed
  • Documentation/devicetree/bindings/i2c

1 file changed

+10
-0
lines changed

Documentation/devicetree/bindings/i2c/i2c.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ wants to support one of the below features, it should adapt these bindings.
7272
this information to adapt power management to keep the arbitration awake
7373
all the time, for example. Can not be combined with 'single-master'.
7474

75+
- pinctrl
76+
add extra pinctrl to configure SCL/SDA pins to GPIO function for bus
77+
recovery, call it "gpio" or "recovery" (deprecated) state
78+
79+
- scl-gpios
80+
specify the gpio related to SCL pin. Used for GPIO bus recovery.
81+
82+
- sda-gpios
83+
specify the gpio related to SDA pin. Optional for GPIO bus recovery.
84+
7585
- single-master
7686
states that there is no other master active on this bus. The OS can use
7787
this information to detect a stalled bus more reliably, for example.

0 commit comments

Comments
 (0)