This is improved version of https://patchwork.ozlabs.org/project/linux-i2c/patch/20230215195322.21955-1-vadimp@xxxxxxxxxx/ Since this patch has not been reviewed it is sent again as v1. Also doc file is added. 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 | 34 ++++ 5 files changed, 342 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