linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support
@ 2018-03-23 12:30 Kunihiko Hayashi
  2018-03-23 12:30 ` [PATCH 1/2] dt-bindings: net: ave: add " Kunihiko Hayashi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2018-03-23 12:30 UTC (permalink / raw)
  To: linux-arm-kernel

Add ethernet controller support on UniPhier PXs3 SoC.

Kunihiko Hayashi (2):
  dt-bindings: net: ave: add PXs3 support
  net: ethernet: ave: add UniPhier PXs3 support

 Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 1 +
 drivers/net/ethernet/socionext/sni_ave.c                          | 8 ++++++++
 2 files changed, 9 insertions(+)

-- 
2.7.4

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

* [PATCH 1/2] dt-bindings: net: ave: add PXs3 support
  2018-03-23 12:30 [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support Kunihiko Hayashi
@ 2018-03-23 12:30 ` Kunihiko Hayashi
  2018-03-23 12:30 ` [PATCH 2/2] net: ethernet: ave: add UniPhier " Kunihiko Hayashi
  2018-03-26 15:29 ` [PATCH 0/2] " David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2018-03-23 12:30 UTC (permalink / raw)
  To: linux-arm-kernel

Add a compatible string for ethernet controller on UniPhier PXs3 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
index 270ea4e..96398cc 100644
--- a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
+++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.txt
@@ -9,6 +9,7 @@ Required properties:
 	- "socionext,uniphier-pxs2-ave4" : for PXs2 SoC
 	- "socionext,uniphier-ld11-ave4" : for LD11 SoC
 	- "socionext,uniphier-ld20-ave4" : for LD20 SoC
+	- "socionext,uniphier-pxs3-ave4" : for PXs3 SoC
  - reg: Address where registers are mapped and size of region.
  - interrupts: Should contain the MAC interrupt.
  - phy-mode: See ethernet.txt in the same directory. Allow to choose
-- 
2.7.4

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

* [PATCH 2/2] net: ethernet: ave: add UniPhier PXs3 support
  2018-03-23 12:30 [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support Kunihiko Hayashi
  2018-03-23 12:30 ` [PATCH 1/2] dt-bindings: net: ave: add " Kunihiko Hayashi
@ 2018-03-23 12:30 ` Kunihiko Hayashi
  2018-03-26 15:29 ` [PATCH 0/2] " David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2018-03-23 12:30 UTC (permalink / raw)
  To: linux-arm-kernel

Add a compatible string and SoC data for ethernet controller on
UniPhier PXs3 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 drivers/net/ethernet/socionext/sni_ave.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c
index f5c5984..0b3b7a4 100644
--- a/drivers/net/ethernet/socionext/sni_ave.c
+++ b/drivers/net/ethernet/socionext/sni_ave.c
@@ -1701,6 +1701,10 @@ static const struct ave_soc_data ave_ld20_data = {
 	.is_desc_64bit = true,
 };
 
+static const struct ave_soc_data ave_pxs3_data = {
+	.is_desc_64bit = false,
+};
+
 static const struct of_device_id of_ave_match[] = {
 	{
 		.compatible = "socionext,uniphier-pro4-ave4",
@@ -1718,6 +1722,10 @@ static const struct of_device_id of_ave_match[] = {
 		.compatible = "socionext,uniphier-ld20-ave4",
 		.data = &ave_ld20_data,
 	},
+	{
+		.compatible = "socionext,uniphier-pxs3-ave4",
+		.data = &ave_pxs3_data,
+	},
 	{ /* Sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, of_ave_match);
-- 
2.7.4

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

* [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support
  2018-03-23 12:30 [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support Kunihiko Hayashi
  2018-03-23 12:30 ` [PATCH 1/2] dt-bindings: net: ave: add " Kunihiko Hayashi
  2018-03-23 12:30 ` [PATCH 2/2] net: ethernet: ave: add UniPhier " Kunihiko Hayashi
@ 2018-03-26 15:29 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2018-03-26 15:29 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Date: Fri, 23 Mar 2018 21:30:35 +0900

> Add ethernet controller support on UniPhier PXs3 SoC.

Series applied to net-next, thank you.

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

end of thread, other threads:[~2018-03-26 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-23 12:30 [PATCH 0/2] net: ethernet: ave: add UniPhier PXs3 support Kunihiko Hayashi
2018-03-23 12:30 ` [PATCH 1/2] dt-bindings: net: ave: add " Kunihiko Hayashi
2018-03-23 12:30 ` [PATCH 2/2] net: ethernet: ave: add UniPhier " Kunihiko Hayashi
2018-03-26 15:29 ` [PATCH 0/2] " 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).