2020-08-12 15:02:33

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH 0/2] r8a7742 add QSPI support

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


2020-08-12 15:04:14

by Prabhakar Mahadev Lad

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

Add QSPI DT node to R8A7742 SoC dtsi.

Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Chris Paterson <[email protected]>
---
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

2020-08-12 15:05:09

by Prabhakar Mahadev Lad

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

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 <[email protected]>
Reviewed-by: Chris Paterson <[email protected]>
---
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

2020-08-13 09:24:25

by Geert Uytterhoeven

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

On Wed, Aug 12, 2020 at 5:01 PM Lad Prabhakar
<[email protected]> 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 <[email protected]>
> Reviewed-by: Chris Paterson <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

2020-08-13 09:25:49

by Geert Uytterhoeven

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

On Wed, Aug 12, 2020 at 5:02 PM Lad Prabhakar
<[email protected]> wrote:
> Add QSPI DT node to R8A7742 SoC dtsi.
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Chris Paterson <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v5.10.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

2020-08-18 17:03:25

by Mark Brown

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

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

2020-08-24 23:26:33

by Rob Herring (Arm)

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

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 <[email protected]>
> Reviewed-by: Chris Paterson <[email protected]>
> ---
> Documentation/devicetree/bindings/spi/renesas,rspi.yaml | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>