All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: configs: enable support for Kontron KSwitch D10
@ 2022-05-18 14:15 ` Michael Walle
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Walle @ 2022-05-18 14:15 UTC (permalink / raw)
  To: Russell King, Arnd Bergmann, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, soc, Michael Walle

The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
managed ethernet network switch with either 8 copper ports or 6 copper
ports and 2 SFP cages.

Enable all required kconfig symbols, either as module where possible or
compiled-in where it is not possible.

Signed-off-by: Michael Walle <michael@walle.cc>
---
FWIW, there will be a board in our lab in KernelCI using this config.

 arch/arm/configs/multi_v7_defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 547918170f1f..a858ba971340 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -17,6 +17,7 @@ CONFIG_SOC_SAMA5D2=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
 CONFIG_SOC_SAMA7G5=y
+CONFIG_SOC_LAN966=y
 CONFIG_ARCH_BCM=y
 CONFIG_ARCH_BCM_CYGNUS=y
 CONFIG_ARCH_BCM_HR2=y
@@ -277,6 +278,7 @@ CONFIG_MV643XX_ETH=y
 CONFIG_MVNETA=y
 CONFIG_PXA168_ETH=m
 CONFIG_KS8851=y
+CONFIG_LAN966X_SWITCH=m
 CONFIG_R8169=y
 CONFIG_SH_ETH=y
 CONFIG_SMSC911X=y
@@ -287,6 +289,7 @@ CONFIG_TI_CPSW=y
 CONFIG_TI_CPSW_SWITCHDEV=y
 CONFIG_TI_CPTS=y
 CONFIG_XILINX_EMACLITE=y
+CONFIG_SFP=m
 CONFIG_BROADCOM_PHY=y
 CONFIG_ICPLUS_PHY=y
 CONFIG_MARVELL_PHY=y
@@ -294,6 +297,7 @@ CONFIG_AT803X_PHY=y
 CONFIG_ROCKCHIP_PHY=y
 CONFIG_DP83867_PHY=y
 CONFIG_USB_BRCMSTB=m
+CONFIG_MDIO_MSCC_MIIM=m
 CONFIG_USB_PEGASUS=y
 CONFIG_USB_RTL8152=m
 CONFIG_USB_LAN78XX=m
@@ -430,6 +434,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=m
 CONFIG_I2C_SLAVE_EEPROM=y
 CONFIG_SPI=y
 CONFIG_SPI_ATMEL=m
+CONFIG_SPI_ATMEL_QUADSPI=m
 CONFIG_SPI_BCM2835=y
 CONFIG_SPI_BCM2835AUX=y
 CONFIG_SPI_CADENCE=y
@@ -459,6 +464,8 @@ CONFIG_SPMI=y
 CONFIG_PTP_1588_CLOCK=y
 CONFIG_PINCTRL_AS3722=y
 CONFIG_PINCTRL_STMFX=y
+CONFIG_PINCTRL_MICROCHIP_SGPIO=y
+CONFIG_PINCTRL_OCELOT=y
 CONFIG_PINCTRL_PALMAS=y
 CONFIG_PINCTRL_OWL=y
 CONFIG_PINCTRL_S500=y
@@ -517,6 +524,7 @@ CONFIG_CHARGER_TPS65090=y
 CONFIG_SENSORS_ARM_SCMI=y
 CONFIG_SENSORS_ASPEED=m
 CONFIG_SENSORS_IIO_HWMON=y
+CONFIG_SENSORS_LAN966X=m
 CONFIG_SENSORS_LM90=y
 CONFIG_SENSORS_LM95245=y
 CONFIG_SENSORS_NTC_THERMISTOR=m
@@ -1018,6 +1026,7 @@ CONFIG_CROS_EC_SPI=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_RK808=m
 CONFIG_COMMON_CLK_SCMI=y
+CONFIG_COMMON_CLK_LAN966X=y
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_CLK_RASPBERRYPI=y
 CONFIG_COMMON_CLK_QCOM=y
@@ -1145,6 +1154,7 @@ CONFIG_PWM_SUN4I=y
 CONFIG_PWM_TEGRA=y
 CONFIG_PWM_VT8500=y
 CONFIG_KEYSTONE_IRQ=y
+CONFIG_RESET_MCHP_SPARX5=y
 CONFIG_PHY_SUN4I_USB=y
 CONFIG_PHY_SUN9I_USB=y
 CONFIG_PHY_HIX5HD2_SATA=y
@@ -1152,6 +1162,7 @@ CONFIG_PHY_BERLIN_SATA=y
 CONFIG_PHY_BERLIN_USB=y
 CONFIG_PHY_BRCM_USB=m
 CONFIG_PHY_MMP3_USB=m
+CONFIG_PHY_LAN966X_SERDES=m
 CONFIG_PHY_CPCAP_USB=m
 CONFIG_PHY_QCOM_APQ8064_SATA=m
 CONFIG_PHY_QCOM_USB_HS=y
-- 
2.30.2


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

* [PATCH] ARM: configs: enable support for Kontron KSwitch D10
@ 2022-05-18 14:15 ` Michael Walle
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Walle @ 2022-05-18 14:15 UTC (permalink / raw)
  To: Russell King, Arnd Bergmann, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, soc, Michael Walle

