From patchwork Thu Jul 13 22:19:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 120132 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2128578vqm; Thu, 13 Jul 2023 15:32:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlHs1FXc0rVpPBYK2f6lHCRGyINQv4PidVomb2cDGJ7fh0qlZLrcSmCBFbC1yJ7f90SujMZQ X-Received: by 2002:a17:906:d92d:b0:98e:23d3:bf47 with SMTP id rn13-20020a170906d92d00b0098e23d3bf47mr2908008ejb.36.1689287564420; Thu, 13 Jul 2023 15:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689287564; cv=none; d=google.com; s=arc-20160816; b=jvutqvzZYC69pLVvq3HseHyMn6IKpHdkDgvblzMlMVpn8ynn8Wj/JuihPb19zYW3Ab N3dfvbgvfp77esh7pf69wL/KTrR6VxPTKYe30jN54ZTCpiG+zJxej7kPbWaZrPt2xYy+ Gya4R2iF16hKsXsAo7Kjk7KB8Ww1Wz6Zl1QhjdaOC8ldryp1FuE0DlScaL+/wcRazcvK 1DqUGnb3I+Y6o4CFqpCt8edC8QK6hOZ7YyxowWR1EBTsNcp80gILZvoNrDmijPR8KNHN ENIKtkHBlCHcokk2t1o5/gUTj1sUtiwvxHNQzskMdZJ3qDpSXY8UoFOp7QYZYXWwFslJ cR6g== 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=gPZnFuDL2B4xXDaF/vVU05wA3n3PPVHq2ZYGNrsPQ/o=; fh=auIu3uj+2hbF0lD5w/46TjOR2iYLfsn3CHYsSny1RMQ=; b=T7lFrBOtXsZLbsRUzSJSovoFd42MYh/+wehoQfHmps+GMfcZWh7qzfWtNT+woD9/w1 qMCsDR0meEReX7XwLVH1+X75gAYHEa9fQxlAKewmUoDFDRi+2jvSYSjkynzmX1hcNQ/v dCtbQoC3oUXjT7vCfFjBYfztRWwmBWUqJ4RjgWRMhEtmAZVaD0CmTrzaWBQxLTmb9qaa foXl/rf7kU91MJItojjE2gdYRrSDafZhnzBGxaMZT7ojkZBwKI3Qme5MQFWjHajZG6P5 IESdf5yFGUCSEo+oWDb+nXyMsoslaK1E0QIASmBQZS+pGYB8HKS3WoT8RwOMnCBH163g LOCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Haql2nTK; 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 se28-20020a170906ce5c00b0098eeb136963si7179701ejb.172.2023.07.13.15.32.19; Thu, 13 Jul 2023 15:32:44 -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=Haql2nTK; 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 S229916AbjGMWUt (ORCPT + 99 others); Thu, 13 Jul 2023 18:20:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231246AbjGMWUp (ORCPT ); Thu, 13 Jul 2023 18:20:45 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91DB13A98 for ; Thu, 13 Jul 2023 15:20:07 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-635857af3beso5968266d6.0 for ; Thu, 13 Jul 2023 15:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1689286780; x=1691878780; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=gPZnFuDL2B4xXDaF/vVU05wA3n3PPVHq2ZYGNrsPQ/o=; b=Haql2nTKtxqIvf79shJ6B6yjljaG9jPuqISOpUj7ZoAz3L/+nQ9SPRgI+a6Ozz+a3T vXoLASNkniIZDqql5//W8pPHam0u4ZWoZ7mK1y1bihhjywAuiOjBH2wZ/iGB0+v5FnVL 3ZOVSXuPunYULcvTCWNpSVEHuPMy5RSZf+3E4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689286780; x=1691878780; 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=gPZnFuDL2B4xXDaF/vVU05wA3n3PPVHq2ZYGNrsPQ/o=; b=UBwyvQ1U7rlyIzMQdvZjnQG/t8y1wJGIUYXciA0HvQZHamHKs/6/CEGBMTODr3h1AR JSgPzZ91R/OJ8kp3RlijLTiR88AkAZ/tHfR/oMF5wrm58eTShnUJ3xDF63Iu2Ixswgts deeFtAopAAD7VryzrRl7Crt8a9rLrJaJL2GFPc6Ps7CDsua6aDCgghO9hMJmAswoONl9 UHNCRUIkr0YtburcZfaLztsO+4GoN1YsxCA0+OFVuWtZ9/pbj/gU80lHiXR4iGlnCxl8 dklI4SJQ4CljOIuQmW0ug0/t3xZga6dtfn6/gofrALr12C8y9XZFcnaVCFQ3p561X5H8 iEdw== X-Gm-Message-State: ABy/qLYqYfs1d1wSVbZoX33rQDgsaOr+srzE48s7wGPLxJCqK/WSlLKn 7BW5+p0NCU7DfaB3oCRxWZi9Kg== X-Received: by 2002:a0c:e507:0:b0:62f:e0e1:478e with SMTP id l7-20020a0ce507000000b0062fe0e1478emr2136465qvm.63.1689286780099; Thu, 13 Jul 2023 15:19:40 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id i14-20020a0cf38e000000b006262de12a8csm427623qvk.65.2023.07.13.15.19.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2023 15:19:39 -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: 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, simon.horman@corigine.com, christian.koenig@amd.com, Justin Chen Subject: [net-next v9 10/11] net: phy: bcm7xxx: Add EPHY entry for 74165 Date: Thu, 13 Jul 2023 15:19:05 -0700 Message-Id: <1689286746-43609-11-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1689286746-43609-1-git-send-email-justin.chen@broadcom.com> References: <1689286746-43609-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 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: INBOX X-GMAIL-THRID: 1771346397193317377 X-GMAIL-MSGID: 1771346397193317377 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 5d732f48f787..c55810a43541 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