Skip to content

i2c: designware: select gpio/default pin when prepare/unprepare recovery

Jisheng Zhang linux-arm-kernel linux-devicetree linux-i2c lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v21 patch 1 replySuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- add missing property dt-binding

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: i2c: designware: add optional gpio recovery propertiesDocumentation/devicetree/bindings/i2c/i2c-designware.txt+6 -01 reply
2/3dt-bindings: i2c: designware: add optional pinctrl for bus recoveryDocumentation/devicetree/bindings/i2c/i2c-designware.txt+6 -01 reply
3/3i2c: designware: select gpio/default pin when prepare/unprepare recoverydrivers/i2c/busses/i2c-designware-core.h drivers/i2c/busses/i2c-designware-master.c+25 -02 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJarkko Nikula
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] i2c: designware: select gpio/default pin when prepare/unprepare recovery

On some platforms, the sda/scl pins are muxed with gpio functions, so they could be used for recovery. Select the gpio/default pin function when prepare/unprepare recovery.

patch1 adds the missing scl-gpios, sda-gpios properties binding doc. patch2 adds the pintrl property for i2c bus recovery. patch3 selects gpio/default pin when prepare/unprepare recovery.

Since v2:
- add missing property dt-binding

Since v1:
- use IS_ERR_OR_NULL

Jisheng Zhang (3):
dt-bindings: i2c: designware: add optional gpio recovery properties
dt-bindings: i2c: designware: add optional pinctrl for bus recovery
i2c: designware: select gpio/default pin when prepare/unprepare
recovery

 .../bindings/i2c/i2c-designware.txt           | 12 ++++++++++
 drivers/i2c/busses/i2c-designware-core.h      |  3 +++
 drivers/i2c/busses/i2c-designware-master.c    | 22 +++++++++++++++++++
 3 files changed, 37 insertions(+)
Signature · 1 line
2.19.0