Linux-Renesas-SoC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/3] RZ/G2N SoC identification support
@ 2019-09-05  9:30 Biju Das
  2019-09-05  9:30 ` [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings Biju Das
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Biju Das @ 2019-09-05  9:30 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Geert Uytterhoeven
  Cc: Biju Das, Simon Horman, Magnus Damm, linux-renesas-soc,
	devicetree, Chris Paterson, Fabrizio Castro

This patch series aims to add SoC identification support
for RZ/G2N SoC. RZ/G2N SoC is similar to R-Car Gen3 M3-N SoC.

Biju Das (3):
  dt-bindings: arm: Document RZ/G2N SoC DT bindings
  soc: renesas: Identify RZ/G2N
  arm64: Add Renesas R8A774B1 support

 Documentation/devicetree/bindings/arm/renesas.yaml | 4 ++++
 drivers/soc/renesas/Kconfig                        | 6 ++++++
 drivers/soc/renesas/renesas-soc.c                  | 8 ++++++++
 3 files changed, 18 insertions(+)

-- 
2.7.4


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

* [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings
  2019-09-05  9:30 [PATCH 0/3] RZ/G2N SoC identification support Biju Das
@ 2019-09-05  9:30 ` Biju Das
  2019-09-09 12:19   ` Geert Uytterhoeven
  2019-09-05  9:30 ` [PATCH 2/3] soc: renesas: Identify RZ/G2N Biju Das
  2019-09-05  9:30 ` [PATCH 3/3] arm64: Add Renesas R8A774B1 support Biju Das
  2 siblings, 1 reply; 8+ messages in thread
From: Biju Das @ 2019-09-05  9:30 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Biju Das, Geert Uytterhoeven, Simon Horman, Magnus Damm,
	linux-renesas-soc, devicetree, Chris Paterson, Fabrizio Castro

Add device tree bindings documentation for Renesas RZ/G2N (r8a774b1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 Documentation/devicetree/bindings/arm/renesas.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml
index 28eb458..9ad31f1 100644
--- a/Documentation/devicetree/bindings/arm/renesas.yaml
+++ b/Documentation/devicetree/bindings/arm/renesas.yaml
@@ -116,6 +116,10 @@ properties:
           - const: hoperun,hihope-rzg2m
           - const: renesas,r8a774a1
 
+      - description: RZ/G2N (R8A774B1)
+        items:
+          - const: renesas,r8a774b1
+
       - description: RZ/G2E (R8A774C0)
         items:
           - enum:
-- 
2.7.4


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

* [PATCH 2/3] soc: renesas: Identify RZ/G2N
  2019-09-05  9:30 [PATCH 0/3] RZ/G2N SoC identification support Biju Das
  2019-09-05  9:30 ` [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings Biju Das
@ 2019-09-05  9:30 ` Biju Das
  2019-09-09 12:29   ` Geert Uytterhoeven
  2019-09-05  9:30 ` [PATCH 3/3] arm64: Add Renesas R8A774B1 support Biju Das
  2 siblings, 1 reply; 8+ messages in thread
From: Biju Das @ 2019-09-05  9:30 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Biju Das, Simon Horman, Magnus Damm, linux-renesas-soc,
	Chris Paterson, Fabrizio Castro

This patch adds support for identifying the RZ/G2N (r8a774b1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 drivers/soc/renesas/renesas-soc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c
index 3299cf53..45135bc 100644
--- a/drivers/soc/renesas/renesas-soc.c
+++ b/drivers/soc/renesas/renesas-soc.c
@@ -116,6 +116,11 @@ static const struct renesas_soc soc_rz_g2m __initconst __maybe_unused = {
 	.id	= 0x52,
 };
 
+static const struct renesas_soc soc_rz_g2n __initconst __maybe_unused = {
+	.family = &fam_rzg2,
+	.id     = 0x55,
+};
+
 static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = {
 	.family	= &fam_rzg2,
 	.id	= 0x57,
@@ -227,6 +232,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A774A1
 	{ .compatible = "renesas,r8a774a1",	.data = &soc_rz_g2m },
 #endif
+#ifdef CONFIG_ARCH_R8A774B1
+	{ .compatible = "renesas,r8a774b1",	.data = &soc_rz_g2n },
+#endif
 #ifdef CONFIG_ARCH_R8A774C0
 	{ .compatible = "renesas,r8a774c0",	.data = &soc_rz_g2e },
 #endif
-- 
2.7.4


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

* [PATCH 3/3] arm64: Add Renesas R8A774B1 support
  2019-09-05  9:30 [PATCH 0/3] RZ/G2N SoC identification support Biju Das
  2019-09-05  9:30 ` [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings Biju Das
  2019-09-05  9:30 ` [PATCH 2/3] soc: renesas: Identify RZ/G2N Biju Das
@ 2019-09-05  9:30 ` Biju Das
  2019-09-09 12:30   ` Geert Uytterhoeven
  2 siblings, 1 reply; 8+ messages in thread
From: Biju Das @ 2019-09-05  9:30 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Biju Das, Simon Horman, Magnus Damm, linux-renesas-soc,
	Chris Paterson, Fabrizio Castro

Add configuration option for the RZ/G2N (R8A774B1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 drivers/soc/renesas/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 3c5e017..d6a7df3 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -178,6 +178,12 @@ config ARCH_R8A774A1
 	help
 	  This enables support for the Renesas RZ/G2M SoC.
 
+config ARCH_R8A774B1
+	bool "Renesas RZ/G2N SoC Platform"
+	select ARCH_RCAR_GEN3
+	help
+	  This enables support for the Renesas RZ/G2N SoC.
+
 config ARCH_R8A774C0
 	bool "Renesas RZ/G2E SoC Platform"
 	select ARCH_RCAR_GEN3
-- 
2.7.4


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

* Re: [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings
  2019-09-05  9:30 ` [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings Biju Das
@ 2019-09-09 12:19   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2019-09-09 12:19 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Geert Uytterhoeven, Simon Horman,
	Magnus Damm, Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Chris Paterson, Fabrizio Castro

On Thu, Sep 5, 2019 at 11:37 AM Biju Das <biju.das@bp.renesas.com> wrote:
> Add device tree bindings documentation for Renesas RZ/G2N (r8a774b1) SoC.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.5.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 2/3] soc: renesas: Identify RZ/G2N
  2019-09-05  9:30 ` [PATCH 2/3] soc: renesas: Identify RZ/G2N Biju Das
@ 2019-09-09 12:29   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2019-09-09 12:29 UTC (permalink / raw)
  To: Biju Das
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-Renesas,
	Chris Paterson, Fabrizio Castro

On Thu, Sep 5, 2019 at 11:37 AM Biju Das <biju.das@bp.renesas.com> wrote:
> This patch adds support for identifying the RZ/G2N (r8a774b1) SoC.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.5.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH 3/3] arm64: Add Renesas R8A774B1 support
  2019-09-05  9:30 ` [PATCH 3/3] arm64: Add Renesas R8A774B1 support Biju Das
@ 2019-09-09 12:30   ` Geert Uytterhoeven
  2019-09-09 12:32     ` Biju Das
  0 siblings, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2019-09-09 12:30 UTC (permalink / raw)
  To: Biju Das
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-Renesas,
	Chris Paterson, Fabrizio Castro

On Thu, Sep 5, 2019 at 11:37 AM Biju Das <biju.das@bp.renesas.com> wrote:
> Add configuration option for the RZ/G2N (R8A774B1) SoC.
>
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.5, with the one-line summary
changed to "soc: renesas: Add Renesas R8A774B1 config option".

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* RE: [PATCH 3/3] arm64: Add Renesas R8A774B1 support
  2019-09-09 12:30   ` Geert Uytterhoeven
@ 2019-09-09 12:32     ` Biju Das
  0 siblings, 0 replies; 8+ messages in thread
From: Biju Das @ 2019-09-09 12:32 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-Renesas,
	Chris Paterson, Fabrizio Castro


> Subject: Re: [PATCH 3/3] arm64: Add Renesas R8A774B1 support
> 
> On Thu, Sep 5, 2019 at 11:37 AM Biju Das <biju.das@bp.renesas.com> wrote:
> > Add configuration option for the RZ/G2N (R8A774B1) SoC.
> >
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> i.e. will
> queue in renesas-devel for v5.5, with the one-line summary changed to "soc:
> renesas: Add Renesas R8A774B1 config option".

Thanks Geert.

> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-
> m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

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

end of thread, back to index

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  9:30 [PATCH 0/3] RZ/G2N SoC identification support Biju Das
2019-09-05  9:30 ` [PATCH 1/3] dt-bindings: arm: Document RZ/G2N SoC DT bindings Biju Das
2019-09-09 12:19   ` Geert Uytterhoeven
2019-09-05  9:30 ` [PATCH 2/3] soc: renesas: Identify RZ/G2N Biju Das
2019-09-09 12:29   ` Geert Uytterhoeven
2019-09-05  9:30 ` [PATCH 3/3] arm64: Add Renesas R8A774B1 support Biju Das
2019-09-09 12:30   ` Geert Uytterhoeven
2019-09-09 12:32     ` Biju Das

Linux-Renesas-SoC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-renesas-soc/0 linux-renesas-soc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-renesas-soc linux-renesas-soc/ https://lore.kernel.org/linux-renesas-soc \
		linux-renesas-soc@vger.kernel.org linux-renesas-soc@archiver.kernel.org
	public-inbox-index linux-renesas-soc


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-renesas-soc


AGPL code for this site: git clone https://public-inbox.org/ public-inbox