2021-12-21 15:22:04

by Vignesh Raghavendra

[permalink] [raw]
Subject: [PATCH v2] arm64: defconfig: Enable USB drivers for TI K3 SoC

Enable Cadence USB, TI USB and required SERDES drivers to support USB on
TI K3 SoCs.

Reported-by: Tom Rini <[email protected]>
Signed-off-by: Vignesh Raghavendra <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
---

v2:
Drop Cadence PCIe driver configs as they cannot be built as modules
based on feedback at [1].

v1: https://lore.kernel.org/r/[email protected]

[1] https://lore.kernel.org/linux-arm-kernel/CAK8P3a2VSBvOn1o+q1PYZaQ6LS9U4cz+DZGuDbisHkwNs2dAAw@mail.gmail.com/

arch/arm64/configs/defconfig | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f2e2b9bdd702..dfa34bd06949 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -822,6 +822,10 @@ CONFIG_USB_RENESAS_USBHS_HCD=m
CONFIG_USB_RENESAS_USBHS=m
CONFIG_USB_ACM=m
CONFIG_USB_STORAGE=y
+CONFIG_USB_CDNS_SUPPORT=m
+CONFIG_USB_CDNS3=m
+CONFIG_USB_CDNS3_GADGET=y
+CONFIG_USB_CDNS3_HOST=y
CONFIG_USB_MTU3=y
CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SUNXI=y
@@ -1123,6 +1127,7 @@ CONFIG_RESET_RZG2L_USBPHY_CTRL=y
CONFIG_RESET_TI_SCI=y
CONFIG_PHY_XGENE=y
CONFIG_PHY_SUN4I_USB=y
+CONFIG_PHY_CADENCE_SIERRA=m
CONFIG_PHY_MIXEL_MIPI_DPHY=m
CONFIG_PHY_HI6220_USB=y
CONFIG_PHY_HISTB_COMBPHY=y
@@ -1146,6 +1151,8 @@ CONFIG_PHY_SAMSUNG_UFS=y
CONFIG_PHY_UNIPHIER_USB2=y
CONFIG_PHY_UNIPHIER_USB3=y
CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_AM654_SERDES=m
+CONFIG_PHY_J721E_WIZ=m
CONFIG_ARM_SMMU_V3_PMU=m
CONFIG_FSL_IMX8_DDR_PMU=m
CONFIG_HISI_PMU=y
--
2.34.1



2022-01-24 20:38:26

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH v2] arm64: defconfig: Enable USB drivers for TI K3 SoC

On 20:51-20211221, Vignesh Raghavendra wrote:
> Enable Cadence USB, TI USB and required SERDES drivers to support USB on
> TI K3 SoCs.
>
> Reported-by: Tom Rini <[email protected]>
> Signed-off-by: Vignesh Raghavendra <[email protected]>
> Reviewed-by: Tom Rini <[email protected]>
> ---
>
> v2:
> Drop Cadence PCIe driver configs as they cannot be built as modules
> based on feedback at [1].
>
> v1: https://lore.kernel.org/r/[email protected]
>
> [1] https://lore.kernel.org/linux-arm-kernel/CAK8P3a2VSBvOn1o+q1PYZaQ6LS9U4cz+DZGuDbisHkwNs2dAAw@mail.gmail.com/
>

Picked this up for the next window.

Confirmed with bloat-o-meter that there is no addition to vmlinux

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D