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 -- 2.20.1