i2c: muxes: pca954x: Add MAX735x/MAX736x support
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Mon, 21 Aug 2023 06:20:23 +0000 (08:20 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 23 Aug 2023 21:09:03 +0000 (23:09 +0200)
commit81694437b6eb5aa5439f0fa276e3c8eff94a8299
tree902da84f3628ddc663f5ec96da4c4fc14d47869f
parentdde2c69042ea102e8bbcfcf22cc70ac8302951ed
i2c: muxes: pca954x: Add MAX735x/MAX736x support

Add support for the following Maxim chips using the existing PCA954x
driver:
- MAX7356
- MAX7357
- MAX7358
- MAX7367
- MAX7368
- MAX7369

All added Maxim chips behave like the PCA954x, where a single SMBUS byte
write selects up to 8 channels to be bridged to the primary bus.

While the MAX7357/MAX7358 have interrupt support, they don't act as
interrupt controller like the PCA9545 does. Thus don't enable IRQ support
and handle them like the PCA9548.

Tested using the MAX7357.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/muxes/Kconfig
drivers/i2c/muxes/i2c-mux-pca954x.c