From patchwork Thu Oct 12 08:42:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1847310 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=Gdaso90u; 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=Y70w/min; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S5jqm1mcZz23jX for ; Thu, 12 Oct 2023 19:44:36 +1100 (AEDT) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:In-Reply-To:References:Message-Id: MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FqqYTsfXPqawqEcBzZePSBfk5AxXZm7YYDnWNJcY0QI=; b=Gdaso90us5POzq V4T6g8Sr4kljMs/rdiwDe2wJPHb5w2yxDpSq0BkUqA4/dRKXJPDPPCLS4+IBmueeMsAAbxn0AYRU7 Sxg4/kF+CdmF2PxuLjOy4kejvKAU/TPy7pEv3txB5B5wsdFv1X7Xm2xAjqsPjlxp4T85XXNAXVvE8 0VKnkd19i0GABzzOKKoZLS+EJo+RtjTR7Ct8cC97u53JABj8mgpRT7dZnjrq6ABXBw5zdwpV1RvFW nwGXIF4JuJMY1spesnO2C5usXrQMMl3HtOGiz/d4ylb+4WDbqXj1J5eDW77ZDZSAXKuHrkON2ZUXj wHqY/2FuYTXGlmWsg5ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqrHL-000EAU-0b; Thu, 12 Oct 2023 08:42:47 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqrH1-000DwO-2s for openwrt-devel@lists.openwrt.org; Thu, 12 Oct 2023 08:42:29 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so1002498e87.2 for ; Thu, 12 Oct 2023 01:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697100143; x=1697704943; darn=lists.openwrt.org; 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=mcE13Ce418LD+u+aB0WS8AI49gIbE+kBj/n7tBfU4XA=; b=Y70w/minuI9LvHGgRBMlS9Mn/y5MN3Vkf8P1v3d6qYWHuFo7ugNtpoemILfjiKPgV7 6shSWVy0VjXTCz4YckiNkYuIoUjA11XJ8nTCiqHvv2+tWqloxUDWlkXOCeWP3IKwgj12 GwWi3seDuljbWFV++GLo2vpBJY0kNyIKUvQWFEJVDQKqIcoFcqdTTEZvMUVVcp5G8AAE vhWrMQWTZ9gQP+QNRJ5TyiW0Iw/FDdgtZa5aOEpt9xT2je6gTbsn+4zxRe0dl2nvyTbk NBnU3fyoPMJ8Ii0uRqMzbB6stLsZAaDBWy/KYkKpD4chhKTofIuht8u/efwXm/h5p/JJ tpgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697100143; x=1697704943; 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=mcE13Ce418LD+u+aB0WS8AI49gIbE+kBj/n7tBfU4XA=; b=e8NEJZ1iCVElvnq0uQbGvtQAzzLh8oM9E4mtjeINfHYxde0ISWyDnhufLsEj5d5x0f LYCZ3n4Iw9JYRpVtgnIiC2wmjiCRdBQjrP3JMc8fMqtsnC1CY/t8OYfq/NmjUzNtTS0i wcypTGkjlJ45UJy/Xi1aolNkhG6Bnxksd6yBRlHtrkIcNnSx+8hSWXHgWfN3VNxP9yMM A/kuXlD8Su7jUi5f4LySDdVGPV4McKMe4wzY3VqxfnBkeVeSFHVm4yScsHAoAUOvPdmR rWNg4aRxKo8gtd+DJsJp49GE+ZtlNo02ucrj491o6b5/nOrSbSRCqbHrKM2NWk6F7T03 LM6g== X-Gm-Message-State: AOJu0YzL2JsFa4Dg7G5IEILrd5/Vze79JBhHMnNPT0tajERd13ZSxnlZ PPX/wHiQZzdYMQZFYXPDDTI8UxFGbHhmpRkvtmA= X-Google-Smtp-Source: AGHT+IH+bvE2BiAOhXRj0rVHP+bkQtrJgS50tSaZvQlkc9qybVGoP6xmoKFR7rh442yKXQzIEgQXPw== X-Received: by 2002:a19:2d18:0:b0:500:b8bc:bd9a with SMTP id k24-20020a192d18000000b00500b8bcbd9amr16656365lfj.49.1697100143676; Thu, 12 Oct 2023 01:42:23 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id o9-20020a05651238a900b00501c8959f6asm2705043lft.98.2023.10.12.01.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 01:42:23 -0700 (PDT) From: Linus Walleij Date: Thu, 12 Oct 2023 10:42:20 +0200 Subject: [PATCH v3 05/10] kernel: netdevices: Package AMD PHY MIME-Version: 1.0 Message-Id: <20231012-ixp4xx-v3-5-e09c74712c0b@linaro.org> References: <20231012-ixp4xx-v3-0-e09c74712c0b@linaro.org> In-Reply-To: <20231012-ixp4xx-v3-0-e09c74712c0b@linaro.org> To: Imre Kaloz , Krzysztof Halasa , Howard Harte , openwrt-devel@lists.openwrt.org X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_014227_935148_E2ABB1A1 X-CRM114-Status: UNSURE ( 7.75 ) 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: This adds a package for the AMD and Altima PHY, found in some odd devices. Signed-off-by: Linus Walleij --- package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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:12e 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: , Cc: Hauke Mehrtens , Linus Walleij , Raylynn Knight Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This adds a package for the AMD and Altima PHY, found in some odd devices. Signed-off-by: Linus Walleij Reviewed-by: Robert Marko --- package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index b0d69e022069..392bc176f491 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -224,6 +224,22 @@ endef $(eval $(call KernelPackage,phylib-broadcom)) +define KernelPackage/phy-amd + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=AMD PHY driver + KCONFIG:=CONFIG_AMD_PHY + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/phy/amd.ko + AUTOLOAD:=$(call AutoProbe,amd) +endef + +define KernelPackage/phy-amd/description + Currently supports the AMD and Altima PHYs. +endef + +$(eval $(call KernelPackage,phy-amd)) + + define KernelPackage/phy-ax88796b SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Asix PHY driver