[PATCH v2 14/14] qcom_defconfig: enable USB

Neil Armstrong neil.armstrong at linaro.org
Fri Mar 15 18:25:59 CET 2024


On 15/03/2024 16:10, Caleb Connolly wrote:
> Enable support for the DWC3 USB controller and required dependencies for
> Qualcomm boards, specifically the DB845c:
> * IOMMU / SMMU
> * USB high-speed PHYs
> * Mass storage and ACM gadgets

I don't see configs for ACM ?

Neil

> 
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
>   configs/qcom_defconfig | 12 ++++++++++++
>   1 file changed, 12 insertions(+)
> 
> diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
> index eebd0d74bd51..3979c19052db 100644
> --- a/configs/qcom_defconfig
> +++ b/configs/qcom_defconfig
> @@ -12,8 +12,9 @@ CONFIG_BOOTSTD_FULL=y
>   CONFIG_BOOTDELAY=1
>   CONFIG_USE_PREBOOT=y
>   CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR=y
>   CONFIG_SYS_CBSIZE=512
> +# CONFIG_SYS_DEVICE_NULLDEV is not set
>   CONFIG_LOG_MAX_LEVEL=9
>   CONFIG_LOG_DEFAULT_LEVEL=4
>   # CONFIG_DISPLAY_CPUINFO is not set
>   CONFIG_DISPLAY_BOARDINFO_LATE=y
> @@ -22,14 +23,17 @@ CONFIG_CMD_CLK=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_UFS=y
>   CONFIG_CMD_USB=y
> +CONFIG_CMD_USB_MASS_STORAGE=y
> +CONFIG_CMD_UMS_ABORT_KEYED=y
>   CONFIG_CMD_CAT=y
>   CONFIG_CMD_BMP=y
>   CONFIG_CMD_LOG=y
>   CONFIG_OF_LIVE=y
>   # CONFIG_NET is not set
>   # CONFIG_OFNODE_MULTI_TREE is not set
> +CONFIG_DM_WARN=y
>   CONFIG_BUTTON_QCOM_PMIC=y
>   CONFIG_CLK=y
>   CONFIG_CLK_QCOM_QCS404=y
>   CONFIG_CLK_QCOM_SDM845=y
> @@ -37,17 +41,24 @@ CONFIG_MSM_GPIO=y
>   CONFIG_QCOM_PMIC_GPIO=y
>   CONFIG_DM_KEYBOARD=y
>   CONFIG_BUTTON_KEYBOARD=y
>   CONFIG_MMC_HS200_SUPPORT=y
> +CONFIG_IOMMU=y
> +CONFIG_QCOM_HYP_SMMU=y
> +CONFIG_MISC=y
>   CONFIG_MMC_SDHCI=y
>   CONFIG_MMC_SDHCI_ADMA=y
>   CONFIG_MMC_SDHCI_MSM=y
>   CONFIG_PHY=y
> +CONFIG_PHY_QCOM_QUSB2=y
> +CONFIG_PHY_QCOM_USB_HS_7NM=y
>   CONFIG_PINCTRL=y
>   CONFIG_PINCTRL_QCOM_QCS404=y
>   CONFIG_PINCTRL_QCOM_SDM845=y
>   CONFIG_DM_PMIC=y
>   CONFIG_PMIC_QCOM=y
> +CONFIG_DM_REGULATOR=y
> +CONFIG_DM_REGULATOR_FIXED=y
>   CONFIG_SCSI=y
>   CONFIG_MSM_SERIAL=y
>   CONFIG_MSM_GENI_SERIAL=y
>   CONFIG_SPMI_MSM=y
> @@ -56,8 +67,9 @@ CONFIG_SYSINFO_SMBIOS=y
>   CONFIG_USB=y
>   CONFIG_USB_XHCI_HCD=y
>   CONFIG_USB_XHCI_DWC3=y
>   CONFIG_USB_DWC3=y
> +CONFIG_USB_DWC3_GENERIC=y
>   CONFIG_UFS=y
>   CONFIG_VIDEO=y
>   # CONFIG_VIDEO_FONT_8X16 is not set
>   CONFIG_VIDEO_FONT_16X32=y
> 



More information about the U-Boot mailing list