The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v7 0/1] lan966x pci device: Add support for SFPs, I2C dependency part
@ 2026-05-11 16:13 Herve Codina
  2026-05-11 16:13 ` [PATCH v7 1/1] i2c: busses: at91: Add MCHP_LAN966X_PCI dependency Herve Codina
  0 siblings, 1 reply; 2+ messages in thread
From: Herve Codina @ 2026-05-11 16:13 UTC (permalink / raw)
  To: Wolfram Sang, Andi Shyti
  Cc: linux-i2c, linux-kernel, Allan Nielsen, Horatiu Vultur,
	Daniel Machon, Steen Hegelund, Luca Ceresoli, Thomas Petazzoni,
	Herve Codina

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/20260325143555.451852-1-herve.codina@bootlin.com/

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/20260325143555.451852-1-herve.codina@bootlin.com/

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

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

-- 
2.54.0


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

* [PATCH v7 1/1] i2c: busses: at91: Add MCHP_LAN966X_PCI dependency
  2026-05-11 16:13 [PATCH v7 0/1] lan966x pci device: Add support for SFPs, I2C dependency part Herve Codina
@ 2026-05-11 16:13 ` Herve Codina
  0 siblings, 0 replies; 2+ messages in thread
From: Herve Codina @ 2026-05-11 16:13 UTC (permalink / raw)
  To: Wolfram Sang, Andi Shyti
  Cc: linux-i2c, linux-kernel, Allan Nielsen, Horatiu Vultur,
	Daniel Machon, Steen Hegelund, Luca Ceresoli, Thomas Petazzoni,
	Herve Codina

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.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
---
 drivers/i2c/busses/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 8c935f867a37..3b6b6c4efc32 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -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.
-- 
2.54.0


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

end of thread, other threads:[~2026-05-11 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 16:13 [PATCH v7 0/1] lan966x pci device: Add support for SFPs, I2C dependency part Herve Codina
2026-05-11 16:13 ` [PATCH v7 1/1] i2c: busses: at91: Add MCHP_LAN966X_PCI dependency Herve Codina

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