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 <[email protected]>
---
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
On Wed, May 18, 2022 at 3:15 PM Michael Walle <[email protected]> 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 <[email protected]>
> ---
> 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
Arnd, Michael,
On 18/05/2022 at 16:52, Arnd Bergmann wrote:
> On Wed, May 18, 2022 at 3:15 PM Michael Walle <[email protected]> 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 <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
>> ---
>> 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