* [PATCH 0/2] Add R8A7792 MSIOF support @ 2016-09-05 20:54 Sergei Shtylyov 2016-09-05 20:55 ` [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks Sergei Shtylyov ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: Sergei Shtylyov @ 2016-09-05 20:54 UTC (permalink / raw) To: horms-/R6kz+dDXgpPR4JQBCEnsQ, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20160905-v4.8-rc5' tag. We're adding the R8A7792 MSIOF clocks and device nodes. I'm not posting the board patches because the MSIOF driver seems erratic ATM... [1/2] ARM: dts: r8a7792: add MSIOF clock [2/2] ARM: dts: r8a7792: add MSIOF support WBR, Sergei -- 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] 7+ messages in thread
* [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks 2016-09-05 20:54 [PATCH 0/2] Add R8A7792 MSIOF support Sergei Shtylyov @ 2016-09-05 20:55 ` Sergei Shtylyov 2016-09-06 7:07 ` Geert Uytterhoeven 2016-09-05 20:55 ` [PATCH 2/2] ARM: dts: r8a7792: add MSIOF support Sergei Shtylyov [not found] ` <2481458.x1iQg26kO7-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org> 2 siblings, 1 reply; 7+ messages in thread From: Sergei Shtylyov @ 2016-09-05 20:55 UTC (permalink / raw) To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree Cc: magnus.damm, linux, linux-arm-kernel Describe the MSIOF0/1 clocks and their parent, MP clock in the R8A7792 device tree. Based on the original (and large) patch by Vladimir Barinov <vladimir.barinov@cogentembedded.com>. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm/boot/dts/r8a7792.dtsi | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) Index: renesas/arch/arm/boot/dts/r8a7792.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi +++ renesas/arch/arm/boot/dts/r8a7792.dtsi @@ -763,6 +763,13 @@ clock-div = <48>; clock-mult = <1>; }; + mp_clk: mp { + compatible = "fixed-factor-clock"; + clocks = <&pll1_div2_clk>; + #clock-cells = <0>; + clock-div = <15>; + clock-mult = <1>; + }; m2_clk: m2 { compatible = "fixed-factor-clock"; clocks = <&cpg_clocks R8A7792_CLK_PLL1>; @@ -793,6 +800,15 @@ }; /* Gate clocks */ + mstp0_clks: mstp0_clks@e6150130 { + compatible = "renesas,r8a7792-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>; + clocks = <&mp_clk>; + #clock-cells = <1>; + clock-indices = <R8A7792_CLK_MSIOF0>; + clock-output-names = "msiof0"; + }; mstp1_clks: mstp1_clks@e6150134 { compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks"; @@ -811,12 +827,13 @@ compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>; - clocks = <&zs_clk>, <&zs_clk>; + clocks = <&mp_clk>, <&zs_clk>, <&zs_clk>; #clock-cells = <1>; clock-indices = < + R8A7792_CLK_MSIOF1 R8A7792_CLK_SYS_DMAC1 R8A7792_CLK_SYS_DMAC0 >; - clock-output-names = "sys-dmac1", "sys-dmac0"; + clock-output-names = "msiof1", "sys-dmac1", "sys-dmac0"; }; mstp3_clks: mstp3_clks@e615013c { compatible = "renesas,r8a7792-mstp-clocks", ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks 2016-09-05 20:55 ` [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks Sergei Shtylyov @ 2016-09-06 7:07 ` Geert Uytterhoeven 0 siblings, 0 replies; 7+ messages in thread From: Geert Uytterhoeven @ 2016-09-06 7: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 Mon, Sep 5, 2016 at 10:55 PM, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> wrote: > Describe the MSIOF0/1 clocks and their parent, MP clock in the R8A7792 > device tree. > > Based on the original (and large) patch by Vladimir Barinov > <vladimir.barinov@cogentembedded.com>. > > 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 2/2] ARM: dts: r8a7792: add MSIOF support 2016-09-05 20:54 [PATCH 0/2] Add R8A7792 MSIOF support Sergei Shtylyov 2016-09-05 20:55 ` [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks Sergei Shtylyov @ 2016-09-05 20:55 ` Sergei Shtylyov 2016-09-06 7:10 ` Geert Uytterhoeven [not found] ` <2481458.x1iQg26kO7-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org> 2 siblings, 1 reply; 7+ messages in thread From: Sergei Shtylyov @ 2016-09-05 20:55 UTC (permalink / raw) To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree Cc: magnus.damm, linux, linux-arm-kernel Define the generic R8A7792 parts of the MSIOF0/1 device nodes. Based on the original (and large) patch by Vladimir Barinov <vladimir.barinov@cogentembedded.com>. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> --- arch/arm/boot/dts/r8a7792.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7792.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792.dtsi +++ renesas/arch/arm/boot/dts/r8a7792.dtsi @@ -26,6 +26,8 @@ i2c4 = &i2c4; i2c5 = &i2c5; spi0 = &qspi; + spi1 = &msiof0; + spi2 = &msiof1; vin0 = &vin0; vin1 = &vin1; vin2 = &vin2; @@ -570,6 +572,34 @@ #address-cells = <1>; #size-cells = <0>; status = "disabled"; + }; + + msiof0: spi@e6e20000 { + compatible = "renesas,msiof-r8a7792"; + reg = <0 0xe6e20000 0 0x0064>; + interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp0_clks R8A7792_CLK_MSIOF0>; + dmas = <&dmac0 0x51>, <&dmac0 0x52>, + <&dmac1 0x51>, <&dmac1 0x52>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + msiof1: spi@e6e10000 { + compatible = "renesas,msiof-r8a7792"; + reg = <0 0xe6e10000 0 0x0064>; + interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp2_clks R8A7792_CLK_MSIOF1>; + dmas = <&dmac0 0x55>, <&dmac0 0x56>, + <&dmac1 0x55>, <&dmac1 0x56>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7792_PD_ALWAYS_ON>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; }; du: display@feb00000 { ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] ARM: dts: r8a7792: add MSIOF support 2016-09-05 20:55 ` [PATCH 2/2] ARM: dts: r8a7792: add MSIOF support Sergei Shtylyov @ 2016-09-06 7:10 ` Geert Uytterhoeven 0 siblings, 0 replies; 7+ messages in thread From: Geert Uytterhoeven @ 2016-09-06 7:10 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 Mon, Sep 5, 2016 at 10:55 PM, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> wrote: > Based on the original (and large) patch by Vladimir Barinov > <vladimir.barinov@cogentembedded.com>. > > 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
[parent not found: <2481458.x1iQg26kO7-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>]
* Re: [PATCH 0/2] Add R8A7792 MSIOF support [not found] ` <2481458.x1iQg26kO7-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org> @ 2016-09-22 21:18 ` Sergei Shtylyov 2016-09-23 7:39 ` Simon Horman 0 siblings, 1 reply; 7+ messages in thread From: Sergei Shtylyov @ 2016-09-22 21:18 UTC (permalink / raw) To: horms-/R6kz+dDXgpPR4JQBCEnsQ, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, linux-lFZ/pmaqli7XmaaqVzeoHQ, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Hello. On 09/05/2016 11:54 PM, Sergei Shtylyov wrote: > Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-20160905-v4.8-rc5' tag. We're adding the R8A7792 MSIOF clocks > and device nodes. I'm not posting the board patches because the MSIOF driver > seems erratic ATM... > > [1/2] ARM: dts: r8a7792: add MSIOF clock > [2/2] ARM: dts: r8a7792: add MSIOF support These seem stuck for no apparent reason. Simon? WBR, Sergei -- 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] 7+ messages in thread
* Re: [PATCH 0/2] Add R8A7792 MSIOF support 2016-09-22 21:18 ` [PATCH 0/2] Add R8A7792 " Sergei Shtylyov @ 2016-09-23 7:39 ` Simon Horman 0 siblings, 0 replies; 7+ messages in thread From: Simon Horman @ 2016-09-23 7:39 UTC (permalink / raw) To: Sergei Shtylyov Cc: linux-renesas-soc, robh+dt, mark.rutland, devicetree, magnus.damm, linux, linux-arm-kernel On Fri, Sep 23, 2016 at 12:18:52AM +0300, Sergei Shtylyov wrote: > Hello. > > On 09/05/2016 11:54 PM, Sergei Shtylyov wrote: > > > Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > >'renesas-devel-20160905-v4.8-rc5' tag. We're adding the R8A7792 MSIOF clocks > >and device nodes. I'm not posting the board patches because the MSIOF driver > >seems erratic ATM... > > > >[1/2] ARM: dts: r8a7792: add MSIOF clock > >[2/2] ARM: dts: r8a7792: add MSIOF support > > These seem stuck for no apparent reason. Simon? Thanks, I have queued these up. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-09-23 7:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-09-05 20:54 [PATCH 0/2] Add R8A7792 MSIOF support Sergei Shtylyov 2016-09-05 20:55 ` [PATCH 1/2] ARM: dts: r8a7792: add MSIOF clocks Sergei Shtylyov 2016-09-06 7:07 ` Geert Uytterhoeven 2016-09-05 20:55 ` [PATCH 2/2] ARM: dts: r8a7792: add MSIOF support Sergei Shtylyov 2016-09-06 7:10 ` Geert Uytterhoeven [not found] ` <2481458.x1iQg26kO7-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org> 2016-09-22 21:18 ` [PATCH 0/2] Add R8A7792 " Sergei Shtylyov 2016-09-23 7:39 ` 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).