Skip to contentSkip to conversation

lan966x pci device: Add support for SFPs, I2C dependency part

PATCH Superseded Herve Codina 2 participants 4 messages May 11 – Jun 5 I2C subsystem host drivers

v7 of 14 Superseded Latest is v14 →

lore
Share & tools
lore
#0 lore raw

v7 cover lan966x pci device: Add support for SFPs, I2C dependency part

Hi,

Previously, I sent a big picture series adding support for SFP ports available on the LAN966x PCI device [0].

In this series patches touch several parts and sub-system in the kernel. Reviews have be done and it makes sense to split the series and send parts separately.

This current series is the extraction of a patch related to an I2C build dependency issues.

[0] https://lore.kernel.org/all/[email protected]/

Best regards,
Hervé

Changes:

v6 -> v7

Rebase on top v7.1-rc1

- Patch 1
No changes

Older iterations:
Patches 19 in the big picture series
https://lore.kernel.org/all/[email protected]/

Herve Codina (1):
i2c: busses: at91: Add MCHP_LAN966X_PCI dependency

 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.54.0
#1 lore raw

PATCH v7 1/1 i2c: busses: at91: Add MCHP_LAN966X_PCI dependency

The AT91 I2C driver depends on ARCH_MICROCHIP.

This I2C controller can be used by the LAN966x PCI device and so it needs to be available when the LAN966x PCI device is enabled.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/Kconfig +1 -1
index 8c935f867a37..3b6b6c4efc32 100644
@@ -417,7 +417,7 @@ config I2C_ASPEED
 
 config I2C_AT91
 	tristate "Atmel AT91 I2C Two-Wire interface (TWI)"
-	depends on ARCH_MICROCHIP || COMPILE_TEST
+	depends on ARCH_MICROCHIP || MCHP_LAN966X_PCI || COMPILE_TEST
 	help
 	  This supports the use of the I2C interface on Atmel AT91
 	  processors.
Signature · 1 line
2.54.0
#3 lore raw

Re: [PATCH v7 1/1] i2c: busses: at91: Add MCHP_LAN966X_PCI dependency

In reply to Herve Codina

Hi Andy,

Quoted 11 lines · On Mon, 11 May 2026 18:13:49 +0200 Herve Codina <[email protected]>…

The AT91 I2C driver depends on ARCH_MICROCHIP.

This I2C controller can be used by the LAN966x PCI device and so it needs to be available when the LAN966x PCI device is enabled.

---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

IMHO the patch is ready to be applied.

Do you think something is missing?

Best regards,
Hervé