From patchwork Fri Mar 15 15:10:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 780524 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp254036wrs; Fri, 15 Mar 2024 08:13:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU7E60BNMjB5uqyMw5LN2WqfMkpgySsElseiD4wpvnxlIuE5t6v1nNAxs4Rej2DeH8hTTxK1ghJam5gKde04jG0 X-Google-Smtp-Source: AGHT+IGVgkos4+6JdAYhu19asA83SqbXAysG2bZhZH3/kugmxgGF+Jjj+FKOtZjegCHsjf+u8omI X-Received: by 2002:adf:fdcc:0:b0:33e:c3ca:e9ff with SMTP id i12-20020adffdcc000000b0033ec3cae9ffmr3685306wrs.61.1710515587514; Fri, 15 Mar 2024 08:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710515587; cv=none; d=google.com; s=arc-20160816; b=tpu5XEDA4ByWRNgzlyLKPDp0tvApYUmyZhan5krh27gkhQrs5bR7WcwizviE8OIZOu aR2SAgyXDq8/KeoFUuTlYQeuavp+m8Az/fZ+gC3O1zc/yLxjBQfYrwDdzvsp5L7768oD TqVrJlIH4tLP1mzyKAwxudY8GrVVLp2bMo1xZUY4I06xq/wGmDvZgiD6EhmcwJgjEI/w kONxUZPIXjTBczxMK4mPdqcRAIR41yZQEh7gbsJxD1ZuxYuMUulrg6OVnacFeDs1Tdr5 Hyfo4SW96hdmNlcoSzCuC064pczIyGEZO7T7OXUWxppbTlLj3fhQjUL7mQn/WJ/0XlKH 2vnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=UcNVMhc5pd57BJAWg7CEaXltJXrT2vPxwLAptj91np4=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=Mg7G8vPR5PqDTXlzJm4fo+0BWo9ii5qncW81AexRkrbarM7xaUz+6wl99T82htxy8U Iyx/gp8BvJmKImk+h4vGn8uOy+cL8XAfno+3l2xABjjB0ZzgYDDVQlXfPYCrIcLGt6df F/c3W7ZKusyVpyco9qKfrTPFtC+qubfp0SqOnAG7gDH3eaaR/aqU0Ws5zL1+9ILVFk+x HPtsYHnZUvra5DHwdhWGyPEf9SKjV6/O+CGzdKOlTCOHLn2+2T7VBne/q73iDt83WfKn VTWOalK1cXViqTmlhwMKh8creiP8ZFHfdlHynE+CXKW+3cw2RhEXsCud3pNKiABbxzz+ kiaw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Svn5zNVM; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id c11-20020a5d414b000000b0033e918d8579si1706235wrq.617.2024.03.15.08.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 08:13:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Svn5zNVM; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7830E88064; Fri, 15 Mar 2024 16:10:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Svn5zNVM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BFD8B88058; Fri, 15 Mar 2024 16:10:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 582C887FEE for ; Fri, 15 Mar 2024 16:10:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33e285a33bdso1317666f8f.2 for ; Fri, 15 Mar 2024 08:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710515442; x=1711120242; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UcNVMhc5pd57BJAWg7CEaXltJXrT2vPxwLAptj91np4=; b=Svn5zNVM4+0CyeE42+ugUDOK+Z0iZy0ayIY3JMON+rfFUEwfxaKGMRVqEtOO6Zx+aT /ABtlBb1SHkQHI1xvrUBI9NBGwK/OI178F8WinEpT2V/cNgrTQuMcrR1Z7TEnRLGSQa/ BIzU+ydzZ1h0G/02d7YDAofzWbuN0hkdOORfE+faqFykJ6bvBD496kXUde0DXa2pDR/5 DCEejd7DlcXMbCuDVLFOBQQ6GIOjOubaYkoARrZmNtr2u0jRkUZbUYiSoS6L+rSaqUL1 1VZjdbYfEYs4+j0Dv3i91uf0vXDvGIk5mzpoPoIUJMz8jPecHtMuJ6p1eo1QibKkQl3B DCow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710515442; x=1711120242; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UcNVMhc5pd57BJAWg7CEaXltJXrT2vPxwLAptj91np4=; b=XnAvurIYLQTBw3zCuMPM0nPRgbbtMt+yCx8KOUACY/5mWJTN+uFzgLuMFsz9YEtUrU UmFYgByHut/SI+VWwdGKxMqDE2wgx6xtKvAJSC/U+yWGjCP10DLjjXugSYhfd7tazfkT OXDHtEka54ly4CkxYPbwG/nsk66vlreOqfPP8+XfR5dl00HFMBIZ5qHzacOSwVbi81cG B6Frjo0MpqxPVtpf2Ze5/WneR5lBAoCjJ3nFicOilKOJbpqroSX1mm95EMxT87PVqrhJ zK3DdDVk352sjmsNcZ82erXUymlZzmdXfqSp5E/rgSRwBWYhn256Ox5oGDHftDH7S9eU tbyg== X-Gm-Message-State: AOJu0YwyXHZG4NfENgLRT/BkQ59Z0PDyoFk8GQzCRvWv9ysVg34kaPln zO+IKwkxf6kzw23ZHKK4PRGOnfbjdg/r3yuBFan/22zNOxe9eL5PiNpYMtXOMuHS9rKh3KHHOu9 h X-Received: by 2002:adf:a2d6:0:b0:33e:7a85:7244 with SMTP id t22-20020adfa2d6000000b0033e7a857244mr3585099wra.35.1710515442738; Fri, 15 Mar 2024 08:10:42 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id n6-20020a5d4006000000b0033e699fc6b4sm3398141wrp.69.2024.03.15.08.10.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 08:10:42 -0700 (PDT) From: Caleb Connolly Date: Fri, 15 Mar 2024 15:10:23 +0000 Subject: [PATCH v2 14/14] qcom_defconfig: enable USB MIME-Version: 1.0 Message-Id: <20240315-b4-qcom-livetree-v2-14-ab635774b2dc@linaro.org> References: <20240315-b4-qcom-livetree-v2-0-ab635774b2dc@linaro.org> In-Reply-To: <20240315-b4-qcom-livetree-v2-0-ab635774b2dc@linaro.org> To: Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg , Lukasz Majewski , Sean Anderson Cc: u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2128; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=wl9BzprwKPg29hyT0yDv2ltLCWGR/3EDXgkc/6tNd8M=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtQvKU8c/M6u5Nny9t2Oy7MZRa/+uGXrmFXYvcpYLrNdI PHA43fnOkpZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBE1iQyMqxkfL9g5jQZ96Ls /oDf/9JPm4TGX2RwrH5tXmeeeG9WTizD/6CcnHVlldXb4hdUOZ76mSwq1vCHwSHkzsSHr85ujp+ 5ThgA X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 Signed-off-by: Caleb Connolly --- 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