Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1630101

Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360.

From Scott Branden <scott.branden@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360.
Date 2017-04-25 01:00 +0200
Message-ID <tzV7z-4A3-15@gated-at.bofh.it> (permalink)
References <tzUbw-3Yp-5@gated-at.bofh.it> <tzUbw-3Yp-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Minor comment in line

On 17-04-24 02:50 PM, Eric Anholt wrote:
> Cygnus is a small family of SoCs, of which we currently have
> devicetree for BCM11360 and BCM58300.  The 11360's B53 is mostly the
> same as 58xx, just requiring a tiny bit of setup that was previously
> missing.
>
> Signed-off-by: Eric Anholt <eric@anholt.net>
> ---
>  Documentation/devicetree/bindings/net/dsa/b53.txt | 3 +++
>  drivers/net/dsa/b53/b53_srab.c                    | 2 ++
>  2 files changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/dsa/b53.txt b/Documentation/devicetree/bindings/net/dsa/b53.txt
> index d6c6e41648d4..49c93d3c0839 100644
> --- a/Documentation/devicetree/bindings/net/dsa/b53.txt
> +++ b/Documentation/devicetree/bindings/net/dsa/b53.txt
> @@ -29,6 +29,9 @@ Required properties:
>        "brcm,bcm58625-srab"
>        "brcm,bcm88312-srab" and the mandatory "brcm,nsp-srab string
>
> +  For the BCM11360 SoC, must be:
> +      "brcm,bcm11360-srab" and the mandatory "brcm,cygnus-srab string
> +
place in alphabetical order in the doc?

>    For the BCM63xx/33xx SoCs with an integrated switch, must be one of:
>        "brcm,bcm3384-switch"
>        "brcm,bcm6328-switch"
> diff --git a/drivers/net/dsa/b53/b53_srab.c b/drivers/net/dsa/b53/b53_srab.c
> index 8a62b6a69703..c37ffd1b6833 100644
> --- a/drivers/net/dsa/b53/b53_srab.c
> +++ b/drivers/net/dsa/b53/b53_srab.c
> @@ -364,6 +364,7 @@ static const struct of_device_id b53_srab_of_match[] = {
>  	{ .compatible = "brcm,bcm53018-srab" },
>  	{ .compatible = "brcm,bcm53019-srab" },
>  	{ .compatible = "brcm,bcm5301x-srab" },
> +	{ .compatible = "brcm,bcm11360-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,bcm58522-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,bcm58525-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,bcm58535-srab", .data = (void *)BCM58XX_DEVICE_ID },
> @@ -371,6 +372,7 @@ static const struct of_device_id b53_srab_of_match[] = {
>  	{ .compatible = "brcm,bcm58623-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,bcm58625-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,bcm88312-srab", .data = (void *)BCM58XX_DEVICE_ID },
> +	{ .compatible = "brcm,cygnus-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ .compatible = "brcm,nsp-srab", .data = (void *)BCM58XX_DEVICE_ID },
>  	{ /* sentinel */ },
>  };
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360. Eric Anholt <eric@anholt.net> - 2017-04-25 00:00 +0200
  Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Scott Branden <scott.branden@broadcom.com> - 2017-04-25 01:00 +0200
    Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360. Eric Anholt <eric@anholt.net> - 2017-04-25 02:00 +0200
      Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Scott Branden <scott.branden@broadcom.com> - 2017-04-25 02:00 +0200
  Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Arun Parameswaran <arun.parameswaran@broadcom.com> - 2017-04-25 01:10 +0200
    Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Florian Fainelli <f.fainelli@gmail.com> - 2017-04-25 01:10 +0200
      Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Arun Parameswaran <arun.parameswaran@broadcom.com> - 2017-04-25 01:20 +0200
        Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Florian Fainelli <f.fainelli@gmail.com> - 2017-04-25 01:20 +0200
  Re: [PATCH 1/2] net: dsa: b53: Add compatible strings for the  Cygnus-family BCM11360. Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-04-25 11:40 +0200

csiph-web