mbox series

[v4,0/6] Add the I3C mastership request

Message ID 20190310135843.21154-1-pgaj@cadence.com (mailing list archive)
Headers show
Series Add the I3C mastership request | expand

Message

Przemysław Gaj March 10, 2019, 1:58 p.m. UTC
This patch series adds support for mastership request to I3C
subsystem and Cadence I3C master driver. Mastership request
allows slave to become the master of the I3C bus.

Main changes between v3 and v4 are:
- Reworked acquire bus ownership
- Refactored the code

Main changes between v2 and v3 are:
- Added DEFSLVS devices are registered from master driver
- Reworked I2C registering on secondary master side
- Reworked Mastership event is enabled/disabled globally (for all devices)

Main changes between initial version and v2 are:
- Reworked devices registration on secondary master side
- Reworked mastership event disabling/enabling
- Reworked bus locking during mastership takeover process
- Added DEFSLVS devices registration during initialization
- Fixed style issues

Przemyslaw Gaj (6):
  i3c: add addr and lvr to i2c_dev_desc structure
  i3c: export bus maintenance lock and unlock functions
  i3c: Add support for mastership request to I3C subsystem
  i3c: master: cdns: add support for mastership request to Cadence I3C
    master driver.
  i3c: master: Add module author
  MAINTAINERS: add myself as co-maintainer of i3c subsystem

 MAINTAINERS                          |   1 +
 drivers/i3c/device.c                 |  26 ++
 drivers/i3c/internals.h              |   4 +
 drivers/i3c/master.c                 | 425 ++++++++++++++++++++++++------
 drivers/i3c/master/i3c-master-cdns.c | 495 +++++++++++++++++++++++++++++++----
 include/linux/i3c/master.h           |  25 ++
 6 files changed, 849 insertions(+), 127 deletions(-)