linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface
@ 2019-02-06 17:56 Nicolas Ferre
  2019-02-06 17:56 ` [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding Nicolas Ferre
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nicolas Ferre @ 2019-02-06 17:56 UTC (permalink / raw)
  To: Alexandre Belloni, Ludovic Desroches, linux-arm-kernel,
	David S . Miller, Rob Herring
  Cc: netdev, linux-kernel, devicetree

This removes a line left while adding the correct compatibility string for
sama5d3 10/100 interface. Now use the "atmel,sama5d3-macb" string.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/macb.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt
index 3e17ac1d5d58..f5c414b10e27 100644
--- a/Documentation/devicetree/bindings/net/macb.txt
+++ b/Documentation/devicetree/bindings/net/macb.txt
@@ -3,8 +3,7 @@
 Required properties:
 - compatible: Should be "cdns,[<chip>-]{macb|gem}"
   Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC.
-  Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs or the 10/100Mbit IP
-  available on sama5d3 SoCs.
+  Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs.
   Use "cdns,np4-macb" for NP4 SoC devices.
   Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
   Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding
  2019-02-06 17:56 [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface Nicolas Ferre
@ 2019-02-06 17:56 ` Nicolas Ferre
  2019-02-08 23:20   ` David Miller
  2019-02-06 17:56 ` [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string Nicolas Ferre
  2019-02-08 23:20 ` [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface David Miller
  2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Ferre @ 2019-02-06 17:56 UTC (permalink / raw)
  To: Alexandre Belloni, Ludovic Desroches, linux-arm-kernel,
	David S . Miller, Rob Herring
  Cc: netdev, linux-kernel, devicetree

Add the compatibility sting documentation for sam9x60 10/100 interface.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
Hi Rob,

Your tag is missing for this patch.

 Documentation/devicetree/bindings/net/macb.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt
index f5c414b10e27..174f292d8a3e 100644
--- a/Documentation/devicetree/bindings/net/macb.txt
+++ b/Documentation/devicetree/bindings/net/macb.txt
@@ -4,6 +4,7 @@ Required properties:
 - compatible: Should be "cdns,[<chip>-]{macb|gem}"
   Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC.
   Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs.
+  Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
   Use "cdns,np4-macb" for NP4 SoC devices.
   Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
   Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string
  2019-02-06 17:56 [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface Nicolas Ferre
  2019-02-06 17:56 ` [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding Nicolas Ferre
@ 2019-02-06 17:56 ` Nicolas Ferre
  2019-02-08 23:20   ` David Miller
  2019-02-08 23:20 ` [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface David Miller
  2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Ferre @ 2019-02-06 17:56 UTC (permalink / raw)
  To: Alexandre Belloni, Ludovic Desroches, linux-arm-kernel,
	David S . Miller, Rob Herring
  Cc: netdev, linux-kernel, devicetree

Add a new compatibility string for this product. It's using
at91sam9260-macb layout but has a newer hardware revision: it's safer
to use its own string.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
v2: applies on top of next-20190206

 drivers/net/ethernet/cadence/macb_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 2b2882615e8b..eaabe8c278ec 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -3943,6 +3943,7 @@ static const struct of_device_id macb_dt_ids[] = {
 	{ .compatible = "cdns,np4-macb", .data = &np4_config },
 	{ .compatible = "cdns,pc302-gem", .data = &pc302gem_config },
 	{ .compatible = "cdns,gem", .data = &pc302gem_config },
+	{ .compatible = "cdns,sam9x60-macb", .data = &at91sam9260_config },
 	{ .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config },
 	{ .compatible = "atmel,sama5d3-gem", .data = &sama5d3_config },
 	{ .compatible = "atmel,sama5d3-macb", .data = &sama5d3macb_config },
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface
  2019-02-06 17:56 [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface Nicolas Ferre
  2019-02-06 17:56 ` [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding Nicolas Ferre
  2019-02-06 17:56 ` [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string Nicolas Ferre
@ 2019-02-08 23:20 ` David Miller
  2 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2019-02-08 23:20 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: devicetree, alexandre.belloni, netdev, linux-kernel,
	ludovic.desroches, robh+dt, linux-arm-kernel

From: Nicolas Ferre <nicolas.ferre@microchip.com>
Date: Wed, 6 Feb 2019 18:56:08 +0100

> This removes a line left while adding the correct compatibility string for
> sama5d3 10/100 interface. Now use the "atmel,sama5d3-macb" string.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

Applied to net-next.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding
  2019-02-06 17:56 ` [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding Nicolas Ferre
@ 2019-02-08 23:20   ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2019-02-08 23:20 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: devicetree, alexandre.belloni, netdev, linux-kernel,
	ludovic.desroches, robh+dt, linux-arm-kernel

From: Nicolas Ferre <nicolas.ferre@microchip.com>
Date: Wed, 6 Feb 2019 18:56:09 +0100

> Add the compatibility sting documentation for sam9x60 10/100 interface.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Applied to net-next.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string
  2019-02-06 17:56 ` [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string Nicolas Ferre
@ 2019-02-08 23:20   ` David Miller
  0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2019-02-08 23:20 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: devicetree, alexandre.belloni, netdev, linux-kernel,
	ludovic.desroches, robh+dt, linux-arm-kernel

From: Nicolas Ferre <nicolas.ferre@microchip.com>
Date: Wed, 6 Feb 2019 18:56:10 +0100

> Add a new compatibility string for this product. It's using
> at91sam9260-macb layout but has a newer hardware revision: it's safer
> to use its own string.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Applied to net-next.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-08 23:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-06 17:56 [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface Nicolas Ferre
2019-02-06 17:56 ` [PATCH v2 2/3] net/macb: bindings doc: add sam9x60 binding Nicolas Ferre
2019-02-08 23:20   ` David Miller
2019-02-06 17:56 ` [PATCH v2 3/3] net: macb: add sam9x60-macb compatibility string Nicolas Ferre
2019-02-08 23:20   ` David Miller
2019-02-08 23:20 ` [PATCH v2 1/3] net/macb: bindings doc/trivial: fix documentation for sama5d3 10/100 interface David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).