[PATCH v4 0/9] Congatec Board Controller: Add storage devices support

From: Thomas Richard (congatec GmbH)

Date: Fri Oct 02 2026 - 07:13:26 EST


In this v4, I moved struct cgbc_i2c_platform_data definition into MFD CGBC
header file (was in linux/platform_data/). And now MFD_CELL_NAME macros is
used.

Signed-off-by: Thomas Richard (congatec GmbH) <thomas.richard@xxxxxxxxxxx>
---
Changes in v4:
- Fix struct cgbc_i2c_platform_data comment (kernel-doc warning)
- Move struct cgbc_i2c_platform_data from linux/platform_data/i2c-cgbc.h to
linux/mfd/cgbc.h
- Use MFD_CELL_NAME macros.
- Link to v3: https://patch.msgid.link/20260911-cgbc-i2c-storage-devices-support-v3-0-594b53fbc5ea@xxxxxxxxxxx

Changes in v3:
- rebased on v7.3-rc2
- use PLATFORM_DEVID_AUTO for child devices
- move I2C bus and I2C device definition in the MFD driver
- Link to v2: https://patch.msgid.link/20260811-cgbc-i2c-storage-devices-support-v2-0-3efa998e0ef5@xxxxxxxxxxx

Changes in v2:
- i2c: fix typo in CGBC BIOS EEPROM label.
- mfd: make cgbc_devs const
- Link to v1: https://patch.msgid.link/20260804-cgbc-i2c-storage-devices-support-v1-0-fed38510671c@xxxxxxxxxxx

To: Thomas Richard <thomas.richard@xxxxxxxxxxx>
To: Lee Jones <lee@xxxxxxxxxx>
To: Andi Shyti <andi.shyti@xxxxxxxxxx>
Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx>
Cc: Werner Gartner <Werner.Gartner@xxxxxxxxxxxx>
Cc: mfd@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-i2c@xxxxxxxxxxxxxxx

---
Thomas Richard (congatec GmbH) (9):
mfd: cgbc: Fix use of negative error code as valid session handle
mfd: cgbc: Add I2C platform data
i2c: cgbc: Use plateform data to get bus ID and adapter name
mfd: cgbc: Use PLATFORM_DEVID_AUTO for child device registration
mfd: cgbc: Use real I2C bus names
i2c: cgbc: Add support for fixed frequency buses
mfd: cgbc: Add virtual I2C bus support
mfd: cgbc: Add virtual storage devices on the virtual I2C bus
i2c: cgbc: Register known I2C devices on the bus

drivers/i2c/busses/i2c-cgbc.c | 108 ++++++++++++------------
drivers/mfd/cgbc-core.c | 186 +++++++++++++++++++++++++++++++++++++++---
include/linux/mfd/cgbc.h | 16 ++++
3 files changed, 243 insertions(+), 67 deletions(-)
---
base-commit: ce1e0223d8ad4211275c82a17ed6d43ab81e13d9
change-id: 20260717-cgbc-i2c-storage-devices-support-b3ee7cea3320

Best regards,
--
Thomas Richard (congatec GmbH) <thomas.richard@xxxxxxxxxxx>