From patchwork Wed May 31 21:21:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1788581 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=21wRpLEl; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=yIpT1eTg; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QWj290ZpBz20QJ for ; Thu, 1 Jun 2023 07:24:14 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aPRGbYpW3hxgfn8CINkdl5LIhTf5oaQ2kLP9dTNbLkA=; b=21wRpLElNx7vhj NZc126fncV+bOn7R+AfD4k7x3KIqrmRlo0xgDFkuWEUV8dRSaFUK2Vln9L07WnpYh/4cgq/Qu+lng b7VzrlxaLqKZs++rGgKZEtiYHP49oj23Coa6asdhD3P1exGL9w/vRD2sgDlRBlnwjgGqqhS6rGzvD xsloAIgzdw3VBpU5TSxWNwxZ3DKBrsF0pJFjEL+cNlsNDTBfXmP/19HcC6I0F0WQPK7fppIGlH6Hf m7pAfy5wUrIQa0HXcmj3ne2gXo7LvgEMFUbXrLBjYXS+1hnMPpAvwFd0cRwUguT+epZLY/tOWbFG+ FwzvhTpNVjBpGjhgUOfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q4TGF-0018ME-0b; Wed, 31 May 2023 21:21:39 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q4TGB-0018K3-0s for openwrt-devel@lists.openwrt.org; Wed, 31 May 2023 21:21:36 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2af177f12d1so2058581fa.0 for ; Wed, 31 May 2023 14:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685568088; x=1688160088; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/NCZ81a1K1mu2OWqVvEwtCq/9d9fat1sTM1phQ9Mft8=; b=yIpT1eTgnTSTmqmDi7QJWqZumtd7nS+yxRXnaKX52ECJ8PtOsBaaSxRSqaP6xwyM/I xZlBHr2S/vyc1c1YOOeNVdfzsYCQAkh+gMAH8Xxu7Cl4bEQNfJvDIUQD2Va3HcW+zfs8 E+9N3HgWQIUiqqVYg+0nYAf1IVoJBNGgTz71bsjlzbDNa3fDrQhy/z12RpgVJC6LGg0S YQS2bps9kX9ThiwLVQkVKhtZ60rHpZ9KepxHiamQMT0tNx6aBi/R7Cw+L8HhaUmczY7J qk7NhZClTRFLILWkMwlDzM6JsIvRqZdRevpXCFmCwWTJsEEUhIcv8wn+Ug56ZfN0GNzu Fu8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685568088; x=1688160088; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/NCZ81a1K1mu2OWqVvEwtCq/9d9fat1sTM1phQ9Mft8=; b=hw/Dnwp+p3UB8LWvI998bD21HhEIR1ecBhSmu+rA96SZ+5V0TNWKfBtLNrhRNlSI3F /ZiOSUIS0DkPRm+cC3fdjlBY1VyY6EaL4R4quORzOaVey+bN4Mc6g2aTwmyLEpg07fYN Us1QxSrc9WtqOhRxkvePAUIimK3tqLIDW6S9Y8O0spYhYazFLdm/LbW3Io1/4HJtrdnq uloS2zdy3vjPnEMbCRwi5FdbU7sSeu3K3B1CE86+/vX3KmpSG7w7elOhUBtmMtJurwaE vxKDzjg23jZsVwoTwdcqT9d4ONvFizvlDYbTew0CzZkiZN7H4+axXk42b1IN5oEdIOsN hZNw== X-Gm-Message-State: AC+VfDyWLWPViL2tmUsW12elrNv0rvauUM+HkCqL3i+V97ebrumG2Bay K1bKXEJbcTQYaPoKlWQm6WMw26shrbLmTFT5DMA= X-Google-Smtp-Source: ACHHUZ5W+dwlJOR4V1CM2ayU9Hw7CUoDFXeirisMuBZfrZZVarp2pKu4FlGqSH+E/JaaK6B9PUDdbA== X-Received: by 2002:a2e:9d94:0:b0:2a8:db03:83f7 with SMTP id c20-20020a2e9d94000000b002a8db0383f7mr3530865ljj.32.1685568088580; Wed, 31 May 2023 14:21:28 -0700 (PDT) Received: from Fecusia.lan (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id j14-20020a2e3c0e000000b002ab1536377fsm3362226lja.105.2023.05.31.14.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 14:21:28 -0700 (PDT) From: Linus Walleij To: Sebastian Luft , Hans Ulli Kroll , Christian Lamparter Cc: openwrt-devel@lists.openwrt.org, Corentin Labbe , Linus Walleij Subject: [PATCH 3/4] kernel: Package the new FOTG210 module properly Date: Wed, 31 May 2023 23:21:07 +0200 Message-Id: <20230531212108.3252356-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230531212108.3252356-1-linus.walleij@linaro.org> References: <20230531212108.3252356-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230531_142135_306063_B28ECA3A X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When using the Gemini, we apply patches that create a single module that support both host and device mode these days. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/usb.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:233 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org When using the Gemini, we apply patches that create a single module that support both host and device mode these days. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/usb.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 721e17f97087..287a48212153 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -332,12 +332,12 @@ endef $(eval $(call KernelPackage,usb-bcma)) define KernelPackage/usb-fotg210 - TITLE:=Support for FOTG210 USB host controllers + TITLE:=Support for FOTG210 USB host and device controllers DEPENDS:=@USB_SUPPORT @TARGET_gemini - KCONFIG:=CONFIG_USB_FOTG210_HCD + KCONFIG:=CONFIG_USB_FOTG210 FILES:= \ - $(if $(CONFIG_USB_FOTG210_HCD),$(LINUX_DIR)/drivers/usb/host/fotg210-hcd.ko) - AUTOLOAD:=$(call AutoLoad,50,fotg210-hcd,1) + $(if $(CONFIG_USB_FOTG210),$(LINUX_DIR)/drivers/usb/fotg210/fotg210.ko) + AUTOLOAD:=$(call AutoLoad,50,fotg210,1) $(call AddDepends/usb) endef $(eval $(call KernelPackage,usb-fotg210))