From patchwork Wed Mar 20 14:30:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 781356 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp335168wrj; Wed, 20 Mar 2024 07:31:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV+cd7c/Fq2olHdx3ZPQNtksvxbwD66jOItsN5A4404kkJiupGIBqMeLDKOygmEOf1fvg6FGFOtILT/WkvDvSYb X-Google-Smtp-Source: AGHT+IH1jy6LQQrR5YhBsTiZ2d59sJuiHKR+nHLRFHK+RPvCFDizG51zn3De9YIZ4GEe59VNbDcj X-Received: by 2002:a5d:6d49:0:b0:341:843d:dd5b with SMTP id k9-20020a5d6d49000000b00341843ddd5bmr4961159wri.4.1710945115421; Wed, 20 Mar 2024 07:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710945115; cv=none; d=google.com; s=arc-20160816; b=inSm5yi/FFM28wSUi9xL6eXLG0T5IVPCRBU/59+rlHQ9iWUdz9zHFhuyo9aVo0hmV0 DlCVs1y9PUqGnwuFfVChF1B5JwzcddSDWlD/NeTJ+QBJeKHU/GYueZsZFXfi/X35zZrz Y71feuX68M9mWkxcnrdAeJbVP4Kqeyp5ZkmZmTBGVI51dEl6+tlhjrphYvkUfSacKRD1 VurjMDgqR4s5SFK33Q7xlbm/TN2ejc+Y2ea83G9kqTEjE/Ymt7VHHWdZ1rzjnppmFKJ/ wTK7ghnRX5WAtcJxtxaf3K9gdP52Ffyjc3vL0AF9eNgczXCU4ru+678xETHzPWmu91TE tJPQ== 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=mpjeMUA64QiM2xumTj2IcLENnwtxaUaoBTt/9i25/yw=; fh=UJLfQHigVNNxRTyupVH3iuVYJLWMjRXGBkTXuIfaL+0=; b=hTLAP/UrLOA3DhonGgy4Qnycxb0izKmVlZMM14ML0oe5tDvBkxGPzmwDLi8pJ52inZ f/HK6o6vaumDOF8jUcqlYE1G0v4kSwZet+s3e0SmjU9wIwuv7BYA6GwwQiwVh/L0GUgW 1BNn6ASzrVNQ8moZt7N30tCxvVd2Z9wcjMgCMT/FPTGornqtCYYxIllyXqDCrfzfdguh PIFnT4IkXBX/3UITN1myoDTsD1CXEsy17qjJQsOlxTxeKeJ2w7pxVfF63UvUCrrXyXhj S5iO7St1ElPbqqD4MA68XT1ncBGWk2TvdEYxHz1cnY6q5j0ZyJhLdpb17dOsO8z9j3Q4 z0LA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hlf7rzbn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id t7-20020a05600001c700b0033df43ec0besi7325698wrx.553.2024.03.20.07.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hlf7rzbn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 B12B688094; Wed, 20 Mar 2024 15:31: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="Hlf7rzbn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EF086880A8; Wed, 20 Mar 2024 15:31:35 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 BAA8C880A6 for ; Wed, 20 Mar 2024 15:31:28 +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-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4146af3ebc8so5951115e9.2 for ; Wed, 20 Mar 2024 07:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710945088; x=1711549888; 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=mpjeMUA64QiM2xumTj2IcLENnwtxaUaoBTt/9i25/yw=; b=Hlf7rzbnNz/HM8UITXGd2zeH23UXbVKfgsz8+PbFeJp1PonRvSIOCi2XI4zh7+V4cc xr05GXao9epwPN0EWcc/ecql3N2EX3NgeSFqH3hA8HpEpvBP+Vt4SP7RT22tl8CEqogA L0yUeIEjuuk1oGg80RGrwo+UIn1ycUP4OcsnEG5wvPPgrdUf1C2/TLBWlY/3AM0YyihZ YpRSZNiyJSfGXqnPx3UCz8su7EQDzykFF3GvfKN1Pq8XbuV8cJcE9XBQV4OkmH5tpfQM 1HAbqF2fDZ+xCMTFo9ISr1anJyuyuu9SJ3t5h0h1LUjVCKLQD8M5VHTwgdrb3brwPYvo vVww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710945088; x=1711549888; 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=mpjeMUA64QiM2xumTj2IcLENnwtxaUaoBTt/9i25/yw=; b=pctavNV+kUvGpjg3xRrOX+/M4paG2ooyBHhxlw61Ifcpz42at33aEFjH0tfaEjzWV7 1Z1zgv7sGNV7pUSKVSl5RtermedPxw1F+De2LWGGqqR2140ym1MvpFF+/R5f26VNnOFG l48cFil/o0to3aON2MaYGNi3QgcjdmquiIkVOMa/HzfZqjBhYtgPIYzvPnoH7OxBiUgM 7HT/WnGAkax6GFDSKS2Ig0Seacg8JUFrF+VAdnon3CwHqbNHLEbwY6GTw88hOFQAFF8Q PhVQMGrIkBqMEQsrz2MPmTJrrdnLnDdO/IgwEm0wUe0qNga+fObMJezDQcSQ0WwPW+8o 4gUw== X-Gm-Message-State: AOJu0YwbcFBDnLFjqasBG8cN1Iwh1WDhNZPReqCg0bcSd+C/3NgQqXJ0 iv3SR9q4wi/ymov0i2tyuT2TOCVK0EUWlBEw+a9f4MT73bO+2qv+O1UO3Y/tuKAJffY7VMInlgm y X-Received: by 2002:a05:600c:2242:b0:414:a49:131a with SMTP id a2-20020a05600c224200b004140a49131amr9366483wmm.23.1710945088338; Wed, 20 Mar 2024 07:31:28 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id az1-20020adfe181000000b0033ed7181fd1sm12036571wrb.62.2024.03.20.07.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:31:27 -0700 (PDT) From: Caleb Connolly Date: Wed, 20 Mar 2024 14:30:48 +0000 Subject: [PATCH v4 2/5] usb: dwc3: select DM_USB_GADGET MIME-Version: 1.0 Message-Id: <20240320-b4-qcom-usb-v4-2-41be480172e1@linaro.org> References: <20240320-b4-qcom-usb-v4-0-41be480172e1@linaro.org> In-Reply-To: <20240320-b4-qcom-usb-v4-0-41be480172e1@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.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=834; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=zgAPVW9qDed342mDNE8anMwCvoGIxZpCW8smqhdbBBw=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtRfn23tlEwOHNK7pTNB4+F09Ul+G4zmFSmLTJjL9fSRJ sPqkJMlHaUsDIIcDLJiiiziJ5ZZNq29bK+xfcEFmDmsTCBDGLg4BWAixycy/LO6P79xidqS+UY1 M+b43FngeyLjvFS77LOJ76tPnj7LcUiH4X/ISa7OfOaTK/iE5h10vrh69vJ35r5TDB7Wp9ndfMb 5o3UHAA== 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(). Reviewed-by: Mattijs Korpershoek Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- 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 @@ -10,8 +10,9 @@ if USB_DWC3 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"