* [PATCH v2 0/2] Add R8A7792 SDHI support
@ 2016-07-23 18:09 Sergei Shtylyov
2016-07-23 18:10 ` [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2016-07-23 18:09 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160722-v4.7-rc7' tag. We're adding the R8A7792 SDHI clocks and
device nodes. They have been tested on the Blanche board -- I'm not posting the
Blanche patch only because it has some strange interaction with the Ethernet
chip, so that NFS root wouldn't work anymore...
[1/2] ARM: dts: r8a7792: add SD clocks
[2/2] ARM: dts: r8a7792: add SDHI support
WBR, Sergei
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks
2016-07-23 18:09 [PATCH v2 0/2] Add R8A7792 SDHI support Sergei Shtylyov
@ 2016-07-23 18:10 ` Sergei Shtylyov
[not found] ` <2958440.dIj6ehVyCb-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-07-23 18:11 ` [PATCH v2 2/2] ARM: dts: r8a7792: add SDHI support Sergei Shtylyov
2016-07-25 1:39 ` [PATCH v2 0/2] Add R8A7792 " Simon Horman
2 siblings, 1 reply; 5+ messages in thread
From: Sergei Shtylyov @ 2016-07-23 18:10 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Describe the SDHI0 clock and its parent, SD clock in the R8A7792 device tree.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 2:
- refreshed the patch.
arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -535,6 +535,13 @@
clock-div = <8>;
clock-mult = <1>;
};
+ sd_clk: sd {
+ compatible = "fixed-factor-clock";
+ clocks = <&pll1_div2_clk>;
+ #clock-cells = <0>;
+ clock-div = <8>;
+ clock-mult = <1>;
+ };
rcan_clk: rcan {
compatible = "fixed-factor-clock";
clocks = <&pll1_div2_clk>;
@@ -564,6 +571,15 @@
>;
clock-output-names = "sys-dmac1", "sys-dmac0";
};
+ mstp3_clks: mstp3_clks@e615013c {
+ compatible = "renesas,r8a7792-mstp-clocks",
+ "renesas,cpg-mstp-clocks";
+ reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
+ clocks = <&sd_clk>;
+ #clock-cells = <1>;
+ renesas,clock-indices = <R8A7792_CLK_SDHI0>;
+ clock-output-names = "sdhi0";
+ };
mstp4_clks: mstp4_clks@e6150140 {
compatible = "renesas,r8a7792-mstp-clocks",
"renesas,cpg-mstp-clocks";
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] ARM: dts: r8a7792: add SDHI support
2016-07-23 18:09 [PATCH v2 0/2] Add R8A7792 SDHI support Sergei Shtylyov
2016-07-23 18:10 ` [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks Sergei Shtylyov
@ 2016-07-23 18:11 ` Sergei Shtylyov
2016-07-25 1:39 ` [PATCH v2 0/2] Add R8A7792 " Simon Horman
2 siblings, 0 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2016-07-23 18:11 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Define the generic R8A7792 part of the SDHI0 device node.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 2:
- fixed up the size in the "reg" property.
arch/arm/boot/dts/r8a7792.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi
+++ renesas/arch/arm/boot/dts/r8a7792.dtsi
@@ -435,6 +435,18 @@
status = "disabled";
};
+ sdhi0: sd@ee100000 {
+ compatible = "renesas,sdhi-r8a7792";
+ reg = <0 0xee100000 0 0x328>;
+ interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
+ <&dmac1 0xcd>, <&dmac1 0xce>;
+ dma-names = "tx", "rx", "tx", "rx";
+ clocks = <&mstp3_clks R8A7792_CLK_SDHI0>;
+ power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+ status = "disabled";
+ };
+
jpu: jpeg-codec@fe980000 {
compatible = "renesas,jpu-r8a7792",
"renesas,rcar-gen2-jpu";
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Add R8A7792 SDHI support
2016-07-23 18:09 [PATCH v2 0/2] Add R8A7792 SDHI support Sergei Shtylyov
2016-07-23 18:10 ` [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks Sergei Shtylyov
2016-07-23 18:11 ` [PATCH v2 2/2] ARM: dts: r8a7792: add SDHI support Sergei Shtylyov
@ 2016-07-25 1:39 ` Simon Horman
2 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2016-07-25 1:39 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-renesas-soc, robh+dt, mark.rutland, devicetree, magnus.damm,
linux, linux-arm-kernel
On Sat, Jul 23, 2016 at 09:09:24PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20160722-v4.7-rc7' tag. We're adding the R8A7792 SDHI clocks and
> device nodes. They have been tested on the Blanche board -- I'm not posting the
> Blanche patch only because it has some strange interaction with the Ethernet
> chip, so that NFS root wouldn't work anymore...
>
> [1/2] ARM: dts: r8a7792: add SD clocks
> [2/2] ARM: dts: r8a7792: add SDHI support
Thanks, I have queued this up for v4.9.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks
[not found] ` <2958440.dIj6ehVyCb-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
@ 2016-08-08 12:37 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2016-08-08 12:37 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Magnus Damm,
Russell King,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
On Sat, Jul 23, 2016 at 8:10 PM, Sergei Shtylyov
<sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
> Describe the SDHI0 clock and its parent, SD clock in the R8A7792 device tree.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-08-08 12:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-23 18:09 [PATCH v2 0/2] Add R8A7792 SDHI support Sergei Shtylyov
2016-07-23 18:10 ` [PATCH v2 1/2] ARM: dts: r8a7792: add SD clocks Sergei Shtylyov
[not found] ` <2958440.dIj6ehVyCb-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-08-08 12:37 ` Geert Uytterhoeven
2016-07-23 18:11 ` [PATCH v2 2/2] ARM: dts: r8a7792: add SDHI support Sergei Shtylyov
2016-07-25 1:39 ` [PATCH v2 0/2] Add R8A7792 " Simon Horman
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).