All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] i2c: designware: select gpio/default pin when prepare/unprepare recovery
@ 2018-09-17  3:26 ` Jisheng Zhang
  0 siblings, 0 replies; 26+ messages in thread
From: Jisheng Zhang @ 2018-09-17  3:26 UTC (permalink / raw)
  To: Jarkko Nikula, Andy Shevchenko, Mika Westerberg, Wolfram Sang
  Cc: linux-arm-kernel, linux-i2c, linux-kernel

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(+)

-- 
2.19.0

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2018-09-18 13:25 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17  3:26 [PATCH v3 0/3] i2c: designware: select gpio/default pin when prepare/unprepare recovery Jisheng Zhang
2018-09-17  3:26 ` Jisheng Zhang
2018-09-17  3:26 ` Jisheng Zhang
2018-09-17  3:27 ` [PATCH v3 1/3] dt-bindings: i2c: designware: add optional gpio recovery properties Jisheng Zhang
2018-09-17  3:27   ` Jisheng Zhang
2018-09-17  3:27   ` Jisheng Zhang
2018-09-17  3:32   ` Jisheng Zhang
2018-09-17  3:32     ` Jisheng Zhang
2018-09-17  3:32     ` Jisheng Zhang
2018-09-17  3:28 ` [PATCH v3 2/3] dt-bindings: i2c: designware: add optional pinctrl for bus recovery Jisheng Zhang
2018-09-17  3:28   ` Jisheng Zhang
2018-09-17  3:28   ` Jisheng Zhang
2018-09-17  3:33   ` Jisheng Zhang
2018-09-17  3:33     ` Jisheng Zhang
2018-09-17  3:33     ` Jisheng Zhang
2018-09-17  3:29 ` [PATCH v3 3/3] i2c: designware: select gpio/default pin when prepare/unprepare recovery Jisheng Zhang
2018-09-17  3:29   ` Jisheng Zhang
2018-09-17  3:29   ` Jisheng Zhang
2018-09-17  3:34   ` Jisheng Zhang
2018-09-17  3:34     ` Jisheng Zhang
2018-09-17  3:34     ` Jisheng Zhang
2018-09-18 13:25     ` Jarkko Nikula
2018-09-18 13:25       ` Jarkko Nikula
2018-09-17  3:31 ` [PATCH v3 0/3] " Jisheng Zhang
2018-09-17  3:31   ` Jisheng Zhang
2018-09-17  3:31   ` Jisheng Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.