linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/7] drivers/i2c: Add FSI-attached I2C master algorithm
@ 2017-11-16 19:53 Eddie James
       [not found] ` <1510862032-12394-1-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Eddie James @ 2017-11-16 19:53 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-i2c, devicetree, wsa, robh+dt, joel, eajames,
	Edward A. James

From: "Edward A. James" <eajames@us.ibm.com>

This series adds an algorithm for an I2C master physically located on an FSI
slave device. The I2C master has multiple ports, each of which may be connected
to an I2C slave. Access to the I2C master registers is achieved over FSI bus.

Due to the multi-port nature of the I2C master, the driver instantiates a new
I2C adapter for each port connected to a slave. The connected ports should be
defined in the device tree under the I2C master device.

Changes since v5
 - Fix reset functionality and do a reset after every transfer failure

Edward A. James (7):
  dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation
  drivers/i2c: Add FSI-attached I2C master algorithm
  drivers/i2c: Add port structure to FSI algorithm
  drivers/i2c: Add abort and hardware reset procedures
  drivers/i2c: Add transfer implementation for FSI algorithm
  drivers/i2c: Add I2C master locking to FSI algorithm
  drivers/i2c: Add bus recovery for FSI algorithm

 Documentation/devicetree/bindings/i2c/i2c-fsi.txt |  40 ++
 drivers/i2c/busses/Kconfig                        |  11 +
 drivers/i2c/busses/Makefile                       |   1 +
 drivers/i2c/busses/i2c-fsi.c                      | 793 ++++++++++++++++++++++
 4 files changed, 845 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
 create mode 100644 drivers/i2c/busses/i2c-fsi.c

-- 
1.8.3.1

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

end of thread, other threads:[~2017-11-16 19:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16 19:53 [PATCH v6 0/7] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
     [not found] ` <1510862032-12394-1-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-11-16 19:53   ` [PATCH v6 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Eddie James
2017-11-16 19:53   ` [PATCH v6 2/7] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-11-16 19:53 ` [PATCH v6 3/7] drivers/i2c: Add port structure to FSI algorithm Eddie James
2017-11-16 19:53 ` [PATCH v6 4/7] drivers/i2c: Add abort and hardware reset procedures Eddie James
2017-11-16 19:53 ` [PATCH v6 5/7] drivers/i2c: Add transfer implementation for FSI algorithm Eddie James
2017-11-16 19:53 ` [PATCH v6 6/7] drivers/i2c: Add I2C master locking to " Eddie James
2017-11-16 19:53 ` [PATCH v6 7/7] drivers/i2c: Add bus recovery for " Eddie James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).