The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
managed ethernet network switch with either 8 copper ports or 6 copper
ports and 2 SFP cages.

Enable all required kconfig symbols, either as module where possible or
compiled-in where it is not possible.

Signed-off-by: Michael Walle <michael@walle.cc>
---
FWIW, there will be a board in our lab in KernelCI using this config.

 arch/arm/configs/multi_v7_defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 547918170f1f..a858ba971340 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -17,6 +17,7 @@ CONFIG_SOC_SAMA5D2=y
 CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
 CONFIG_SOC_SAMA7G5=y
+CONFIG_SOC_LAN966=y
 CONFIG_ARCH_BCM=y
 CONFIG_ARCH_BCM_CYGNUS=y
 CONFIG_ARCH_BCM_HR2=y
@@ -277,6 +278,7 @@ CONFIG_MV643XX_ETH=y
 CONFIG_MVNETA=y
 CONFIG_PXA168_ETH=m
 CONFIG_KS8851=y
+CONFIG_LAN966X_SWITCH=m
 CONFIG_R8169=y
 CONFIG_SH_ETH=y
 CONFIG_SMSC911X=y
@@ -287,6 +289,7 @@ CONFIG_TI_CPSW=y
 CONFIG_TI_CPSW_SWITCHDEV=y
 CONFIG_TI_CPTS=y
 CONFIG_XILINX_EMACLITE=y
+CONFIG_SFP=m
 CONFIG_BROADCOM_PHY=y
 CONFIG_ICPLUS_PHY=y
 CONFIG_MARVELL_PHY=y
@@ -294,6 +297,7 @@ CONFIG_AT803X_PHY=y
 CONFIG_ROCKCHIP_PHY=y
 CONFIG_DP83867_PHY=y
 CONFIG_USB_BRCMSTB=m
+CONFIG_MDIO_MSCC_MIIM=m
 CONFIG_USB_PEGASUS=y
 CONFIG_USB_RTL8152=m
 CONFIG_USB_LAN78XX=m
@@ -430,6 +434,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=m
 CONFIG_I2C_SLAVE_EEPROM=y
 CONFIG_SPI=y
 CONFIG_SPI_ATMEL=m
+CONFIG_SPI_ATMEL_QUADSPI=m
 CONFIG_SPI_BCM2835=y
 CONFIG_SPI_BCM2835AUX=y
 CONFIG_SPI_CADENCE=y
@@ -459,6 +464,8 @@ CONFIG_SPMI=y
 CONFIG_PTP_1588_CLOCK=y
 CONFIG_PINCTRL_AS3722=y
 CONFIG_PINCTRL_STMFX=y
+CONFIG_PINCTRL_MICROCHIP_SGPIO=y
+CONFIG_PINCTRL_OCELOT=y
 CONFIG_PINCTRL_PALMAS=y
 CONFIG_PINCTRL_OWL=y
 CONFIG_PINCTRL_S500=y
@@ -517,6 +524,7 @@ CONFIG_CHARGER_TPS65090=y
 CONFIG_SENSORS_ARM_SCMI=y
 CONFIG_SENSORS_ASPEED=m
 CONFIG_SENSORS_IIO_HWMON=y
