All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm
@ 2017-07-26 17:13 Eddie James
  2017-07-26 17:13   ` Eddie James
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Eddie James @ 2017-07-26 17:13 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-i2c, devicetree, wsa, robh+dt, jk, joel, andrew, cbostic,
	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 v4:
 - Add SMBUS flags to functionality mask.
 - Improve probing by continuing parsing the dt if we fail one adapter
   registration. Also don't fail for ENOMEM, as we may have registered some
   ports already.
 - Fix remove() by checking for empty list before iterating.

Edward A. James (6):
  drivers/i2c: Add FSI-attached I2C master algorithm
  drivers/i2c: Add port structure to FSI algorithm
  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
  dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

 Documentation/devicetree/bindings/i2c/i2c-fsi.txt |  40 ++
 drivers/i2c/busses/Kconfig                        |  11 +
 drivers/i2c/busses/Makefile                       |   1 +
 drivers/i2c/busses/i2c-fsi.c                      | 643 ++++++++++++++++++++++
 4 files changed, 695 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] 15+ messages in thread

end of thread, other threads:[~2017-08-15 17:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 17:13 [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-07-26 17:13 ` [PATCH v5 1/6] " Eddie James
2017-07-26 17:13   ` Eddie James
2017-07-26 17:13 ` [PATCH v5 2/6] drivers/i2c: Add port structure to FSI algorithm Eddie James
2017-07-26 17:13 ` [PATCH v5 3/6] drivers/i2c: Add transfer implementation for " Eddie James
2017-07-26 17:13 ` [PATCH v5 4/6] drivers/i2c: Add I2C master locking to " Eddie James
2017-07-26 17:13 ` [PATCH v5 5/6] drivers/i2c: Add bus recovery for " Eddie James
2017-07-26 17:13 ` [PATCH v5 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Eddie James
2017-07-26 17:13   ` Eddie James
2017-08-15  6:36 ` [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Peter Rosin
2017-08-15  8:10   ` Joel Stanley
2017-08-15 16:28     ` Christopher Bostic
2017-08-15 17:35       ` Peter Rosin
2017-08-15 17:53         ` Eddie James
2017-08-15 17:53           ` Eddie James

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.