Linux I2C development
 help / color / mirror / Atom feed
* [PATCH v8 00/11] Congatec Board Controller: Add storage devices support
@ 2026-11-30 14:28 Thomas Richard (congatec GmbH)
  2026-11-30 14:28 ` [PATCH v8 01/11] mfd: cgbc: Fix use of negative error code as valid session handle Thomas Richard (congatec GmbH)
                   ` (11 more replies)
  0 siblings, 12 replies; 21+ messages in thread
From: Thomas Richard (congatec GmbH) @ 2026-11-30 14:28 UTC (permalink / raw)
  To: Lee Jones, Andi Shyti
  Cc: Thomas Petazzoni, Werner Gartner, mfd, linux-kernel, linux-i2c,
	Thomas Richard (congatec GmbH), stable, Sashiko,
	Markus Haberlander

This is the 8th version. I just fixed a Sashiko's comment in PATCH 7.
Instead of checking if data returned by the Board Controller is zero, we
check if the computed frequency is zero to prevent a division by zero.

Best Regards,
Thomas

Signed-off-by: Thomas Richard (congatec GmbH) <thomas.richard@bootlin.com>
---
Changes in v8:
- PATCH 7: check if bus_frequency (instead of data) is zero. 
- Link to v7: https://patch.msgid.link/20261127-cgbc-i2c-storage-devices-support-v7-0-d0e70fc57879@bootlin.com

Changes in v7:
- Rebased on top of for-mfd-next.
- PATCH 2: add Andi's RB tag.
- PATCH 3: add Andi's AB tag, also remove Cc and Fixes tags.
- PATCH 7: initialize data to '0' and prevent potential division by '0'.
- PATCH 10: make the I2C bus probe fail if device instantiation fails.
- PATCH 11: add Markus' patch.
- Link to v6: https://patch.msgid.link/20261117-cgbc-i2c-storage-devices-support-v6-0-bb070ad3e9aa@bootlin.com

Changes in v6:
- rebased on top of next-20261116.
- add Lee's I2C patch (PATCH 2).
- Link to v5: https://patch.msgid.link/20261103-cgbc-i2c-storage-devices-support-v5-0-ac11f23fae51@bootlin.com

Changes in v5:
- mfd: fix error message in case we fail to get session handle.
- fix I2C bus names earlier in the series.
- Link to v4: https://patch.msgid.link/20261002-cgbc-i2c-storage-devices-support-v4-0-eb42e0f1df59@bootlin.com

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@bootlin.com

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@bootlin.com

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@bootlin.com

To: Thomas Richard <thomas.richard@bootlin.com>
To: Lee Jones <lee@kernel.org>
To: Andi Shyti <andi.shyti@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Werner Gartner <Werner.Gartner@congatec.com>
Cc: mfd@lists.linux.dev
Cc: linux-kernel@vger.kernel.org
Cc: linux-i2c@vger.kernel.org

---
Lee Jones (1):
      i2c: cgbc: Propagate hardware errors when polling read status

Markus Haberlander (1):
      i2c: cgbc: Fetch the status of a write transfer

Thomas Richard (congatec GmbH) (9):
      mfd: cgbc: Fix use of negative error code as valid session handle
      i2c: cgbc: Use real I2C bus names
      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
      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 | 164 ++++++++++++++++++++++--------------
 drivers/mfd/cgbc-core.c       | 187 +++++++++++++++++++++++++++++++++++++++---
 include/linux/mfd/cgbc.h      |  16 ++++
 3 files changed, 294 insertions(+), 73 deletions(-)
---
base-commit: 5a8fc2b762fdd22698dc10449a960a892e43192e
change-id: 20260717-cgbc-i2c-storage-devices-support-b3ee7cea3320

Best regards,
--  
Best Regards,
Thomas Richard


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2026-12-02 21:01 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 14:28 [PATCH v8 00/11] Congatec Board Controller: Add storage devices support Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 01/11] mfd: cgbc: Fix use of negative error code as valid session handle Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 02/11] i2c: cgbc: Propagate hardware errors when polling read status Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 03/11] i2c: cgbc: Use real I2C bus names Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 04/11] mfd: cgbc: Add I2C platform data Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 05/11] i2c: cgbc: Use plateform data to get bus ID and adapter name Thomas Richard (congatec GmbH)
2026-12-02 13:59   ` Andi Shyti
2026-12-02 21:00     ` Peter Korsgaard
2026-11-30 14:28 ` [PATCH v8 06/11] mfd: cgbc: Use PLATFORM_DEVID_AUTO for child device registration Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 07/11] i2c: cgbc: Add support for fixed frequency buses Thomas Richard (congatec GmbH)
2026-12-02 14:05   ` Andi Shyti
2026-11-30 14:28 ` [PATCH v8 08/11] mfd: cgbc: Add virtual I2C bus support Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 09/11] mfd: cgbc: Add virtual storage devices on the virtual I2C bus Thomas Richard (congatec GmbH)
2026-11-30 14:28 ` [PATCH v8 10/11] i2c: cgbc: Register known I2C devices on the bus Thomas Richard (congatec GmbH)
2026-12-02 14:18   ` Andi Shyti
2026-11-30 14:28 ` [PATCH v8 11/11] i2c: cgbc: Fetch the status of a write transfer Thomas Richard (congatec GmbH)
2026-12-02 14:21   ` Andi Shyti
2026-12-02 14:25 ` [PATCH v8 00/11] Congatec Board Controller: Add storage devices support Andi Shyti
2026-12-02 14:29   ` Thomas Richard
2026-12-02 15:15     ` Andi Shyti
2026-12-02 15:30       ` Thomas Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox