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: 98189 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2442998vqo; Tue, 23 May 2023 15:03:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7XuDsahXnYJi9T/Bzv/9C5sTvjxYQUB/vzag+dfkzb2lFFB5WF0x9aIp70gcp6qMZYrkxJ X-Received: by 2002:a17:902:e945:b0:1ae:32d3:43b8 with SMTP id b5-20020a170902e94500b001ae32d343b8mr12608982pll.11.1684879430314; Tue, 23 May 2023 15:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684879430; cv=none; d=google.com; s=arc-20160816; b=X3+imSC7bDJKZvYzgmFBuKEaLcjCzPoe19YgD0u4LJCY4LG57Rbyi4zJMDmpagNbpi Xezg4eZFDfbbeOAJ1avIQ03oj5K6x232iqtAWI/EX4K/tONc/HiY5EEgCKIG4DWMN/mp P2j1lJYgb/m5IgYdml/3TMlJYYyynLorG9T49riYJ1GACkwQ01KxM3JXnXN1dXW/usti Kn9QZhrurkmu/cs9oGgXVJEq5E1l8Bsiti8ctIU96FDLfJzSrHtG4IbdSj3oY7OgzXD+ BLt7574L0uP/5mWP29B58jAabeInrwNaSKdYhZAiX2P70adwxN6cWMHN8SUuoesk6UXJ deig== 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=5M2eroIbHskeneG7FNglLTW+r6d0NUBGWYcPR/fO99k=; b=u5UZSVtfvySr1YYXKw1IYyErdjRieXkLOqu+bHxjYvbt/qRpaF3dUYjGpz1BraDtF7 dd9JTERN3Y6+vQa+w4ixx+y3WhnsagDmHhIM4NvGJMvcOxUrwnIPpJP2L8vrjdiR4qjk p6do8LTnWMIRQtVfKo8AT1kA6RZvW8KlYWhxwNY1mhuvpvS/xWWazpu2BHWbRL2EgT7g EmSImevfgmvFxQz2ewZrtQNPSompIDBZ6F+MWuKLZp7crOF45FMMtoqqh7G0I9cMH3HL 5GOan2ICAMlNSY64JuyFabtvFzFXS6wuUCkb7LsrH9EDZ1GL7IAN72082INm+0IZ6nhx n49A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=b9EvlGEI; 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 j5-20020a17090ae60500b00250d10c6fe7si84857pjy.67.2023.05.23.15.03.37; Tue, 23 May 2023 15:03:50 -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=b9EvlGEI; 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 S238788AbjEWVyV (ORCPT + 99 others); Tue, 23 May 2023 17:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238770AbjEWVyP (ORCPT ); Tue, 23 May 2023 17:54:15 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BC6E1A4 for ; Tue, 23 May 2023 14:54:07 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1ae4c5e1388so1846525ad.1 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=5M2eroIbHskeneG7FNglLTW+r6d0NUBGWYcPR/fO99k=; b=b9EvlGEIOixkDCYEHl0nckERX0oa1U2jmvE30+VTHyhtUztjdkQnAKIVjtkcX16xSQ Pvfe9sO+m9Xzuk3qRU91Yqh1NJRZKkAZV9uSCK1nG8nzMt04BJLE55JQeOjHBA01bf44 6jJ2VRLFH/fKLbYucqmY748oXij8QhLhIdovM= 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=5M2eroIbHskeneG7FNglLTW+r6d0NUBGWYcPR/fO99k=; b=QEn494HJdbVMIB8XW+v+bGgpwbNIhzmymWCK2zDwHtkhyPqGSs/R/PstrY3Ji5DzCC oCKhk84J/HQKUMU33jxXOmS16SWeX5Iq19BbRKjg3qDCcLKwlUvaanZ4UY7dJX+8kXpu 7Dl0TKgrWAvl9+v5FDoFvMMDwlgGLaj8d+fcb8Bu6im5i+uKGkfhV+BctopV9AmSD14r hSsXCaTxVHFwJJMyrgg5wtZUsxJCf5AOgAvdekfDnCgMWr3Lz3yE7MiNDEWFpIo1J4D3 jouftbg4PtbSiUdHYsGbIQMTCagNjz/EVCjSibXS2jPfvgjnrr+Op269d4noqJ4sj4AC cn7g== X-Gm-Message-State: AC+VfDy5xzriKGQHqmNrexY1CVjq/ece/tHe4r8HtqqxXsj8fXN8lzcX GckA6SpMC00HLRcVp4XaBb95x2BODE4cLU/4nthqNA== 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 Cc: justinpopo6@gmail.com, justin.chen@broadcom.com, f.fainelli@gmail.com, davem@davemloft.net, 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, conor@kernel.org, simon.horman@corigine.com, Florian Fainelli 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-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?1766724133449824705?= X-GMAIL-MSGID: =?utf-8?q?1766724133449824705?= 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