Skip to content

drivers: i2c: FSI-attached I2C master algorithm

Eddie James openbmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v16 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drivers: i2c: Add FSI-attached I2C master algorithmdrivers/Makefile drivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile +1 more+258 -10 replies
2/6drivers: i2c: Add port structure to FSI algorithmdrivers/i2c/busses/i2c-fsi.c+112 -10 replies
3/6drivers: i2c: Add transfer implementation for FSI algorithmdrivers/i2c/busses/i2c-fsi.c+191 -21 reply
4/6drivers: i2c: Add I2C master locking to FSI algorithmdrivers/i2c/busses/i2c-fsi.c+37 -40 replies
5/6drivers: i2c: Add bus recovery for FSI algorithmdrivers/i2c/busses/i2c-fsi.c+76 -00 replies
6/6dts: aspeed: witherspoon: Add I2C master under FSI mastersarch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts+156 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH linux dev-4.10 v2 0/6] drivers: i2c: FSI-attached I2C master algorithm

From: "Edward A. James" <[email protected]>

This patch series adds an I2C bus algorithm to drive the I2C master located on POWER CPUs. The master is accessed over FSI bus from the service processor.

The driver creates one chardev entry for each port off an I2C master by registering one I2C adapter for port. This implementation requires locking of the master in the driver to prevent transfers running into each other. The master registers are shared between ports.

This patchset also adds the latest in FSI dt bindings from Jeremy Kerr. This describes the entire FSI tree structure (master -> slaves -> engines -> engine data (such as i2c master ports)). These bindings are required for the I2C driver in order to enumerate the ports off each I2C master.

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
dts: aspeed: witherspoon: Add I2C master under FSI masters

 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 156 ++++++
 drivers/Makefile                                 |   2 +-
 drivers/i2c/busses/Kconfig                       |  11 +
 drivers/i2c/busses/Makefile                      |   1 +
 drivers/i2c/busses/i2c-fsi.c                     | 654 +++++++++++++++++++++++
 5 files changed, 823 insertions(+), 1 deletion(-)
 create mode 100644 drivers/i2c/busses/i2c-fsi.c
Signature · 1 line
1.8.3.1