linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support
@ 2021-10-18  1:27 Kunihiko Hayashi
  2021-10-18  1:27 ` [PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC Kunihiko Hayashi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:27 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Rob Herring, Masami Hiramatsu
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

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


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

* [PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC
  2021-10-18  1:27 [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
@ 2021-10-18  1:27 ` Kunihiko Hayashi
  2021-10-18  1:27 ` [PATCH net-next 2/2] net: ethernet: ave: Add compatible string and SoC-dependent data " Kunihiko Hayashi
  2021-10-18 12:20 ` [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:27 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Rob Herring, Masami Hiramatsu
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

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


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

* [PATCH net-next 2/2] net: ethernet: ave: Add compatible string and SoC-dependent data for NX1 SoC
  2021-10-18  1:27 [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
  2021-10-18  1:27 ` [PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC Kunihiko Hayashi
@ 2021-10-18  1:27 ` Kunihiko Hayashi
  2021-10-18 12:20 ` [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:27 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Rob Herring, Masami Hiramatsu
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

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


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

* Re: [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support
  2021-10-18  1:27 [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
  2021-10-18  1:27 ` [PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC Kunihiko Hayashi
  2021-10-18  1:27 ` [PATCH net-next 2/2] net: ethernet: ave: Add compatible string and SoC-dependent data " Kunihiko Hayashi
@ 2021-10-18 12:20 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-18 12:20 UTC (permalink / raw)
  To: Kunihiko Hayashi
  Cc: davem, kuba, robh+dt, mhiramat, netdev, devicetree,
	linux-arm-kernel, linux-kernel

Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

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



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

end of thread, other threads:[~2021-10-18 12:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18  1:27 [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
2021-10-18  1:27 ` [PATCH net-next 1/2] dt-bindings: net: ave: Add bindings for NX1 SoC Kunihiko Hayashi
2021-10-18  1:27 ` [PATCH net-next 2/2] net: ethernet: ave: Add compatible string and SoC-dependent data " Kunihiko Hayashi
2021-10-18 12:20 ` [PATCH net-next 0/2] net: ethernet: ave: Introduce UniPhier NX1 SoC support patchwork-bot+netdevbpf

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).