Message ID | 1684531184-14009-2-git-send-email-justin.chen@broadcom.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1528741vqo; Fri, 19 May 2023 14:20:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JNjuDQ/8NbpWUGnrqYUc2xn2sh3Wtm6ZGoAQg9+doAB/lATpeTmuvmS0N9NkciImlkzQB X-Received: by 2002:a17:90b:4ac3:b0:253:5f11:6e07 with SMTP id mh3-20020a17090b4ac300b002535f116e07mr3326205pjb.15.1684531254630; Fri, 19 May 2023 14:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684531254; cv=none; d=google.com; s=arc-20160816; b=nV0qJimN8do+hXsminSwl28T0lEPBMcA5eQocKSjX9SWz52uZEMELzgd6o6K/MTcCt 60ly9hmTKTJPsiMeZN2+ubGX9dyQmR4Sr7zgFzgKpPhpMV3ESxJARA9M+B9bLz+1nzpc 12osm1y7fXB50y9vmKzE3LDDWxVKItG/+1LuVXwXPzpUKdx751s3jxtJzQrOP9cJG/AW S2xqipdiDCEAFI9y0jYxT2BTtk3I7TWu4CQt/pe7DT0XPcUtguC64WSrKDiFoVdP8+kv rM5BovJU/hAOFRE6rJ5hoMvWXXIBNzBL54K4ugceo1ziHTN6vwXvp/lkk7IqoB/UtVaG r1Qg== 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=Ue0I7KWlbnt4YsEST0aUYBtDxqf9XGQ6yE6bKZmzfxY=; b=qxgB3K4HvaJ2HO+lkYWU37UrcRqqWEg/pRPiluiorv9c33Zv315jqjMFhPNDN2CFLb cmniRpaOoPmskpgxpSB/jqRnpHvO5zSST/OQkzcALkIK1dLe0HjilfDxO6jKZ3rmehPt ZXoOMHDB8ZHW5lUt8WGNmaBoBpYZNwzPWJh+7mBSCS955MpeFf9WM7DsmF20EiIvA252 Tbjt4OGy4Q9j109AtAu34pX2IJd7rMx0gthkgWIixsMQWgcQzuZFS2rYnVvSlA0ocQOB cGupPxUiHq7B3Htegep8hBUaxUhzTJNLnxUqY2F6AHp2h0ACc4jPES/XN0FzM27yfZrx y6lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Ko2rswX0; 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 e13-20020a63744d000000b004fab4df6dfdsi217150pgn.369.2023.05.19.14.20.41; Fri, 19 May 2023 14:20:54 -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=Ko2rswX0; 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 S230319AbjESVT7 (ORCPT <rfc822;wlfightup@gmail.com> + 99 others); Fri, 19 May 2023 17:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbjESVT4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 May 2023 17:19:56 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 720821B3 for <linux-kernel@vger.kernel.org>; Fri, 19 May 2023 14:19:55 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-3f389c21fe8so18378851cf.3 for <linux-kernel@vger.kernel.org>; Fri, 19 May 2023 14:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1684531194; x=1687123194; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=Ue0I7KWlbnt4YsEST0aUYBtDxqf9XGQ6yE6bKZmzfxY=; b=Ko2rswX0SDD36sp2n4+y7obxZ+k30gNoFJGh//xyjtsAZIhUbgwiKx4DJ35L/if2LF rFHGXy7Cr73kNY/5QTHeUHTMqMBM/UVLRX6WWqv+VVD54WC6/HgMMDZwR0jeyenaWpMV yBYETvSQcYD5QpJht3fYgfElb84E1xyT11qxA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684531194; x=1687123194; 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=Ue0I7KWlbnt4YsEST0aUYBtDxqf9XGQ6yE6bKZmzfxY=; b=SpgGzK5wa1aHn0eDHVaASL09za6HJ3KQklAWmKCIhNGCZtDhbmjVc+ZOFL0LfIYQLD XHbfDqsqPu+fmJVt6V4eiZRmxUgutM3F3DFRpV6xswT4EIfP8TmA0c0yl0q4429HLJ/x zv2myARx0wWctXv80EB+CZQWBn+Y/6acWDDXRWT498akcdDFCYQQavuzmpX/HQGKKlp+ mLXmxVHTtx54S6WaVZ+AoUy3L5IZYwORk3Eh4hyihWcr9cVS+1LtGMHY00D6GdmrSq+5 t4mBwbM162HaRdTtjZuq21TktPunfXAGbduxwnRxG9PceKkk0L+CAfRRd78KfnmRdntp cU9w== X-Gm-Message-State: AC+VfDyREtGxEJgoBtZbX97tXOgV9/wSjR051ristmzzdAovdtyw/aOG VO2GQLiMbK2uFmXiABUM/K3ryA== X-Received: by 2002:a05:622a:85:b0:3f5:3659:4901 with SMTP id o5-20020a05622a008500b003f536594901mr5799429qtw.20.1684531194553; Fri, 19 May 2023 14:19:54 -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.19.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 May 2023 14:19:54 -0700 (PDT) From: Justin Chen <justin.chen@broadcom.com> 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 1/6] dt-bindings: net: brcm,unimac-mdio: Add asp-v2.0 Date: Fri, 19 May 2023 14:19:39 -0700 Message-Id: <1684531184-14009-2-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> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000007b527f05fc127b02" 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766359044784456637?= X-GMAIL-MSGID: =?utf-8?q?1766359044784456637?= |
Series |
Brcm ASP 2.0 Ethernet Controller
|
|
Commit Message
Justin Chen
May 19, 2023, 9:19 p.m. UTC
The ASP 2.0 Ethernet controller uses a brcm unimac. Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Justin Chen <justin.chen@broadcom.com> --- Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 2 ++ 1 file changed, 2 insertions(+)
Comments
On Fri, May 19, 2023 at 02:19:39PM -0700, Justin Chen wrote: > The ASP 2.0 Ethernet controller uses a brcm unimac. > > Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> > Signed-off-by: Justin Chen <justin.chen@broadcom.com> > --- > Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > index 0be426ee1e44..6684810fcbf0 100644 > --- a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > +++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > @@ -22,6 +22,8 @@ properties: > - brcm,genet-mdio-v3 > - brcm,genet-mdio-v4 > - brcm,genet-mdio-v5 > + - brcm,asp-v2.0-mdio > + - brcm,asp-v2.1-mdio > - brcm,unimac-mdio From V(N-1), there was some discussion between Rob & Florian: > > How many SoCs does each of these correspond to? SoC specific compatibles > > are preferred to version numbers (because few vendors are disciplined > > at versioning and also not changing versions with every Soc). > > So far there is a 1:1 mapping between the number of versions and the > number of SoCs, and the older SoC uses v2.0, while the newer one uses v2.1. Rob's not around right now, but I don't really get why if there is a 1:1 mapping you don't just name these things after the SoCs? Also, my mailer **refused** to let me reply to you because of something to do with a garbage S/MIME signature? Dunno wtf is happening there. Cheers, Conor.
On 5/22/23 11:17, Conor Dooley wrote: > On Fri, May 19, 2023 at 02:19:39PM -0700, Justin Chen wrote: > > The ASP 2.0 Ethernet controller uses a brcm unimac. > > > > Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> > > Signed-off-by: Justin Chen <justin.chen@broadcom.com> > > --- > > Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git > a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > index 0be426ee1e44..6684810fcbf0 100644 > > --- a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > +++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > @@ -22,6 +22,8 @@ properties: > > - brcm,genet-mdio-v3 > > - brcm,genet-mdio-v4 > > - brcm,genet-mdio-v5 > > + - brcm,asp-v2.0-mdio > > + - brcm,asp-v2.1-mdio > > - brcm,unimac-mdio > > > From V(N-1), there was some discussion between Rob & Florian: > > > How many SoCs does each of these correspond to? SoC specific > compatibles > > > are preferred to version numbers (because few vendors are disciplined > > > at versioning and also not changing versions with every Soc). > > > > So far there is a 1:1 mapping between the number of versions and the > > number of SoCs, and the older SoC uses v2.0, while the newer one uses > v2.1. > > Rob's not around right now, but I don't really get why if there is a 1:1 > mapping you don't just name these things after the SoCs? There is a 1:1 mapping now, but in the future there may be more SoCs with a given implemented version. This is especially true for the MDIO controller which has been largely unchanged since it was introduced. > > Also, my mailer **refused** to let me reply to you because of something > to do with a garbage S/MIME signature? Dunno wtf is happening there. Our SMTP server is configured to automatically wrap the message in a S/MIME envelope, nothing invalid though AFAICT. What's your email client?
On Mon, May 22, 2023 at 11:25:54AM -0700, Florian Fainelli wrote: > On 5/22/23 11:17, Conor Dooley wrote: > > On Fri, May 19, 2023 at 02:19:39PM -0700, Justin Chen wrote: > > > The ASP 2.0 Ethernet controller uses a brcm unimac. > > > > > > Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> > > > Signed-off-by: Justin Chen <justin.chen@broadcom.com> > > > --- > > > Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git > > a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > > index 0be426ee1e44..6684810fcbf0 100644 > > > --- a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > > +++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml > > > @@ -22,6 +22,8 @@ properties: > > > - brcm,genet-mdio-v3 > > > - brcm,genet-mdio-v4 > > > - brcm,genet-mdio-v5 > > > + - brcm,asp-v2.0-mdio > > > + - brcm,asp-v2.1-mdio > > > - brcm,unimac-mdio > > > > > > From V(N-1), there was some discussion between Rob & Florian: > > > > How many SoCs does each of these correspond to? SoC specific > > compatibles > > > > are preferred to version numbers (because few vendors are disciplined > > > > at versioning and also not changing versions with every Soc). > > > > > > So far there is a 1:1 mapping between the number of versions and the > > > number of SoCs, and the older SoC uses v2.0, while the newer one uses > > v2.1. > > > > Rob's not around right now, but I don't really get why if there is a 1:1 > > mapping you don't just name these things after the SoCs? > > There is a 1:1 mapping now, but in the future there may be more SoCs with a > given implemented version. This is especially true for the MDIO controller > which has been largely unchanged since it was introduced. Figured that'd be it, but what was written in the previous thread made the opposite appear true! Acked-by: Conor Dooley <conor.dooley@microchip.com> > > Also, my mailer **refused** to let me reply to you because of something > > to do with a garbage S/MIME signature? Dunno wtf is happening there. > > Our SMTP server is configured to automatically wrap the message in a S/MIME > envelope, nothing invalid though AFAICT. What's your email client? Mutt - I guess it was user-error because getting S/MIME stuff auto-populated the security field on my end. Annoying but w/e...
diff --git a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml index 0be426ee1e44..6684810fcbf0 100644 --- a/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml +++ b/Documentation/devicetree/bindings/net/brcm,unimac-mdio.yaml @@ -22,6 +22,8 @@ properties: - brcm,genet-mdio-v3 - brcm,genet-mdio-v4 - brcm,genet-mdio-v5 + - brcm,asp-v2.0-mdio + - brcm,asp-v2.1-mdio - brcm,unimac-mdio reg: