Skip to contentSkip to conversation

arm: multi_v7_defconfig: Enable CONFIG_BRIDGE and CONFIG_DP83848_PHY for TI AM57x, AM437x and AM335x

PATCH In review Parvathi Pudi 2 participants 3 messages Feb 28 – Mar 6 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: multi_v7_defconfig: Enable CONFIG_BRIDGE and CONFIG_DP83848_PHY for TI AM57x, AM437x and AM335x

Enable CONFIG_BRIDGE in multi_v7_defconfig as a module. This is to support STP/RSTP Switch mode using PRU-ICSS on TI SoCs.

Enable CONFIG_DP83848_PHY in multi_v7_defconfig since TI TLK10X PHY is used in TI SoCs and the support for TLK10X is available in DP83848.

---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/multi_v7_defconfig +2 -0
index f75d75cf91c8..f0a2971fb57f 100644
@@ -281,6 +281,8 @@ CONFIG_TI_KEYSTONE_NETCP=y
 CONFIG_TI_KEYSTONE_NETCP_ETHSS=y
 CONFIG_TI_PRUSS=m
 CONFIG_TI_PRUETH=m
+CONFIG_BRIDGE=m
+CONFIG_DP83848_PHY=m
 CONFIG_XILINX_EMACLITE=y
 CONFIG_SFP=m
 CONFIG_BROADCOM_PHY=y
Signature · 1 line
2.43.0
#1 lore raw
Quoted 3 lines · Parvathi Pudi

Enable CONFIG_BRIDGE in multi_v7_defconfig as a module. This is to support STP/RSTP Switch mode using PRU-ICSS on TI SoCs.

Which boards need it? We don't care for example for downstream TI SoCs.

Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597

Quoted 4 lines

Enable CONFIG_DP83848_PHY in multi_v7_defconfig since TI TLK10X PHY is used in TI SoCs and the support for TLK10X is available in DP83848.

Don't repeat the same twice. Once is enough.

Quoted 11 lines
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/multi_v7_defconfig +0 -0
index f75d75cf91c8..f0a2971fb57f 100644

arch/arm/configs/multi_v7_defconfig CONFIG_TI_KEYSTONE_NETCP=y · line 284

Quoted 4 lines
arch/arm/configs/multi_v7_defconfig +1 -0
@@ -281,6 +281,8 @@ CONFIG_TI_KEYSTONE_NETCP=y
 CONFIG_TI_KEYSTONE_NETCP_ETHSS=y
 CONFIG_TI_PRUSS=m
 CONFIG_TI_PRUETH=m
+CONFIG_BRIDGE=m

I don't see how this is related. Plus none of these two look properly placed.

Best regards,
Krzysztof

#2 lore raw

Hi,

Quoted 7 lines · Parvathi Pudi
Quoted 3 lines

Enable CONFIG_BRIDGE in multi_v7_defconfig as a module. This is to support STP/RSTP Switch mode using PRU-ICSS on TI SoCs.

Which boards need it? We don't care for example for downstream TI SoCs.

This is for AM57xx, AM437x and AM335x boards using PRU-ICSS in switch mode (STP/RSTP). Since STP/RSTP support has been merged to mainline recently, enabling BRIDGE as a module allows switch mode to work seamlessly.

We will add the SOC details and post the next version shortly.

Quoted 4 lines

Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597

Sure, we will address this in the next version.

Quoted 8 lines
Quoted 5 lines

Enable CONFIG_DP83848_PHY in multi_v7_defconfig since TI TLK10X PHY is used in TI SoCs and the support for TLK10X is available in DP83848.

Don't repeat the same twice. Once is enough.

We will clean up the commit message, remove the duplication.

Quoted 6 lines
Quoted 6 lines
---
 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)
Quoted 14 lines

arch/arm/configs/multi_v7_defconfig CONFIG_TI_KEYSTONE_NETCP=y · line 284

Quoted 10 lines
arch/arm/configs/multi_v7_defconfig +1 -0
index f75d75cf91c8..f0a2971fb57f 100644
@@ -281,6 +281,8 @@ CONFIG_TI_KEYSTONE_NETCP=y
 CONFIG_TI_KEYSTONE_NETCP_ETHSS=y
 CONFIG_TI_PRUSS=m
 CONFIG_TI_PRUETH=m
+CONFIG_BRIDGE=m

I don't see how this is related. Plus none of these two look properly placed.

We'll fix the config placement and address this in the next version.

Thanks and Regards,
Parvathi.