From patchwork Wed Jun 14 22:30:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Chen X-Patchwork-Id: 108164 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp267031vqr; Wed, 14 Jun 2023 15:40:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oPSU4Y/pICi1PLsUUpjJ+H68wci2ibJqKdy9tFlov6fBm8+2x61ff9MG4yTaJyZMjWhnN X-Received: by 2002:a05:6512:46a:b0:4f3:a99f:1ea1 with SMTP id x10-20020a056512046a00b004f3a99f1ea1mr10460614lfd.45.1686782443896; Wed, 14 Jun 2023 15:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686782443; cv=none; d=google.com; s=arc-20160816; b=iU8+YbTFv+DT5OyLTl8ZsZAbyLgIGzoK/n61Y3RWSQqxd7HpVxBBDZnnbx9b+nHSgm vALe4P/57MQ3+RQAMwGydCeA0mnpyWpKYdxXHSkpJorDHwbGn1qcvXDShcb7/EkZbGio 6UEjr+AaONQZO8XEAYMaoclXhP1J+mqW6/E6dF3e4EfPt1zJLvVDqN/dkCr/dxLlIu8K mA+ihy37IwE5iRy3WSAAjTRk+LrsfyiWeWVaQrrKZuqxEmBO+jXDylxSWD4ec61xUqAN LcGwruiHMDysDSZUGmHA18ZG886O9Hg32bYaYq+NzfsT3AXuOiv+WkywmpQdRj2IT3S0 pDXQ== 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=t6/UPVXYiomVPSklnyQ47kaCPlNKMK0pICCZEwW/i9I=; b=E20xHZyxcAogRjXoXqCBZpYnVSJs1Cd1iHBGMC6DXZ2tNSPfpWwWAJ7EnbMynmzgpG NsLU0wL5QwX8xTJbwWFNYeWHFuZn9Ejjx2BwXPFZv5zJHp6y+CFtDT11LHEB/4bFlVyg dV9JgEg/evgMqRDhAZbUfJPNbAknCvUHL+Gv/GWdzJBtlfNZCdh8bfsPmogCa9BgQfvm WHejSd0TE+unLAf9cssShD+d2n/0BVZ/7h0Z0wd6UAqI8jbY+LEvHgwWxxrqFG/5JsLP Skzk7FKYn/2pBLwLjKAz0VRqpvSu/EvgYxLMPrrZCvrcTxcr2P8Jcf2phkVqmNZabWlP ecTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=ACxwPJgh; 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 v26-20020aa7cd5a000000b005187af0070asi2260195edw.682.2023.06.14.15.40.19; Wed, 14 Jun 2023 15:40:43 -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=ACxwPJgh; 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 S240847AbjFNWbs (ORCPT + 99 others); Wed, 14 Jun 2023 18:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237103AbjFNWbT (ORCPT ); Wed, 14 Jun 2023 18:31:19 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 807B92954 for ; Wed, 14 Jun 2023 15:30:55 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-3f9c1735984so24147581cf.1 for ; Wed, 14 Jun 2023 15:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1686781854; x=1689373854; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=t6/UPVXYiomVPSklnyQ47kaCPlNKMK0pICCZEwW/i9I=; b=ACxwPJghxlb6jFl/18bTZYnpTmHw0edCO+mT8DYYIhmN4YlHxZQfBLK1E1vFlEhhdt j0bLGqXwWaU5AAY/nQ6fgMS3nT7lz+qhPuMSXKdts4SNj4jaxsmE80fnR36c4h6lmgr7 lyebWoGQdhvZMUY6EqbLVbVFwELR00N580jTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686781854; x=1689373854; 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=t6/UPVXYiomVPSklnyQ47kaCPlNKMK0pICCZEwW/i9I=; b=CcuZzIkR6N/cJ2nQItXIXNcU+0I0mRVurDiz/P2gF45tTG7y2Dw0/C2btDbKBPZ7U7 gDSsUWAAjrdhjWUymUuqBZHxQYHZmqXx5n5koRVayhi1GAC2RbTwaV8BuJj7OZvb+6hp KsfuNuUS/NWZ0P52FkGVhhpc1oCYcePp+9pRDBK/2IsayCvPrkT/v8jWyJ+UCEKIwTNn +bGAROMWDWmZSqRBsY5kI+jVCy32utgsD8u1/R6GqdVuefWptNBM3dyRAVVtlluv3Ckd zT0YqJXfPnmazFrMjpmP9G1VrJZq2p7sJ4SeQzsoJt3xXLW/9Afye89vbSlSwSFMFZxW spHw== X-Gm-Message-State: AC+VfDwoXVeXt1W1cedzDD+nH3KhLRaYtdxCJPCP2ijZC58v4CYgd9qk YuGszWhbLtNLdqOEQWQEGxQMZg== X-Received: by 2002:ac8:5cc8:0:b0:3f6:c1af:aa73 with SMTP id s8-20020ac85cc8000000b003f6c1afaa73mr4571944qta.42.1686781854540; Wed, 14 Jun 2023 15:30:54 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id d3-20020ac85443000000b003ef2db16e72sm5419360qtq.94.2023.06.14.15.30.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2023 15:30:54 -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, christian.koenig@amd.com, simon.horman@corigine.com, Justin Chen Subject: [PATCH net-next v7 10/11] net: phy: bcm7xxx: Add EPHY entry for 74165 Date: Wed, 14 Jun 2023 15:30:19 -0700 Message-Id: <1686781820-832-11-git-send-email-justin.chen@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1686781820-832-1-git-send-email-justin.chen@broadcom.com> References: <1686781820-832-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?1768719587513781643?= X-GMAIL-MSGID: =?utf-8?q?1768719587513781643?= 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