+CONFIG_SENSORS_LAN966X=m
 CONFIG_SENSORS_LM90=y
 CONFIG_SENSORS_LM95245=y
 CONFIG_SENSORS_NTC_THERMISTOR=m
@@ -1018,6 +1026,7 @@ CONFIG_CROS_EC_SPI=m
 CONFIG_COMMON_CLK_MAX77686=y
 CONFIG_COMMON_CLK_RK808=m
 CONFIG_COMMON_CLK_SCMI=y
+CONFIG_COMMON_CLK_LAN966X=y
 CONFIG_COMMON_CLK_S2MPS11=m
 CONFIG_CLK_RASPBERRYPI=y
 CONFIG_COMMON_CLK_QCOM=y
@@ -1145,6 +1154,7 @@ CONFIG_PWM_SUN4I=y
 CONFIG_PWM_TEGRA=y
 CONFIG_PWM_VT8500=y
 CONFIG_KEYSTONE_IRQ=y
+CONFIG_RESET_MCHP_SPARX5=y
 CONFIG_PHY_SUN4I_USB=y
 CONFIG_PHY_SUN9I_USB=y
 CONFIG_PHY_HIX5HD2_SATA=y
@@ -1152,6 +1162,7 @@ CONFIG_PHY_BERLIN_SATA=y
 CONFIG_PHY_BERLIN_USB=y
 CONFIG_PHY_BRCM_USB=m
 CONFIG_PHY_MMP3_USB=m
+CONFIG_PHY_LAN966X_SERDES=m
 CONFIG_PHY_CPCAP_USB=m
 CONFIG_PHY_QCOM_APQ8064_SATA=m
 CONFIG_PHY_QCOM_USB_HS=y
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: configs: enable support for Kontron KSwitch D10
  2022-05-18 14:15 ` Michael Walle
@ 2022-05-18 14:52   ` Arnd Bergmann
  -1 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2022-05-18 14:52 UTC (permalink / raw)
  To: Michael Walle
  Cc: Russell King, Arnd Bergmann, Olof Johansson, Linux ARM,
	Linux Kernel Mailing List, SoC Team, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea

On Wed, May 18, 2022 at 3:15 PM Michael Walle <michael@walle.cc> wrote:
>
> The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
> managed ethernet network switch with either 8 copper ports or 6 copper
> ports and 2 SFP cages.
>
> Enable all required kconfig symbols, either as module where possible or
> compiled-in where it is not possible.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> FWIW, there will be a board in our lab in KernelCI using this config.

The patch looks ok to me, but normally I'd expect it to go through the
platform maintainer tree unless there is a reason not to. Adding the at91
maintainers to Cc here.

It's also a bit late for 5.19, but if everyone agrees, I can add the patch
to the arm/late branch.

       Arnd

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

* Re: [PATCH] ARM: configs: enable support for Kontron KSwitch D10
@ 2022-05-18 14:52   ` Arnd Bergmann
  0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2022-05-18 14:52 UTC (permalink / raw)
  To: Michael Walle
  Cc: Alexandre Belloni, Arnd Bergmann, Linux Kernel Mailing List,
	Russell King, SoC Team, Olof Johansson, Claudiu Beznea,
	Linux ARM

On Wed, May 18, 2022 at 3:15 PM Michael Walle <michael@walle.cc> wrote:
>
> The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
> managed ethernet network switch with either 8 copper ports or 6 copper
> ports and 2 SFP cages.
>
> Enable all required kconfig symbols, either as module where possible or
> compiled-in where it is not possible.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> FWIW, there will be a board in our lab in KernelCI using this config.

The patch looks ok to me, but normally I'd expect it to go through the
platform maintainer tree unless there is a reason not to. Adding the at91
maintainers to Cc here.

It's also a bit late for 5.19, but if everyone agrees, I can add the patch
to the arm/late branch.

       Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: configs: enable support for Kontron KSwitch D10
  2022-05-18 14:52   ` Arnd Bergmann
