From patchwork Wed Jan 31 14:57:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 768495 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1899206wro; Wed, 31 Jan 2024 06:57:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEsSMMgsnJsOD/JsrE0nXTys58b/5nu8yPEVpWzhUSFBIhs41uxPKiYoQACf2NjxADmMC07 X-Received: by 2002:a5d:47c5:0:b0:33b:599:dcf5 with SMTP id o5-20020a5d47c5000000b0033b0599dcf5mr1666481wrc.60.1706713070397; Wed, 31 Jan 2024 06:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706713070; cv=none; d=google.com; s=arc-20160816; b=YVZ0qaVyrQVBadcYb7reNX/HkbrOFPMkG+XEyI9KH1zfnjdf3BsoCXW2oJZY5b1kXJ sUA/6L+2pfx9/nvE5vh9iMMsCJS38scaRutMEFjmDsiCt8nuAJlribWXyw709SfJ/5xI ZW0gEHFye3LNZtZfaZGtWaBVx9+2u0n0V0U/JZpa6GzUTkJ026thTKIpdwga1p+81WqH PXTcAxPokTj6iQ9+zYsPanD+AQz8hXUoYTsjIoaXEd+hPm8OHtH4MaKbfY6WF0KMg84j 03HYQI0OY7hU2yf4JswlBtl1AWHcZ7SNsXiyFQ6Bsf8OBduWS9cdc1A+x25NyCzfamHj bEvw== 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=bGNsezs2u9n1en3GSHy8xckGQLvUavYo9GOoiPo/ivg=; fh=UJLfQHigVNNxRTyupVH3iuVYJLWMjRXGBkTXuIfaL+0=; b=mYvdeR/vd+pBLU/jrzWxId5HMLybjso/0+fozQYS58cddh44xcoWIZ0SjWnwb5pq22 HtiBpOoSPomgPdF7qDlCtK6G1P5Se+G8N2KfXDMockhn5ZAzaqfKlJfUNHHhZOSC1Z0/ Z90gPF+W/eiC33uUzKcqID8zcbs6lGpXO0ljLP09pV8XSgFHJ4Iii1DjWiVjpykds6jL GJsYGQm7HVEhgfVk2I9+85wyVgPgytuUkNq3i2//1eDr4lh6ef8bkjGZpYz8kgSIf6kT VG7ChN9hBjjHxiU1DX+u11xc/gb+Ac6n5+SXGx4qeGoorb050wNOISKI2MPaKeighcvh 7ynA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cwJVwG3M; 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 i15-20020a5d630f000000b0033aeb35f2fdsi4188887wru.514.2024.01.31.06.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 06:57:50 -0800 (PST) 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=cwJVwG3M; 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 81B5287D07; Wed, 31 Jan 2024 15:57:38 +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="cwJVwG3M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D651087C09; Wed, 31 Jan 2024 15:57:36 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 61F1087D1A for ; Wed, 31 Jan 2024 15:57:33 +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-x42c.google.com with SMTP id ffacd0b85a97d-33ae51f8111so2748080f8f.2 for ; Wed, 31 Jan 2024 06:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706713053; x=1707317853; 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=bGNsezs2u9n1en3GSHy8xckGQLvUavYo9GOoiPo/ivg=; b=cwJVwG3M/kyOXcl9i4M4rPBjmUHGleEIGtKZOGnlgZ51yeUnKz+FmCWMaXe/rAnh3Q XZ0BvyWnIbE2Z3eCdCgWX5u3/jXu158Gs7M1thTgTaJdyQ4f1gW6HsRMjbcrawni+ikK 3k+BpxARR+QjB9WkIPSipMXtC/BUIhC7kCeg1cMeQjxhN7HoDvX+0oDkP+bCrL34ZnHz YCLiAF6nE1O8CNxJpHkAO0xYQK8kjkIVnrs3QdHgAB+76ZLByjJW/bZBFwLT9Sobu6Kc mPjEeH1Ch1T2FsEKwzztkK5+80olMZnZW1Zd9jjTikNZy90yzz2dgQiWagVbDYZwouYh 1MSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706713053; x=1707317853; 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=bGNsezs2u9n1en3GSHy8xckGQLvUavYo9GOoiPo/ivg=; b=pywoummurss+Y163OrjNexzEsrqigy/wdN+9GnHSvr1w7F2zTNRgZSOGXZTbPaQFff 0DfDQZUnI146LgbRQbaAKBaC2rMQ2enHrQKKmP7brhqaAGvmI/WdP6lE0nxT1OYYlNfp InTbieB3wgogvX+V8+5XfKnqk8tnFl8/sI8UVlWaNBCDKTfx+WJnvlEJ7xWTCrOPmGcS Buzrwg6YT5WGtg3pPn3owkIxBfxL75Yjki/PDFq8Vaou7h8QJP2iyVpvSm6nsC/qS4nG EtGyWk3p6KH2VpaLQ0uCqdPDC93hvm9E1jCBYf1SpA617KdJvmUd22cePNZBvSOC4E1a 986A== X-Gm-Message-State: AOJu0YynGb56rJxqoGhUN04JG3asWvbwCZF7ROBYlXkJPdbLQlAUfEM+ zWzgmbzsBuAbt0KG8HtUW0qEDk4IRjg0isNXVms/g5J1XUHIzahC9dAwbB8vEO4= X-Received: by 2002:a5d:534e:0:b0:33a:e639:2da1 with SMTP id t14-20020a5d534e000000b0033ae6392da1mr1121144wrv.65.1706713052904; Wed, 31 Jan 2024 06:57:32 -0800 (PST) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id a15-20020a056000100f00b0033aee3bfac5sm7841912wrx.16.2024.01.31.06.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 06:57:32 -0800 (PST) From: Caleb Connolly Date: Wed, 31 Jan 2024 14:57:27 +0000 Subject: [PATCH 2/5] usb: dwc3: select DM_USB_GADGET MIME-Version: 1.0 Message-Id: <20240131-b4-qcom-usb-v1-2-6438b2a2285e@linaro.org> References: <20240131-b4-qcom-usb-v1-0-6438b2a2285e@linaro.org> In-Reply-To: <20240131-b4-qcom-usb-v1-0-6438b2a2285e@linaro.org> To: Marek Vasut , Tom Rini , Lukasz Majewski , Mattijs Korpershoek , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: u-boot@lists.denx.de X-Mailer: b4 0.13-dev-4bd13 X-Developer-Signature: v=1; a=openpgp-sha256; l=698; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=4Pp9MVWKCvGq8lILqjyqGwGLOpWOP7ls67K71LEQ3r8=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtRd8bc8/JkkJdZaui+XeFWlxCopV7tUi8nD2uGb6saXv xTb7Dd1lLIwCHIwyIopsoifWGbZtPayvcb2BRdg5rAygQxh4OIUgIk4BTL8j12odH+69XM1AZX9 f8pN7vFPeLrlUdv3wm8TPvTMnPBnGjvD//ScCR03/5jWLODWLqs+VqT+8XjHkvasu29VX834LmM SdxAA 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 DWC3 platforms depend on DM_USB_GADGET for gadget drivers to work, otherwise compilation fails due to no implementation of dm_usb_gadget_handle_interrupts(). Signed-off-by: Caleb Connolly Reviewed-by: Mattijs Korpershoek --- drivers/usb/dwc3/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index c0c8c16fd9c2..8a70bc682322 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig @@ -11,6 +11,7 @@ config USB_DWC3_GADGET bool "USB Gadget support for DWC3" default y depends on USB_GADGET + select DM_USB_GADGET select USB_GADGET_DUALSPEED comment "Platform Glue Driver Support"