From patchwork Tue May 23 21:53:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 13253049 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 535BCC7EE2E for ; Tue, 23 May 2023 21:54:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A32B110E4F2; Tue, 23 May 2023 21:54:25 +0000 (UTC) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by gabe.freedesktop.org (Postfix) with ESMTPS id C94D910E4EC for ; Tue, 23 May 2023 21:54:07 +0000 (UTC) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-53474b0c494so120746a12.3 for ; Tue, 23 May 2023 14:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1684878847; x=1687470847; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=wpLzTUGPc/J2wHEjsLz0MwXjd04niKI6Zwpv0hg4UoI=; b=Fd3jjA8cLTXzSwokSzFAbcsEqLBatDQj16PQDLJQqtbdmOjPHloxmxbtnhLkA1ssOo mp0h9esZk36cgFmgt7gM5a6tovRMyZkZEVzLB5k5oQqWTAltnVUzIaIHPTYj2ekoi2Kc Z7ux6yqZo2XEl3XEUZmIzJY8a1pZGxhnI9BeI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684878847; x=1687470847; h=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=wpLzTUGPc/J2wHEjsLz0MwXjd04niKI6Zwpv0hg4UoI=; b=c8cCu1MOa6mQ5mmenOtcmnPYeF08tTMZMWu5F576A1NucFjR6iV9RI/DBGTwDQxwho xCATF9X3Nsi5j60Lxtcz4Q77k88IHbPRYmu9NQxzV53xILrGuxwa3MMgGc8S895UtOuX p44X8bfXN84HWf9uuGDqHThsXMeUKAMgAMlP4KYEei8M6aCdk71LqSjD4xTe25N7ryzN LfFeSW35vxjsQhd07XjGTj31u1I3lHU4q0+HamBmSPx90i5nFfyV1h+4U1paxsD52M34 ZjawMjM3yIVyF/SCIq5SSBQfakrpa5I/6kj4NR6KVfnti+t9TJ9LR7kJKXMKxtwul7hy EARA== X-Gm-Message-State: AC+VfDycR8R+fIYTk7AYGlYvUIeRsRFqLt7RBrAeiD8jw9vW7Pg+vAAc Po41E3LFk1A4tS7sTm5fRlFQmA== X-Google-Smtp-Source: ACHHUZ6mBqUjyivTppa0NSQ4JkG//Jeduh2Xxj308sXyaDly0bOWrqV4nfzCBjkBcCnbcKklM/A93w== X-Received: by 2002:a17:902:f816:b0:1af:dc52:bf6a with SMTP id ix22-20020a170902f81600b001afdc52bf6amr723167plb.54.1684878846901; Tue, 23 May 2023 14:54:06 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id e4-20020a170902744400b001ae62d7cb2bsm7189820plt.199.2023.05.23.14.54.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2023 14:54:06 -0700 (PDT) From: Justin Chen To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH net-next v4 5/6] net: phy: bcm7xxx: Add EPHY entry for 74165 Date: Tue, 23 May 2023 14:53:46 -0700 Message-Id: <1684878827-40672-6-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1684878827-40672-1-git-send-email-justin.chen@broadcom.com> References: <1684878827-40672-1-git-send-email-justin.chen@broadcom.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, f.fainelli@gmail.com, Florian Fainelli , opendmb@gmail.com, christian.koenig@amd.com, simon.horman@corigine.com, richardcochran@gmail.com, linux@armlinux.org.uk, conor@kernel.org, justin.chen@broadcom.com, edumazet@google.com, robh+dt@kernel.org, justinpopo6@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, pabeni@redhat.com, sumit.semwal@linaro.org, davem@davemloft.net, hkallweit1@gmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Florian Fainelli 74165 is a 16nm process SoC with a 10/100 integrated Ethernet PHY, utilize the recently defined 16nm EPHY macro to configure that PHY. Signed-off-by: Florian Fainelli Signed-off-by: Justin Chen Reviewed-by: Andrew Lunn Reviewed-by: Simon Horman --- drivers/net/phy/bcm7xxx.c | 1 + include/linux/brcmphy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/phy/bcm7xxx.c b/drivers/net/phy/bcm7xxx.c index f8c17a253f8b..8478b081c058 100644 --- a/drivers/net/phy/bcm7xxx.c +++ b/drivers/net/phy/bcm7xxx.c @@ -913,6 +913,7 @@ static struct phy_driver bcm7xxx_driver[] = { BCM7XXX_28NM_GPHY(PHY_ID_BCM7278, "Broadcom BCM7278"), BCM7XXX_28NM_GPHY(PHY_ID_BCM7364, "Broadcom BCM7364"), BCM7XXX_28NM_GPHY(PHY_ID_BCM7366, "Broadcom BCM7366"), + BCM7XXX_16NM_EPHY(PHY_ID_BCM74165, "Broadcom BCM74165"), BCM7XXX_28NM_GPHY(PHY_ID_BCM74371, "Broadcom BCM74371"), BCM7XXX_28NM_GPHY(PHY_ID_BCM7439, "Broadcom BCM7439"), BCM7XXX_28NM_GPHY(PHY_ID_BCM7439_2, "Broadcom BCM7439 (2)"), diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index e9afbfb6d7a5..409ec9d35051 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -44,6 +44,7 @@ #define PHY_ID_BCM7366 0x600d8490 #define PHY_ID_BCM7346 0x600d8650 #define PHY_ID_BCM7362 0x600d84b0 +#define PHY_ID_BCM74165 0x359052c0 #define PHY_ID_BCM7425 0x600d86b0 #define PHY_ID_BCM7429 0x600d8730 #define PHY_ID_BCM7435 0x600d8750