[PATCH v2 4/5] mfd: cgbc: Add virtual I2C bus support
"Thomas Richard (congatec GmbH)" <[email protected]> Tue, 11 Aug 2026 18:15:05 +0200
| Newsgroups | org.kernel.vger.linux-i2c,dev.linux.lists.mfd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260811-cgbc-i2c-storage-devices-support-v2-4-3efa998e0ef5@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 f09fd671bc8c..e800a0f4e50a 100644 --- a/drivers/mfd/cgbc-core.c +++ b/drivers/mfd/cgbc-core.c @@ -240,6 +240,7 @@ static const 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