linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] r8a7742 add QSPI support
@ 2020-08-12 15:00 Lad Prabhakar
  2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-12 15:00 UTC (permalink / raw)
  To: Geert Uytterhoeven, Mark Brown, Rob Herring, Magnus Damm, linux-spi
  Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar,
	Lad Prabhakar, Chris Paterson

Hi All,

This patchset adds qspi node to r8a7742 (RZ/G1H) SoC along
with updating the DT binding. 

Cheers,
Prabhakar

Lad Prabhakar (2):
  dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list
  ARM: dts: r8a7742: Add QSPI support

 .../devicetree/bindings/spi/renesas,rspi.yaml    |  1 +
 arch/arm/boot/dts/r8a7742.dtsi                   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

-- 
2.17.1


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

* [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list
  2020-08-12 15:00 [PATCH 0/2] r8a7742 add QSPI support Lad Prabhakar
@ 2020-08-12 15:00 ` Lad Prabhakar
  2020-08-13  9:21   ` Geert Uytterhoeven
  2020-08-24 23:25   ` Rob Herring
  2020-08-12 15:00 ` [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support Lad Prabhakar
  2020-08-18 16:57 ` [PATCH 0/2] r8a7742 add " Mark Brown
  2 siblings, 2 replies; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-12 15:00 UTC (permalink / raw)
  To: Geert Uytterhoeven, Mark Brown, Rob Herring, Magnus Damm, linux-spi
  Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar,
	Lad Prabhakar, Chris Paterson

Document RZ/G1H (R8A7742) SoC specific bindings. The R8A7742 qspi module
is identical to R-Car Gen2 family.

No driver change is needed due to the fallback compatible value
"renesas,qspi".

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
 Documentation/devicetree/bindings/spi/renesas,rspi.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
index c54ac059043f..0d201ce1d5da 100644
--- a/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
+++ b/Documentation/devicetree/bindings/spi/renesas,rspi.yaml
@@ -25,6 +25,7 @@ properties:
 
       - items:
           - enum:
+              - renesas,qspi-r8a7742   # RZ/G1H
               - renesas,qspi-r8a7743   # RZ/G1M
               - renesas,qspi-r8a7744   # RZ/G1N
               - renesas,qspi-r8a7745   # RZ/G1E
-- 
2.17.1


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

* [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support
  2020-08-12 15:00 [PATCH 0/2] r8a7742 add QSPI support Lad Prabhakar
  2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
@ 2020-08-12 15:00 ` Lad Prabhakar
  2020-08-13  9:24   ` Geert Uytterhoeven
  2020-08-18 16:57 ` [PATCH 0/2] r8a7742 add " Mark Brown
  2 siblings, 1 reply; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-12 15:00 UTC (permalink / raw)
  To: Geert Uytterhoeven, Mark Brown, Rob Herring, Magnus Damm, linux-spi
  Cc: devicetree, linux-kernel, linux-renesas-soc, Prabhakar,
	Lad Prabhakar, Chris Paterson

Add QSPI DT node to R8A7742 SoC dtsi.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
 arch/arm/boot/dts/r8a7742.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 5070e2a87231..009827708bf4 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -701,6 +701,22 @@
 			status = "disabled";
 		};
 
+		qspi: spi@e6b10000 {
+			compatible = "renesas,qspi-r8a7742", "renesas,qspi";
+			reg = <0 0xe6b10000 0 0x2c>;
+			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 917>;
+			dmas = <&dmac0 0x17>, <&dmac0 0x18>,
+			       <&dmac1 0x17>, <&dmac1 0x18>;
+			dma-names = "tx", "rx", "tx", "rx";
+			power-domains = <&sysc R8A7742_PD_ALWAYS_ON>;
+			resets = <&cpg 917>;
+			num-cs = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		scifa0: serial@e6c40000 {
 			compatible = "renesas,scifa-r8a7742",
 				     "renesas,rcar-gen2-scifa", "renesas,scifa";
-- 
2.17.1


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

* Re: [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list
  2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
@ 2020-08-13  9:21   ` Geert Uytterhoeven
  2020-08-24 23:25   ` Rob Herring
  1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-08-13  9:21 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Mark Brown, Rob Herring, Magnus Damm, linux-spi,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux-Renesas, Prabhakar,
	Chris Paterson

On Wed, Aug 12, 2020 at 5:01 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document RZ/G1H (R8A7742) SoC specific bindings. The R8A7742 qspi module
> is identical to R-Car Gen2 family.
>
> No driver change is needed due to the fallback compatible value
> "renesas,qspi".
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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] 7+ messages in thread

* Re: [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support
  2020-08-12 15:00 ` [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support Lad Prabhakar
@ 2020-08-13  9:24   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-08-13  9:24 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Mark Brown, Rob Herring, Magnus Damm, linux-spi,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List, Linux-Renesas, Prabhakar,
	Chris Paterson

On Wed, Aug 12, 2020 at 5:02 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add QSPI DT node to R8A7742 SoC dtsi.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>

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

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] 7+ messages in thread

* Re: [PATCH 0/2] r8a7742 add QSPI support
  2020-08-12 15:00 [PATCH 0/2] r8a7742 add QSPI support Lad Prabhakar
  2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
  2020-08-12 15:00 ` [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support Lad Prabhakar
@ 2020-08-18 16:57 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2020-08-18 16:57 UTC (permalink / raw)
  To: Magnus Damm, Rob Herring, linux-spi, Lad Prabhakar, Geert Uytterhoeven
  Cc: Prabhakar, linux-renesas-soc, devicetree, linux-kernel, Chris Paterson

On Wed, 12 Aug 2020 16:00:46 +0100, Lad Prabhakar wrote:
> This patchset adds qspi node to r8a7742 (RZ/G1H) SoC along
> with updating the DT binding.
> 
> Cheers,
> Prabhakar
> 
> Lad Prabhakar (2):
>   dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list
>   ARM: dts: r8a7742: Add QSPI support
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: renesas,rspi: Add r8a7742 to the compatible list
      commit: 08f9793efd3decae75e60bfec2e6068f2d4180df

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

* Re: [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list
  2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
  2020-08-13  9:21   ` Geert Uytterhoeven
@ 2020-08-24 23:25   ` Rob Herring
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring @ 2020-08-24 23:25 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: linux-kernel, Prabhakar, Magnus Damm, linux-spi, devicetree,
	Rob Herring, Mark Brown, linux-renesas-soc, Chris Paterson,
	Geert Uytterhoeven

On Wed, 12 Aug 2020 16:00:47 +0100, Lad Prabhakar wrote:
> Document RZ/G1H (R8A7742) SoC specific bindings. The R8A7742 qspi module
> is identical to R-Car Gen2 family.
> 
> No driver change is needed due to the fallback compatible value
> "renesas,qspi".
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
> ---
>  Documentation/devicetree/bindings/spi/renesas,rspi.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

end of thread, other threads:[~2020-08-24 23:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 15:00 [PATCH 0/2] r8a7742 add QSPI support Lad Prabhakar
2020-08-12 15:00 ` [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list Lad Prabhakar
2020-08-13  9:21   ` Geert Uytterhoeven
2020-08-24 23:25   ` Rob Herring
2020-08-12 15:00 ` [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support Lad Prabhakar
2020-08-13  9:24   ` Geert Uytterhoeven
2020-08-18 16:57 ` [PATCH 0/2] r8a7742 add " Mark Brown

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