Skip to content

RFC drivers: i2c: FSI-attached I2C master algorithm

Eddie James openbmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drivers: fsi: Add function to get FSI clock ratearch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts drivers/fsi/fsi-core.c drivers/fsi/fsi-master.h +1 more+28 -00 replies
2/7drivers: i2c: Add FSI-attached I2C master algorithmdrivers/Makefile drivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile +1 more+291 -10 replies
3/7drivers: i2c: Add port structure to FSI algorithmdrivers/i2c/busses/i2c-fsi.c+93 -10 replies
4/7drivers: i2c: Add transfer implementation for FSI algorithmdrivers/i2c/busses/i2c-fsi.c+188 -10 replies
5/7drivers: i2c: Add I2C master locking to FSI algorithmdrivers/i2c/busses/i2c-fsi.c+37 -40 replies
6/7drivers: i2c: Add bus recovery for FSI algorithmdrivers/i2c/busses/i2c-fsi.c+82 -00 replies
7/7dts: aspeed: witherspoon: Add an I2C master as FSI device childarch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts+128 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC linux dev-4.7 0/7] 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 per 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.

Edward A. James (7):
drivers: fsi: Add function to get FSI clock rate
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 an I2C master as FSI device child

 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 134 +++++
 drivers/Makefile                                 |   2 +-
 drivers/fsi/fsi-core.c                           |  20 +
 drivers/fsi/fsi-master.h                         |   1 +
 drivers/i2c/busses/Kconfig                       |  11 +
 drivers/i2c/busses/Makefile                      |   1 +
 drivers/i2c/busses/i2c-fsi.c                     | 672 +++++++++++++++++++++++
 include/linux/fsi.h                              |   1 +
 8 files changed, 841 insertions(+), 1 deletion(-)
 create mode 100644 drivers/i2c/busses/i2c-fsi.c
Signature · 1 line
1.8.3.1