From patchwork Fri May 19 21:19:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 96646 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1538090vqo; Fri, 19 May 2023 14:38:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xi6Dc6NpPjLXk3ySKaHtBnJrRql5TR33v7kPdU4GpRSEBsSsjRooLX8NnRgn7M/9bHm/a X-Received: by 2002:a05:6a21:1799:b0:103:964d:4971 with SMTP id nx25-20020a056a21179900b00103964d4971mr3112783pzb.48.1684532336781; Fri, 19 May 2023 14:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684532336; cv=none; d=google.com; s=arc-20160816; b=Q5SVJEzn8qEbGgGYdyujTz10EPcXWFtMtPKxv0fGbHuQrpLSnqgbPZrHJX0JDczM2j pF0tXJZqqHU4wdVT5GuDhysphqcHzIwgsA9iEp4b/3A6e2WA7y6NkHbAlmlK9Q2t5r/6 Q5Wvs0d+PnDbidrJBkoaou6hAFvB11Y4P73Q0VwVbvpEWirRlx5odFtv1lKybufpNlHy dGu6F0PfNvJfhOaJ7M9INaV7cA5WPhxMu+9UHA8U2IKh+pzSNLs+W4g6RxKe7DZaJP3X XiUt7EpDHrQyj+NNOj2ueJeCA7e1EadkEcrhFV2G+4GNUzW2uW2XmwgNKgyL413A8D1N z4Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=G2LXu2PJN9A8SxRzT4nhFUQnSncaw8ZRraBX8Ibav3o=; b=gE+3PYfJpatjCywMYl/3fcYVLWszD2uSq5mYIQHHT1SUk2bPd9Ro9nJtTcr12PH6/e Prv/dn2+fnkSKK5TewFiLr1vqBij7izXWI7iCZjToFWVbX5nqhTv06lECJPRys+k8Tmz +hlmmQOFgQWWYZDiuRKhLPHsOOojdZeCujKaOGY0Kiy/XQOfK9ElVlo1PEfa66F5OFg4 esmzMV6qcCjhaWVeJ0kx1IeXdJTTPGiJry2wg0tJK94qp/KO4dDhiS8a2d8RufLQEUSO K1/VPDfhoX/uNenreV0RMrAtjlmdUTn4CD2OnHQ9/9R4+3IanTjYbengB1UlHE1sGi2/ Glpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="KaVUEvE/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h189-20020a6253c6000000b0064580409a12si211417pfb.320.2023.05.19.14.38.44; Fri, 19 May 2023 14:38:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="KaVUEvE/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231702AbjESVUV (ORCPT + 99 others); Fri, 19 May 2023 17:20:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231648AbjESVUQ (ORCPT ); Fri, 19 May 2023 17:20:16 -0400 Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B5C10E0 for ; Fri, 19 May 2023 14:20:06 -0700 (PDT) Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7590aa05af6so400209385a.0 for ; Fri, 19 May 2023 14:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1684531206; x=1687123206; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=G2LXu2PJN9A8SxRzT4nhFUQnSncaw8ZRraBX8Ibav3o=; b=KaVUEvE/DWgWr7IBkydRFRpo/o7yubQbhkEZUdlMF8xBGDE718Zr7R5TfDBvK3J5oB bgdAWX9nyza7dKRJSunj/mS2PHuiPB2sEHilpSrLButTaFA1mPrf3vKZnm4b4j+EhJgm ZHiESWuTnm1E1d5W9y0GzCR2Vyas7OLFZYsrY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684531206; x=1687123206; 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=G2LXu2PJN9A8SxRzT4nhFUQnSncaw8ZRraBX8Ibav3o=; b=RxH1F7oucjyfSef05YGVI1KsPfzVyUyt8z1V8CX/9OG1/OHODhI/aknA3GqASd0pmN oBFQ30+heLcktXDba9ME0qnNcaMGAu0YmeQDrAT4seIyhvC/AazhD2VM4YNBuqaF9JMh AWM5fyHffEp5UqDOF1KbmddPTxOPmIeiTLGPJZjbUpWjMXZ62HgejDOj9hTqT06gEfwY rpkNknswX7u2hgti6Nm0Mx/0b3cRYQGX2jGvw2XwS4Zc2uxvPC0xYMovsGtL4PxW8d1Q j0FX1Yu1X1SeK4B62x0+oOCmzyyafjLZ+CXe+h1morvztmxNMbRmg/IMTC8R5Qpkhvbp 5Gqw== X-Gm-Message-State: AC+VfDyG4qf3b6PdhWKp2mljMClybsdnL0sJjndHwsFCYKKkifJT/F8P VeUg3fNmT4hC96xmysFocbkH7w== X-Received: by 2002:a05:622a:104a:b0:3f3:928a:eae2 with SMTP id f10-20020a05622a104a00b003f3928aeae2mr6638103qte.4.1684531205871; Fri, 19 May 2023 14:20:05 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id p11-20020ae9f30b000000b0074df8eefe2dsm1364585qkg.98.2023.05.19.14.20.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 May 2023 14:20:05 -0700 (PDT) From: Justin Chen To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com Cc: justinpopo6@gmail.com, justin.chen@broadcom.com, f.fainelli@gmail.com, davem@davemloft.net, florian.fainelli@broadcom.com, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.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 Subject: [PATCH net-next v3 5/6] net: phy: bcm7xxx: Add EPHY entry for 74165 Date: Fri, 19 May 2023 14:19:43 -0700 Message-Id: <1684531184-14009-6-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1684531184-14009-1-git-send-email-justin.chen@broadcom.com> References: <1684531184-14009-1-git-send-email-justin.chen@broadcom.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, MIME_HEADER_CTYPE_ONLY,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_TVD_MIME_NO_HEADERS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766360179620428000?= X-GMAIL-MSGID: =?utf-8?q?1766360179620428000?= 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 --- 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