[00/14] fsi: Miscellaneous fixes and I2C Responder driver

Message ID 20230612195657.245125-1-eajames@linux.ibm.com
Headers
Series fsi: Miscellaneous fixes and I2C Responder driver |

Message

Eddie James June 12, 2023, 7:56 p.m. UTC
  This series adds a number of fixes and improvements to the FSI driver
and adds the I2C Responder driver. The I2C Responder(I2CR) is an I2C
device that translates I2C commands to CFAM or SCOM operations,
effectively implementing an FSI master and bus.

Eddie James (14):
  fsi: Move fsi_slave structure definition to header
  fsi: Add aliased device numbering
  fsi: Use of_match_table for bus matching if specified
  fsi: sbefifo: Don't check status during probe
  fsi: sbefifo: Add configurable in-command timeout
  fsi: sbefifo: Remove limits on user-specified read timeout
  fsi: aspeed: Reset master errors after CFAM reset
  fsi: core: Add trace events for scan and unregister
  fsi: core: Fix legacy minor numbering
  fsi: core: Switch to ida_alloc/free
  fsi: Improve master indexing
  dt-bindings: fsi: Document the IBM I2C Responder virtual FSI master
  fsi: Add IBM I2C Responder virtual FSI master
  fsi: Add I2C Responder SCOM driver

 .../bindings/fsi/ibm,i2cr-fsi-master.yaml     |  41 +++
 drivers/fsi/Kconfig                           |  17 +
 drivers/fsi/Makefile                          |   2 +
 drivers/fsi/fsi-core.c                        | 122 ++++---
 drivers/fsi/fsi-master-aspeed.c               |   4 +-
 drivers/fsi/fsi-master-ast-cf.c               |   2 +-
 drivers/fsi/fsi-master-gpio.c                 |   2 +-
 drivers/fsi/fsi-master-hub.c                  |   4 +-
 drivers/fsi/fsi-master-i2cr.c                 | 316 ++++++++++++++++++
 drivers/fsi/fsi-master-i2cr.h                 |  33 ++
 drivers/fsi/fsi-master.h                      |   2 +-
 drivers/fsi/fsi-sbefifo.c                     |  47 ++-
 drivers/fsi/fsi-scom.c                        |   8 +
 drivers/fsi/fsi-slave.h                       |  28 ++
 drivers/fsi/i2cr-scom.c                       | 154 +++++++++
 include/trace/events/fsi.h                    |  31 ++
 include/trace/events/fsi_master_i2cr.h        | 107 ++++++
 include/uapi/linux/fsi.h                      |  10 +
 18 files changed, 865 insertions(+), 65 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/fsi/ibm,i2cr-fsi-master.yaml
 create mode 100644 drivers/fsi/fsi-master-i2cr.c
 create mode 100644 drivers/fsi/fsi-master-i2cr.h
 create mode 100644 drivers/fsi/fsi-slave.h
 create mode 100644 drivers/fsi/i2cr-scom.c
 create mode 100644 include/trace/events/fsi_master_i2cr.h