@ 2022-05-18 16:00     ` Nicolas Ferre
  -1 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2022-05-18 16:00 UTC (permalink / raw)
  To: Arnd Bergmann, Michael Walle
  Cc: Russell King, Olof Johansson, Linux ARM,
	Linux Kernel Mailing List, SoC Team, Alexandre Belloni,
	Claudiu Beznea, Horatiu Vultur - M31836

Arnd, Michael,

On 18/05/2022 at 16:52, Arnd Bergmann wrote:
> On Wed, May 18, 2022 at 3:15 PM Michael Walle <michael@walle.cc> wrote:
>>
>> The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
>> managed ethernet network switch with either 8 copper ports or 6 copper
>> ports and 2 SFP cages.
>>
>> Enable all required kconfig symbols, either as module where possible or
>> compiled-in where it is not possible.
>>
>> Signed-off-by: Michael Walle <michael@walle.cc>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

>> ---
>> FWIW, there will be a board in our lab in KernelCI using this config.
> 
> The patch looks ok to me, but normally I'd expect it to go through the
> platform maintainer tree unless there is a reason not to. Adding the at91
> maintainers to Cc here.
> 
> It's also a bit late for 5.19, but if everyone agrees, I can add the patch
> to the arm/late branch.

If it's possible for you Arnd, I do agree that you take it in the 
arm/late branch.

Thanks, best regards,
   Nicolas

-- 
Nicolas Ferre

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

* Re: [PATCH] ARM: configs: enable support for Kontron KSwitch D10
@ 2022-05-18 16:00     ` Nicolas Ferre
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2022-05-18 16:00 UTC (permalink / raw)
  To: Arnd Bergmann, Michael Walle
  Cc: Russell King, Olof Johansson, Linux ARM,
	Linux Kernel Mailing List, SoC Team, Alexandre Belloni,
	Claudiu Beznea, Horatiu Vultur - M31836

Arnd, Michael,

On 18/05/2022 at 16:52, Arnd Bergmann wrote:
> On Wed, May 18, 2022 at 3:15 PM Michael Walle <michael@walle.cc> wrote:
>>
>> The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
>> managed ethernet network switch with either 8 copper ports or 6 copper
>> ports and 2 SFP cages.
>>
>> Enable all required kconfig symbols, either as module where possible or
>> compiled-in where it is not possible.
>>
>> Signed-off-by: Michael Walle <michael@walle.cc>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

>> ---
>> FWIW, there will be a board in our lab in KernelCI using this config.
> 
> The patch looks ok to me, but normally I'd expect it to go through the
> platform maintainer tree unless there is a reason not to. Adding the at91
> maintainers to Cc here.
> 
> It's also a bit late for 5.19, but if everyone agrees, I can add the patch
> to the arm/late branch.

If it's possible for you Arnd, I do agree that you take it in the 
arm/late branch.

Thanks, best regards,
   Nicolas

-- 
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] ARM: configs: enable support for Kontron KSwitch D10
  2022-05-18 14:15 ` Michael Walle
  (?)
  (?)
@ 2022-05-27 14:20 ` patchwork-bot+linux-soc
  -1 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+linux-soc @ 2022-05-27 14:20 UTC (permalink / raw)
  To: Michael Walle; +Cc: soc

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Wed, 18 May 2022 16:15:42 +0200 you wrote:
> The Kontron KSwitch D10 is based on a Microchip LAN9668 SoC. It is a
> managed ethernet network switch with either 8 copper ports or 6 copper
> ports and 2 SFP cages.
> 
> Enable all required kconfig symbols, either as module where possible or
> compiled-in where it is not possible.
> 
> [...]

Here is the summary with links:
  - ARM: configs: enable support for Kontron KSwitch D10
    https://git.kernel.org/soc/soc/c/01ba87a4b792

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2022-05-27 14:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 14:15 [PATCH] ARM: configs: enable support for Kontron KSwitch D10 Michael Walle
2022-05-18 14:15 ` Michael Walle
2022-05-18 14:52 ` Arnd Bergmann
2022-05-18 14:52   ` Arnd Bergmann
2022-05-18 16:00   ` Nicolas Ferre
2022-05-18 16:00     ` Nicolas Ferre
2022-05-27 14:20 ` patchwork-bot+linux-soc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.