]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: muxes: add support for tsd,mule-i2c multiplexer
authorFarouk Bouabid <farouk.bouabid@cherry.de>
Fri, 6 Sep 2024 15:54:13 +0000 (17:54 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 9 Sep 2024 22:36:47 +0000 (00:36 +0200)
commitd0f8e97866bf258b420ebf2b46755399ca01e585
tree0debd33b3c557a1a910312311d58dcc85c9ca2b7
parent4a875cf15427a1a83e9122e5be9a6b08937a5bc5
i2c: muxes: add support for tsd,mule-i2c multiplexer

Theobroma Systems Mule is an MCU that emulates a set of I2C devices,
among which an amc6821 and devices that are reachable through an I2C-mux.
The devices on the mux can be selected by writing the appropriate device
number to an I2C config register (amc6821 reg 0xff).

This driver is expected to be probed as a platform device with amc6821
as its parent i2c device.

Add support for the mule-i2c-mux platform driver. The amc6821 driver
support for the mux will be added in a later commit.

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/muxes/Kconfig
drivers/i2c/muxes/Makefile
drivers/i2c/muxes/i2c-mux-mule.c [new file with mode: 0644]