From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Chan Date: Sat, 07 Jun 2025 13:25:00 +0800 Subject: [PATCH v2 5/5] usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250607-sc7180-android-boot-v2-5-2df5d7f61124@gmail.com> References: <20250607-sc7180-android-boot-v2-0-2df5d7f61124@gmail.com> In-Reply-To: <20250607-sc7180-android-boot-v2-0-2df5d7f61124@gmail.com> To: Tom Rini , Casey Connolly , Neil Armstrong , Sumit Garg , Simon Glass , Mattijs Korpershoek , Lukasz Majewski , Marek Vasut Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io, gchan9527@gmail.com X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1749273923; l=1084; i=gchan9527@gmail.com; s=20241015; h=from:subject:message-id; bh=S0AG+VyanX+CuGcdZgk6ibcwvXZ+Mj4xoo26KL4TeaY=; b=SQa+N9sbwxRHbE0QJCqwaj7dpZN2em9INXQAG6a98Az7NvV3YSocV79e8KaXdRVjJI86qd4jF vrKdcioBCS4BfCOEWY05YjPiACWADwa27kOJGUS0KIy4n2yaq2OpEab X-Developer-Key: i=gchan9527@gmail.com; a=ed25519; pk=dscYWhT+BiQOBMpPE19NFQAjBBmcpipc6zdf2MTze/U= X-Endpoint-Received: by B4 Relay for gchan9527@gmail.com/20241015 with auth_id=248 List-Id: B4 Relay Submissions Currently vendor/product id are both 0, and that might not as we want. Set to some arbitary known value that we can make it work more smoothly. Signed-off-by: George Chan Reviewed-by: Neil Armstrong --- drivers/usb/gadget/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a83141481..2a56e360b5f 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -60,6 +60,7 @@ config USB_GADGET_VENDOR_NUM default 0x0955 if ARCH_TEGRA default 0x1f3a if ARCH_SUNXI default 0x2207 if ARCH_ROCKCHIP + default 0x18d1 if ARCH_QCOM default 0x0 help Vendor ID of the USB device emulated, reported to the host device. @@ -86,6 +87,7 @@ config USB_GADGET_PRODUCT_NUM default 0x350a if ROCKCHIP_RK3568 default 0x350b if ROCKCHIP_RK3588 default 0x350c if ROCKCHIP_RK3528 + default 0x4ee0 if ARCH_QCOM default 0x0 help Product ID of the USB device emulated, reported to the host device. -- 2.43.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60A16C61CE7 for ; Sat, 7 Jun 2025 12:24:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5136D82BAA; Sat, 7 Jun 2025 14:23:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="nE4Iq3kc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC067826AA; Sat, 7 Jun 2025 07:25:32 +0200 (CEST) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F293A82AE1 for ; Sat, 7 Jun 2025 07:25:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=devnull+gchan9527.gmail.com@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 297344AB35; Sat, 7 Jun 2025 05:25:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 67AA5C4CEF6; Sat, 7 Jun 2025 05:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749273926; bh=7lqXFXh/FhfmiJPmGn8dF0KXygaQyNtLhwjtvRL3fH4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=nE4Iq3kcDKaY5HTESyqnblUk5NNjpIV1PljdN9/qOIVKeZOlF09dnACrPGxoDO0wZ 1apJX3RoZzalwxJEc/kvckiMtrh88QJPPLtcSYKJ0wrTSZ15W/aGe5RTaQ2XshA6NE Uspl32bbsOujtAvSszURf9W+11Nn8sg/kz/JmH+A8+dPGts5o8zZF7sk9W5nkoWlkq H3i7ke4rd0N1S48SUCIHGJPFK7FQYLIIL4ZAkPl2z+7pNapbuaYoHdsYRzdQqZ6IDQ TOrEHDZ7GwlDiv2RNdI8RRcu5aEXZ7TdCC7XnFkjUJJZWX6jCwFAL41n1DKisrY1dH S6pvd65lAoaLg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FE2AC61DB2; Sat, 7 Jun 2025 05:25:26 +0000 (UTC) From: George Chan via B4 Relay Date: Sat, 07 Jun 2025 13:25:00 +0800 Subject: [PATCH v2 5/5] usb: gadget: Introduce usb gadget vendor/product default id for ARCH_QCOM MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250607-sc7180-android-boot-v2-5-2df5d7f61124@gmail.com> References: <20250607-sc7180-android-boot-v2-0-2df5d7f61124@gmail.com> In-Reply-To: <20250607-sc7180-android-boot-v2-0-2df5d7f61124@gmail.com> To: Tom Rini , Casey Connolly , Neil Armstrong , Sumit Garg , Simon Glass , Mattijs Korpershoek , Lukasz Majewski , Marek Vasut Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io, gchan9527@gmail.com X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1749273923; l=1084; i=gchan9527@gmail.com; s=20241015; h=from:subject:message-id; bh=S0AG+VyanX+CuGcdZgk6ibcwvXZ+Mj4xoo26KL4TeaY=; b=SQa+N9sbwxRHbE0QJCqwaj7dpZN2em9INXQAG6a98Az7NvV3YSocV79e8KaXdRVjJI86qd4jF vrKdcioBCS4BfCOEWY05YjPiACWADwa27kOJGUS0KIy4n2yaq2OpEab X-Developer-Key: i=gchan9527@gmail.com; a=ed25519; pk=dscYWhT+BiQOBMpPE19NFQAjBBmcpipc6zdf2MTze/U= X-Endpoint-Received: by B4 Relay for gchan9527@gmail.com/20241015 with auth_id=248 X-Original-From: George Chan X-Mailman-Approved-At: Sat, 07 Jun 2025 14:23:14 +0200 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: , Reply-To: gchan9527@gmail.com 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 From: George Chan Currently vendor/product id are both 0, and that might not as we want. Set to some arbitary known value that we can make it work more smoothly. Signed-off-by: George Chan Reviewed-by: Neil Armstrong --- drivers/usb/gadget/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a83141481..2a56e360b5f 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -60,6 +60,7 @@ config USB_GADGET_VENDOR_NUM default 0x0955 if ARCH_TEGRA default 0x1f3a if ARCH_SUNXI default 0x2207 if ARCH_ROCKCHIP + default 0x18d1 if ARCH_QCOM default 0x0 help Vendor ID of the USB device emulated, reported to the host device. @@ -86,6 +87,7 @@ config USB_GADGET_PRODUCT_NUM default 0x350a if ROCKCHIP_RK3568 default 0x350b if ROCKCHIP_RK3588 default 0x350c if ROCKCHIP_RK3528 + default 0x4ee0 if ARCH_QCOM default 0x0 help Product ID of the USB device emulated, reported to the host device. -- 2.43.0