diff mbox series

[v4,5/9] mfd: simple-mfd-i2c: Add support for tsd,mule

Message ID 20240618-dev-mule-i2c-mux-v4-5-5462d28354c8@cherry.de (mailing list archive)
State New
Headers show
Series Add Mule MFD support | expand

Commit Message

Farouk Bouabid June 18, 2024, 4:06 p.m. UTC
Mule is an MCU that emulates a set of I2C devices, among which an amc6821
device and an I2C mux that exposes more emulated devices. These two devices
share the same I2C address. Only the I2C mux uses register (0xff) as a
config register.

Add a simple-mfd-i2c driver support for these two sub-devices.

Signed-off-by: Farouk Bouabid <farouk.bouabid@cherry.de>
---
 drivers/mfd/simple-mfd-i2c.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c
index 6eda79533208..1c5853868022 100644
--- a/drivers/mfd/simple-mfd-i2c.c
+++ b/drivers/mfd/simple-mfd-i2c.c
@@ -88,6 +88,7 @@  static const struct of_device_id simple_mfd_i2c_of_match[] = {
 	{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
 	{ .compatible = "maxim,max5970", .data = &maxim_max5970},
 	{ .compatible = "maxim,max5978", .data = &maxim_max5970},
+	{ .compatible = "tsd,mule" },
 	{}
 };
 MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);