Skip to contentSkip to conversation

net: ethernet: ave: Introduce UniPhier NX1 SoC support

PATCH Applied Kunihiko Hayashi 2 participants 4 messages Oct 18, 2021

Subsystems (5)
lore
Share & tools
lore

Kunihiko Hayashi

author maintainer
#0 lore raw

cover net: ethernet: ave: Introduce UniPhier NX1 SoC support

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(+)
Signature · 1 line
2.7.4
author maintainer
#1 lore raw

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

Update AVE binding document for UniPhier NX1 SoC.

---
 Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/socionext,uniphier-ave4.yaml +1 -0
index 8a03a24a2019..6bc61c42418f 100644
@@ -24,6 +24,7 @@ properties:
       - socionext,uniphier-ld11-ave4
       - socionext,uniphier-ld20-ave4
       - socionext,uniphier-pxs3-ave4
+      - socionext,uniphier-nx1-ave4
 
   reg:
     maxItems: 1
Signature · 1 line
2.7.4
author maintainer
#2 lore raw

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

In reply to Kunihiko Hayashi

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

---
 drivers/net/ethernet/socionext/sni_ave.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
drivers/net/ethernet/socionext/sni_ave.c +15 -0
index 4b0fe0f58bbf..2c48f8b8ab71 100644
@@ -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);
Signature · 1 line
2.7.4
#3 lore raw
In reply to Kunihiko Hayashi
This series was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 10 lines · 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