[PATCH 3/4] mfd: cgbc: Add virtual I2C bus support
"Thomas Richard (congatec GmbH)" <[email protected]> Tue, 04 Aug 2026 16:55:53 +0200
| Newsgroups | org.kernel.vger.linux-i2c,dev.linux.lists.mfd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260804-cgbc-i2c-storage-devices-support-v1-3-fed38510671c@bootlin.com> |
Internally the Board Controller has a virtual I2C bus with some virtual storage devices (EEPROM and RAM). So add a new I2C cell for this virtual bus. Signed-off-by: Thomas Richard (congatec GmbH) <[email protected]> --- drivers/mfd/cgbc-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/cgbc-core.c b/drivers/mfd/cgbc-core.c index 4a409234e66c..81bd0a381ca1 100644 --- a/drivers/mfd/cgbc-core.c +++ b/drivers/mfd/cgbc-core.c @@ -240,6 +240,7 @@ static struct mfd_cell cgbc_devs[] = { { .name = "cgbc-gpio" }, { .name = "cgbc-i2c", .id = 1 }, { .name = "cgbc-i2c", .id = 2 }, + { .name = "cgbc-i2c", .id = 3 }, { .name = "cgbc-hwmon" }, { .name = "cgbc-backlight" }, }; -- 2.53.0