From patchwork Wed May 24 23:01:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 685419 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 828E4C7EE23 for ; Wed, 24 May 2023 23:02:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238660AbjEXXC0 (ORCPT ); Wed, 24 May 2023 19:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238577AbjEXXCP (ORCPT ); Wed, 24 May 2023 19:02:15 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99EA2189 for ; Wed, 24 May 2023 16:02:13 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-253570deb8dso630273a91.1 for ; Wed, 24 May 2023 16:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1684969333; x=1687561333; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=oo54LlfANvrstb/+2isfGBjnL/H6DTLdjluqpXFzLmw=; b=Q3UI04Pj5sm1qcbAzam3zFOHWkLghzp5KgfxKUCiW40YEmC1qGLxHZMaMeHfa61e3L s7gg264oU6EsiqmyhILwRTv+g3QIxk/q+EaWjVuNUlFmQp2w7SqGDDCQlAXpdtEhDq8L vfURFL+GT98fgPEdwLKzAjrqtQGwzY9tGyG2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969333; x=1687561333; 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=oo54LlfANvrstb/+2isfGBjnL/H6DTLdjluqpXFzLmw=; b=jcWbtNJPcmL827qP036ly3S42Lo6LaKW39RKDRjv2h3/5s9weIEr/ruMGeY+0+H0YC Rr147cgyxprfgeveFAGKAddRVQVWZbOKIVNt+B4ZIfF3UUs4Yz5L4gxEbecnPr04c+J/ tToz+wsCw62MZIWSYeIFRHThgDnRL7QCa81m1MWpgAVr3U2JmXpIF++eQvSnOEJ3BjZN BD6JG3DvsDOL8/vxrmFAyLgP+mq9t698F5euk1yTEmXvut5sLmGc9efRDsP7a3Oyr4cZ ZfOMZ1uTM1//FO5Thayvybrj0ZF1/Nu007/KKxHE2JM37MaeFwih7qugLWib8q7J2iSm oT0g== X-Gm-Message-State: AC+VfDz57yGpp0Z6yltzhfuIco1ykyQbVr/4ZGcXbIV81hIyWxaEMiHg izuOTZPHGxoqOgfL+2XlogaPdg== X-Google-Smtp-Source: ACHHUZ4wEn+8O5+G+HJZWtvws6xcoGpVgzQOewwgi4KMjv1vN15Q5fZm98JsXq+5VyfN85li7ILRbA== X-Received: by 2002:a17:90b:2305:b0:253:750f:3187 with SMTP id mt5-20020a17090b230500b00253750f3187mr19080752pjb.8.1684969332990; Wed, 24 May 2023 16:02:12 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id j10-20020a17090ae60a00b00246774a9addsm1789889pjy.48.2023.05.24.16.02.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 May 2023 16:02:12 -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 Cc: justin.chen@broadcom.com, florian.fainelli@broadcom.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, opendmb@gmail.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, richardcochran@gmail.com, sumit.semwal@linaro.org, christian.koenig@amd.com, simon.horman@corigine.com Subject: [PATCH net-next v5 5/6] net: phy: bcm7xxx: Add EPHY entry for 74165 Date: Wed, 24 May 2023 16:01:52 -0700 Message-Id: <1684969313-35503-6-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1684969313-35503-1-git-send-email-justin.chen@broadcom.com> References: <1684969313-35503-1-git-send-email-justin.chen@broadcom.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. Reviewed-by: Simon Horman Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli Signed-off-by: Justin Chen --- 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