mbox series

[v2,00/12] i2c: designware: code consolidation & cleanups

Message ID 20231109182823.3531846-1-andriy.shevchenko@linux.intel.com
Headers show
Series i2c: designware: code consolidation & cleanups | expand

Message

Andy Shevchenko Nov. 9, 2023, 6:19 p.m. UTC
The series now consists the following subseries of patches:
- refactoring module alias and device ID tables (patches 1-2)
- unifying firmware parsing and configuring code (patches 3-7)
- miscellaneous cleanups (patches 8-11)
- consolidating PM ops (patch 12)

The last one might be considered as rft, however I don't think we
have any hardware where the behaviour will be changed, anyways, good
to test.

v1: https://lore.kernel.org/r/20230725143023.86325-1-andriy.shevchenko@linux.intel.com

Changelog v2:
- reworked the series to make it less twisted (Jarkko, Andi)
- added tags to the patches that have been rebased (Andi, Mario, Jarkko)
- introduced a few new changes (PM ops, export namespace)

Andy Shevchenko (12):
  i2c: designware: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE()
  i2c: designware: Always provide device ID tables
  i2c: designware: Drop return value from i2c_dw_acpi_configure()
  i2c: designware: Drop return value from dw_i2c_of_configure()
  i2c: designware: Rename dw_i2c_of_configure() -> i2c_dw_of_configure()
  i2c: designware: Consolidate firmware parsing and configuring code
  i2c: desingware: Unify the firmware type checks
  i2c: designware: Move exports to I2C_DW namespaces
  i2c: designware: Get rid of redundant 'else'
  i2c: designware: Fix spelling and other issues in the comments
  i2c: designware: Remove ->disable() callback
  i2c: designware: Consolidate PM ops

 drivers/i2c/busses/i2c-designware-amdpsp.c  |  10 +-
 drivers/i2c/busses/i2c-designware-common.c  | 150 ++++++++++++++--
 drivers/i2c/busses/i2c-designware-core.h    |  25 +--
 drivers/i2c/busses/i2c-designware-master.c  |  19 +-
 drivers/i2c/busses/i2c-designware-pcidrv.c  |  62 +------
 drivers/i2c/busses/i2c-designware-platdrv.c | 183 +++++---------------
 drivers/i2c/busses/i2c-designware-slave.c   |  10 +-
 7 files changed, 216 insertions(+), 243 deletions(-)