* [PATCH 0/3] Add R8A7792/Blanche PFC support
@ 2016-06-30 23:05 Sergei Shtylyov
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2016-06-30 23:05 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: linux, magnus.damm, linux-arm-kernel
Hello.
Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160630-v4.7-rc5' tag. We're adding the R8A7792 PFC node and
the describe the pins for the SCIFs and SMSC LAN89218 Ethernet chip found on
the Blanche board). These patches depend on the R8A7792 PFC driver patchset
in order to work properly.
[1/3] ARM: dts: r8a7792: add PFC support
[2/3] ARM: dts: blanche: add SCIF pins
[3/3] ARM: dts: blanche: add Ethernet pins
WBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] ARM: dts: r8a7792: add PFC support
2016-06-30 23:05 [PATCH 0/3] Add R8A7792/Blanche PFC support Sergei Shtylyov
@ 2016-06-30 23:06 ` Sergei Shtylyov
2016-07-01 8:07 ` Geert Uytterhoeven
2016-07-02 17:07 ` Sergei Shtylyov
2016-06-30 23:08 ` [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins Sergei Shtylyov
2016-06-30 23:08 ` [PATCH 3/3] ARM: dts: blanche: add Ethernet pins Sergei Shtylyov
2 siblings, 2 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2016-06-30 23:06 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: linux, magnus.damm, linux-arm-kernel
Define the generic R8A7792 part of the PFC device node.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -108,6 +108,12 @@
#power-domain-cells = <1>;
};
+
+ pfc: pin-controller@e6060000 {
+ compatible = "renesas,pfc-r8a7792";
+ reg = <0 0xe6060000 0 0x144>;
+ };
+
dmac0: dma-controller@e6700000 {
compatible = "renesas,dmac-r8a7792",
"renesas,rcar-dmac";
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] ARM: dts: r8a7792: add PFC support
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
@ 2016-07-01 8:07 ` Geert Uytterhoeven
2016-07-02 17:07 ` Sergei Shtylyov
1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-07-01 8:07 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree@vger.kernel.org, Magnus Damm, Russell King,
linux-arm-kernel@lists.infradead.org
On Fri, Jul 1, 2016 at 1:06 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Define the generic R8A7792 part of the PFC device node.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.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 1/3] ARM: dts: r8a7792: add PFC support
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
2016-07-01 8:07 ` Geert Uytterhoeven
@ 2016-07-02 17:07 ` Sergei Shtylyov
1 sibling, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2016-07-02 17:07 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Hello.
On 07/01/2016 02:06 AM, Sergei Shtylyov wrote:
> Define the generic R8A7792 part of the PFC device node.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> arch/arm/boot/dts/r8a7792.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
> +++ renesas/arch/arm/boot/dts/r8a7792.dtsi
> @@ -108,6 +108,12 @@
> #power-domain-cells = <1>;
> };
>
> +
Just noticed this extra empty line... :-/
> + pfc: pin-controller@e6060000 {
> + compatible = "renesas,pfc-r8a7792";
> + reg = <0 0xe6060000 0 0x144>;
> + };
> +
> dmac0: dma-controller@e6700000 {
> compatible = "renesas,dmac-r8a7792",
> "renesas,rcar-dmac";
Will repost.
MBR, Sergei
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins
2016-06-30 23:05 [PATCH 0/3] Add R8A7792/Blanche PFC support Sergei Shtylyov
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
@ 2016-06-30 23:08 ` Sergei Shtylyov
2016-07-01 8:10 ` Geert Uytterhoeven
2016-06-30 23:08 ` [PATCH 3/3] ARM: dts: blanche: add Ethernet pins Sergei Shtylyov
2 siblings, 1 reply; 7+ messages in thread
From: Sergei Shtylyov @ 2016-06-30 23:08 UTC (permalink / raw)
To: horms, robh+dt, mark.rutland, devicetree
Cc: linux-renesas-soc, linux, magnus.damm, linux-arm-kernel
Add the (previously omitted) SCIF0/3 pin data to the Blanche board's
device tree.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792-blanche.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-blanche.dts
+++ renesas/arch/arm/boot/dts/r8a7792-blanche.dts
@@ -57,10 +57,28 @@
clock-frequency = <20000000>;
};
+&pfc {
+ scif0_pins: scif0 {
+ groups = "scif0_data";
+ function = "scif0";
+ };
+
+ scif3_pins: scif3 {
+ groups = "scif3_data";
+ function = "scif3";
+ };
+};
+
&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
status = "okay";
};
&scif3 {
+ pinctrl-0 = <&scif3_pins>;
+ pinctrl-names = "default";
+
status = "okay";
};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins
2016-06-30 23:08 ` [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins Sergei Shtylyov
@ 2016-07-01 8:10 ` Geert Uytterhoeven
0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-07-01 8:10 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Mark Rutland, devicetree@vger.kernel.org, Russell King,
Magnus Damm, Rob Herring, Linux-Renesas, Simon Horman,
linux-arm-kernel@lists.infradead.org
On Fri, Jul 1, 2016 at 1:08 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the (previously omitted) SCIF0/3 pin data to the Blanche board's
> device tree.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.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
* [PATCH 3/3] ARM: dts: blanche: add Ethernet pins
2016-06-30 23:05 [PATCH 0/3] Add R8A7792/Blanche PFC support Sergei Shtylyov
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
2016-06-30 23:08 ` [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins Sergei Shtylyov
@ 2016-06-30 23:08 ` Sergei Shtylyov
2 siblings, 0 replies; 7+ messages in thread
From: Sergei Shtylyov @ 2016-06-30 23:08 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: linux, magnus.damm, linux-arm-kernel
Add the (previously omitted) pin data for the SMSC LAN89218 Ethernet chip
to the Blanche board's device tree: the chip's IRQ output is connected to
the SoC's IRQ0 pin and its nCS input is connected to the SoC's EX_CS0# pin.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792-blanche.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-blanche.dts
+++ renesas/arch/arm/boot/dts/r8a7792-blanche.dts
@@ -50,6 +50,9 @@
reg-io-width = <4>;
vddvario-supply = <&d3_3v>;
vdd33a-supply = <&d3_3v>;
+
+ pinctrl-0 = <&lan89218_pins>;
+ pinctrl-names = "default";
};
};
@@ -67,6 +70,18 @@
groups = "scif3_data";
function = "scif3";
};
+
+ lan89218_pins: lan89218 {
+ intc {
+ groups = "intc_irq0";
+ function = "intc";
+ };
+ lbsc {
+ groups = "lbsc_ex_cs0";
+ function = "lbsc";
+ };
+ };
+
};
&scif0 {
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-02 17:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30 23:05 [PATCH 0/3] Add R8A7792/Blanche PFC support Sergei Shtylyov
2016-06-30 23:06 ` [PATCH 1/3] ARM: dts: r8a7792: add " Sergei Shtylyov
2016-07-01 8:07 ` Geert Uytterhoeven
2016-07-02 17:07 ` Sergei Shtylyov
2016-06-30 23:08 ` [PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins Sergei Shtylyov
2016-07-01 8:10 ` Geert Uytterhoeven
2016-06-30 23:08 ` [PATCH 3/3] ARM: dts: blanche: add Ethernet pins Sergei Shtylyov
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).