[PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support

STALE1763d

4 messages, 2 authors, 2021-10-18 · open the first message on its own page

[PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support

From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Date: 2021-10-18 01:27:46

This series includes the patches to add basic support for new UniPhier NX1
SoC. NX1 SoC also has the same kinds of controls as the other UniPhier
SoCs.

Kunihiko Hayashi (2):
  dt-bindings: net: ave: Add bindings for NX1 SoC
  net: ethernet: ave: Add compatible string and SoC-dependent data for
    NX1 SoC

 .../devicetree/bindings/net/socionext,uniphier-ave4.yaml  |  1 +
 drivers/net/ethernet/socionext/sni_ave.c                  | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

-- 
2.7.4

[PATCH net-next 2/2] net: ethernet: ave: Add compatible string and SoC-dependent data for NX1 SoC

From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Date: 2021-10-18 01:27:51

Add basic support for UniPhier NX1 SoC. This includes a compatible string
and SoC-dependent data.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 drivers/net/ethernet/socionext/sni_ave.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff --git a/drivers/net/ethernet/socionext/sni_ave.c b/drivers/net/ethernet/socionext/sni_ave.c
index 4b0fe0f58bbf..2c48f8b8ab71 100644
--- a/drivers/net/ethernet/socionext/sni_ave.c
+++ b/drivers/net/ethernet/socionext/sni_ave.c
@@ -1935,6 +1935,17 @@ static const struct ave_soc_data ave_pxs3_data = {
 	.get_pinmode = ave_pxs3_get_pinmode,
 };
 
+static const struct ave_soc_data ave_nx1_data = {
+	.is_desc_64bit = true,
+	.clock_names = {
+		"ether",
+	},
+	.reset_names = {
+		"ether",
+	},
+	.get_pinmode = ave_pxs3_get_pinmode,
+};
+
 static const struct of_device_id of_ave_match[] = {
 	{
 		.compatible = "socionext,uniphier-pro4-ave4",
@@ -1956,6 +1967,10 @@ static const struct of_device_id of_ave_match[] = {
 		.compatible = "socionext,uniphier-pxs3-ave4",
 		.data = &ave_pxs3_data,
 	},
+	{
+		.compatible = "socionext,uniphier-nx1-ave4",
+		.data = &ave_nx1_data,
+	},
 	{ /* Sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, of_ave_match);
-- 
2.7.4

[PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC

From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Date: 2021-10-18 01:27:51

Update AVE binding document for UniPhier NX1 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml
index 8a03a24a2019..6bc61c42418f 100644
--- a/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml
+++ b/Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml
@@ -24,6 +24,7 @@ properties:
       - socionext,uniphier-ld11-ave4
       - socionext,uniphier-ld20-ave4
       - socionext,uniphier-pxs3-ave4
+      - socionext,uniphier-nx1-ave4
 
   reg:
     maxItems: 1
-- 
2.7.4

Re: [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-18 12:20:10

Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Mon, 18 Oct 2021 10:27:35 +0900 you wrote:
This series includes the patches to add basic support for new UniPhier NX1
SoC. NX1 SoC also has the same kinds of controls as the other UniPhier
SoCs.

Kunihiko Hayashi (2):
  dt-bindings: net: ave: Add bindings for NX1 SoC
  net: ethernet: ave: Add compatible string and SoC-dependent data for
    NX1 SoC

[...]
Here is the summary with links:
  - [net-next,1/2] dt-bindings: net: ave: Add bindings for NX1 SoC
    https://git.kernel.org/netdev/net-next/c/8e60189d937c
  - [net-next,2/2] net: ethernet: ave: Add compatible string and SoC-dependent data for NX1 SoC
    https://git.kernel.org/netdev/net-next/c/9fd3d5dced97

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help