[PATCH 0/2] r8a7742 add QSPI support

STALE2203d

7 messages, 4 authors, 2020-08-24 · open the first message on its own page

[PATCH 0/2] r8a7742 add QSPI support

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Date: 2020-08-12 15:01:15

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

[PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Date: 2020-08-12 15:01:56

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 <redacted>
---
 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

[PATCH 2/2] ARM: dts: r8a7742: Add QSPI support

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Date: 2020-08-12 15:02:36

Add QSPI DT node to R8A7742 SoC dtsi.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Chris Paterson <redacted>
---
 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

Re: [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-08-13 09:21:44

On Wed, Aug 12, 2020 at 5:01 PM Lad Prabhakar
[off-list ref] 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 <redacted>
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

Re: [PATCH 2/2] ARM: dts: r8a7742: Add QSPI support

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-08-13 09:24:57

On Wed, Aug 12, 2020 at 5:02 PM Lad Prabhakar
[off-list ref] 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 <redacted>
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

Re: [PATCH 0/2] r8a7742 add QSPI support

From: Mark Brown <broonie@kernel.org>
Date: 2020-08-18 16:59:40

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

Re: [PATCH 1/2] dt-bindings: spi: renesas,rspi: Add r8a7742 to the compatible list

From: Rob Herring <robh@kernel.org>
Date: 2020-08-24 23:25:07

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 <redacted>
---
 Documentation/devicetree/bindings/spi/renesas,rspi.yaml | 1 +
 1 file changed, 1 insertion(+)
Acked-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help