mbox series

[i2c-mux-next,v2,0/1] mux: Add regmap based mux driver

Message ID 20230823155332.48648-1-vadimp@nvidia.com
Headers show
Series mux: Add regmap based mux driver | expand

Message

Vadim Pasternak Aug. 23, 2023, 3:53 p.m. UTC
Changelog:
v1->v2:
Comments provided by Yann:
 - Fix 3 comments Documentation/i2c/muxes/i2c-mux-regmap.rst.
 - Use 'unsigned int' for the fields 'num_adaps' and 'sel_reg_addr'
   in struct 'i2c_mux_regmap_platform_data'.
 - Fix comment in i2c_mux_regmap_select_chan().
 - Fix comment "Probe/remove functions".
Added by Vadim:
 - Remove unused field 'reg_size' from struct
   'i2c_mux_regmap_platform_data'.

Vadim Pasternak (1):
  i2c: mux: Add register map based mux driver

 Documentation/i2c/muxes/i2c-mux-regmap.rst   | 168 +++++++++++++++++++
 drivers/i2c/muxes/Kconfig                    |  12 ++
 drivers/i2c/muxes/Makefile                   |   1 +
 drivers/i2c/muxes/i2c-mux-regmap.c           | 127 ++++++++++++++
 include/linux/platform_data/i2c-mux-regmap.h |  32 ++++
 5 files changed, 340 insertions(+)
 create mode 100644 Documentation/i2c/muxes/i2c-mux-regmap.rst
 create mode 100644 drivers/i2c/muxes/i2c-mux-regmap.c
 create mode 100644 include/linux/platform_data/i2c-mux-regmap.h