All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes
@ 2018-09-03 17:30 Geert Uytterhoeven
  2018-09-03 17:43 ` Geert Uytterhoeven
  2018-09-05 10:57 ` Simon Horman
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2018-09-03 17:30 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: Ulrich Hecht, linux-renesas-soc, devicetree, Geert Uytterhoeven

Add the device nodes for all MSIOF SPI controllers, incl. clocks, power
domains, and resets properties.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r8a77990.dtsi | 52 +++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi
index aa101a85fd73d513..6677a74ebeaecc37 100644
--- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi
@@ -552,6 +552,58 @@
 			status = "disabled";
 		};
 
+		msiof0: spi@e6e90000 {
+			compatible = "renesas,msiof-r8a77990",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6e90000 0 0x0064>;
+			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 211>;
+			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+			resets = <&cpg 211>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof1: spi@e6ea0000 {
+			compatible = "renesas,msiof-r8a77990",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6ea0000 0 0x0064>;
+			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 210>;
+			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+			resets = <&cpg 210>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof2: spi@e6c00000 {
+			compatible = "renesas,msiof-r8a77990",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6c00000 0 0x0064>;
+			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 209>;
+			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+			resets = <&cpg 209>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
+		msiof3: spi@e6c10000 {
+			compatible = "renesas,msiof-r8a77990",
+				     "renesas,rcar-gen3-msiof";
+			reg = <0 0xe6c10000 0 0x0064>;
+			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 208>;
+			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+			resets = <&cpg 208>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		xhci0: usb@ee000000 {
 			compatible = "renesas,xhci-r8a77990",
 				     "renesas,rcar-gen3-xhci";
-- 
2.17.1

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

* Re: [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes
  2018-09-03 17:30 [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes Geert Uytterhoeven
@ 2018-09-03 17:43 ` Geert Uytterhoeven
  2018-09-05 10:57 ` Simon Horman
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2018-09-03 17:43 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Simon Horman, Magnus Damm, uli+renesas, Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Mon, Sep 3, 2018 at 7:30 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> Add the device nodes for all MSIOF SPI controllers, incl. clocks, power
> domains, and resets properties.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

FTR, this was tested on the Ebisu development board using MSIOF0 on CN41,
with:
  - spidev and a SmartScope in logic analyzer mode,
  - 2x74HCT595 shift registers providing GPIOs for a HD44780 character LCD.

All using DT overlays from
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/renesas-overlays

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

* Re: [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes
  2018-09-03 17:30 [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes Geert Uytterhoeven
  2018-09-03 17:43 ` Geert Uytterhoeven
@ 2018-09-05 10:57 ` Simon Horman
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2018-09-05 10:57 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Magnus Damm, Ulrich Hecht, linux-renesas-soc, devicetree

On Mon, Sep 03, 2018 at 07:30:00PM +0200, Geert Uytterhoeven wrote:
> Add the device nodes for all MSIOF SPI controllers, incl. clocks, power
> domains, and resets properties.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks Geert, applied for v4.20.

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

end of thread, other threads:[~2018-09-05 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 17:30 [PATCH] arm64: dts: renesas: r8a77990: Add all MSIOF nodes Geert Uytterhoeven
2018-09-03 17:43 ` Geert Uytterhoeven
2018-09-05 10:57 ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.