[PATCH 2/9] arm64: dts: renesas: r8a774a1: Add I2C and IIC-DVFS support

2018-08-23 Thread Fabrizio Castro
From: Biju Das Add the I2C[0-6] and IIC Bus Interface for DVFS (IIC for DVFS) devices nodes to the r8a774a1 device tree. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 142 ++ 1 file changed, 142 insertions

[PATCH 0/9] Add more support for r8a774a1

2018-08-23 Thread Fabrizio Castro
I2C and IIC-DVFS support arm64: dts: renesas: r8a774a1: Add RZ/G2M thermal support arm64: dts: renesas: r8a774a1: Add all MSIOF nodes arm64: dts: renesas: r8a774a1: Add Cortex-A53 CPU cores arm64: dts: renesas: r8a774a1: Add audio support Fabrizio Castro (4): arm64: dts: renesas: r8a774a1

[PATCH 1/2] thermal: rcar_gen3_thermal: Add r8a774a1 support

2018-08-17 Thread Fabrizio Castro
Add r8a774a1 specific compatible string. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das --- This patch applies on top of renesas-drivers-2018-07-31-v4.18-rc7 drivers/thermal/rcar_gen3_thermal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/rcar_gen3_thermal.c b

RE: [PATCH] arm64: dts: renesas: Initial r8a774a1 SoC device tree

2018-08-13 Thread Fabrizio Castro
ring ; Mark Rutland > > > > > ; Catalin Marinas > > ; > > > > > Will Deacon > > > > > Cc: Biju Das ; Simon Horman > > > > > ; Magnus Damm ; > > > > > linux-renesas-soc@vger.kernel.org; devicet...@vger.kernel.org; > > &g

RE: [PATCH] arm64: dts: renesas: Initial r8a774a1 SoC device tree

2018-08-13 Thread Fabrizio Castro
Hello Biju, > -Original Message- > From: Biju Das > Sent: 13 August 2018 11:26 > To: Fabrizio Castro ; Rob Herring > ; Mark Rutland ; > Catalin Marinas ; Will Deacon > Cc: Simon Horman ; Magnus Damm ; > linux-renesas-soc@vger.kernel.org; > devicet...@vge

RE: [PATCH] arm64: dts: renesas: Initial r8a774a1 SoC device tree

2018-08-13 Thread Fabrizio Castro
oc@vger.kernel.org; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Geert Uytterhoeven > ; Chris Paterson ; > Fabrizio Castro > Subject: [PATCH] arm64: dts: renesas: Initial r8a774a1 SoC device tree > > Basic support for the RZ/G2M SoC. > > Signed-off-by: Biju Das >

RE: [PATCH v2 1/3] dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

2018-05-15 Thread Fabrizio Castro
Thank you Simon. Fab > -Original Message- > From: Simon Horman [mailto:ho...@verge.net.au] > Sent: 13 May 2018 08:47 > To: Fabrizio Castro > Cc: Thomas Gleixner ; Daniel Lezcano > ; Geert Uytterhoeven > ; devicet...@vger.kernel.org; Chris Paterson > ; Biju D

RE: [PATCH/RFC v2] ARM: shmobile: defconfig: Enable LPAE

2018-04-26 Thread Fabrizio Castro
Hello Florian, Thank you for your feedback! > Subject: Re: [PATCH/RFC v2] ARM: shmobile: defconfig: Enable LPAE > > On 04/25/2018 09:14 AM, Fabrizio Castro wrote: > > On iWave's iwg20m DDR1 512MB memory cannot be accessed with 32-bit > > addresses, hence we need LPAE. &

[PATCH/RFC v2] ARM: shmobile: defconfig: Enable LPAE

2018-04-25 Thread Fabrizio Castro
On iWave's iwg20m DDR1 512MB memory cannot be accessed with 32-bit addresses, hence we need LPAE. Signed-off-by: Biju Das Signed-off-by: Fabrizio Castro --- This information is mentioned in the "RZ/G Series User’s Manual: Hardware", Chapter 2, Area Map. Is this patch goi

RE: [PATCH/RFC] ARM: shmobile: defconfig: Enable LPAE

2018-04-25 Thread Fabrizio Castro
Hello Chris, > Subject: RE: [PATCH/RFC] ARM: shmobile: defconfig: Enable LPAE > > Hello Fab, > > > From: Fabrizio Castro [mailto:fabrizio.cas...@bp.renesas.com] > > Sent: 25 April 2018 16:54 > > > > On iWave's iwg20d DDR1 512MB memory cannot be access

[PATCH/RFC] ARM: shmobile: defconfig: Enable LPAE

2018-04-25 Thread Fabrizio Castro
On iWave's iwg20d DDR1 512MB memory cannot be accessed with 32-bit addresses, hence we need LPAE. Signed-off-by: Biju Das Signed-off-by: Fabrizio Castro --- This information is mentioned in the "RZ/G Series User’s Manual: Hardware", Chapter 2, Area Map. Is this patch goi

RE: [PATCH] watchdog: renesas-wdt: Remove R-Car M2-W ES2.x from blacklist

2018-04-20 Thread Fabrizio Castro
> Subject: [PATCH] watchdog: renesas-wdt: Remove R-Car M2-W ES2.x from blacklist > > System restart triggered by watchdog time-out works fine on a Koelsch > board with R-Car M2-W ES2.0. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > Thanks to Ma

RE: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2018-04-10 Thread Fabrizio Castro
Hello Niklas, > Subject: Re: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree > support for r8a774[35] > > Hi Fabrizio, > > On 2018-04-10 09:55:29 +0000, Fabrizio Castro wrote: > > Dear All, > > > > this patch was originally sent on the

RE: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2018-04-10 Thread Fabrizio Castro
To: Laurent Pinchart ; Hans Verkuil > ; linux-me...@vger.kernel.org > Cc: linux-renesas-soc@vger.kernel.org; TOMOHARU FUKAWA > ; Kieran Bingham > ; Fabrizio Castro > > Subject: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree > support for r8a774[35] > > Fr

RE: [PATCH v2 1/3] dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

2018-04-10 Thread Fabrizio Castro
Good morning gentlemen, I am very sorry to bother you again, but it seems this patch has no master. Is anybody willing to take it? Thanks, Fab > -Original Message- > From: Fabrizio Castro [mailto:fabrizio.cas...@bp.renesas.com] > Sent: 18 December 2017 17:39 > To: Rob He

RE: [PATCH 5/5] clk: renesas: r8a7794: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
t; DEF_FIXED("i", R8A7794_CLK_I, CLK_PLL1, 2, 1), > DEF_FIXED("b", R8A7794_CLK_B, CLK_PLL1, 12, 1), > +DEF_FIXED("lb", R8A7794_CLK_B, CLK_PLL1, 24, 1), s/R8A7794_CLK_B/R8A7794_CLK_LB/ With that fixed: Reviewed-by: Fa

RE: [PATCH 3/5] clk: renesas: r8a7791/r8a7793: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
Hence > model the clock as a fixed factor clock instead. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Fabrizio Castro > --- > drivers/clk/renesas/r8a7791-cpg-mssr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/renesas/r8a7791-c

RE: [PATCH 4/5] clk: renesas: r8a7792: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
> DEF_FIXED("b", R8A7792_CLK_B, CLK_PLL1, 12, 1), > +DEF_FIXED("lb", R8A7792_CLK_B, CLK_PLL1, 24, 1), s/ R8A7792_CLK_B/ R8A7792_CLK_LB/ With that fixed: Reviewed-by: Fabrizio Castro > DEF_FIXED("p", R8A7792_CLK_P, CLK_PL

RE: [PATCH 2/5] clk: renesas: r8a7745: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
gt; as a fixed factor clock instead. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Fabrizio Castro > --- > drivers/clk/renesas/r8a7745-cpg-mssr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/renesas/r8a7745-cpg-mssr.c > b/d

RE: [PATCH 1/5] clk: renesas: r8a7743: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
gt; as a fixed factor clock instead. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Fabrizio Castro > --- > drivers/clk/renesas/r8a7743-cpg-mssr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/renesas/r8a7743-cpg-mssr.c > b/d

RE: [PATCH 09/12] ARM: shmobile: Document iW-RainboW-G23S single board computer

2018-03-29 Thread Fabrizio Castro
gt; > > > > Document the iW-RainboW-G23S single board computer device tree bindings, > > > listing it as a supported board. > > > > > > Signed-off-by: Biju Das > > > Reviewed-by: Fabrizio Castro > > > > Reviewed-by: Geert Uytterhoeven

RE: [PATCH 12/12] ARM: multi_v7_defconfig: Enable r8a77470 SoC

2018-03-27 Thread Fabrizio Castro
Hello Biju, thank you for your patch. > Subject: [PATCH 12/12] ARM: multi_v7_defconfig: Enable r8a77470 SoC > > Enable recently added r8a77470 (RZ/G1C) SoC. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro > --- > arch/arm/configs/multi_v7_defconfig |

RE: [PATCH v7] ARM: shmobile: Add watchdog support

2018-03-14 Thread Fabrizio Castro
Hello Simon, > Subject: Re: [PATCH v7] ARM: shmobile: Add watchdog support > > On Wed, Mar 14, 2018 at 11:13:53AM +, Fabrizio Castro wrote: > > On R-Car Gen2 and RZ/G1 platforms, we use the SBAR registers to make non > > boot CPUs run a routine designed to bring up SMP a

[PATCH v7] ARM: shmobile: Add watchdog support

2018-03-14 Thread Fabrizio Castro
o the amount of memory available. Since shmobile_boot_vector has become bigger, "reg" property of nodes compatible with "renesas,smp-sram" now need to be set to a value greater or equal to "<0 0x60>". Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmuga

RE: [PATCH v6 01/26] ARM: shmobile: Add watchdog support

2018-03-14 Thread Fabrizio Castro
Hi Geert, > Subject: Re: [PATCH v6 01/26] ARM: shmobile: Add watchdog support > > Hi Fabrizio, > > On Wed, Feb 28, 2018 at 6:40 PM, Fabrizio Castro > wrote: > > On R-Car Gen2 and RZ/G1 platforms, we use the SBAR registers to make non > > boot CPUs run a routine des

RE: [PATCH 1/3] dt-bindings: iommu: ipmmu-vmsa: Add device tree support for r8a774[35]

2018-03-06 Thread Fabrizio Castro
> Cc: Simon Horman ; Magnus Damm ; > Chris Paterson > ; Fabrizio Castro > ; io...@lists.linux-foundation.org; linux- > renesas-...@vger.kernel.org; Biju Das > Subject: [PATCH 1/3] dt-bindings: iommu: ipmmu-vmsa: Add device tree support > for r8a774[35] > > Documen

RE: [PATCH v3 4/5] dt-bindings: pwm: renesas-tpu: Document r8a774[35] support

2018-03-06 Thread Fabrizio Castro
Dear All, same thing for this one, can someone take this patch? Thanks, Fab > -Original Message- > From: Fabrizio Castro > Sent: 24 January 2018 17:17 > To: Thierry Reding > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; Simon Horman > ; Geert Uytt

RE: [PATCH v4] dt-bindings: pwm: rcar: Document r8a774[35] PWM bindings

2018-03-06 Thread Fabrizio Castro
Dear All, I am very sorry to bother you, just wondering if someone can take this patch? Thanks, Fab > -Original Message- > From: Fabrizio Castro > Sent: 24 January 2018 17:14 > To: Thierry Reding > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; Simon Ho

RE: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for r8a7743

2018-03-06 Thread Fabrizio Castro
m ; Chris > Paterson ; > Fabrizio Castro ; linux-...@vger.kernel.org; > linux-renesas-soc@vger.kernel.org; Lorenzo Pieralisi > > Subject: Re: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for > r8a7743 > > On Mon, Dec 11, 2017 at 01:30:37PM +, Biju Das w

RE: [PATCH v2 1/3] dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

2018-03-06 Thread Fabrizio Castro
Hello Thomas, do you think you can take this patch? Thanks, Fab > -Original Message- > From: devicetree-ow...@vger.kernel.org > [mailto:devicetree-ow...@vger.kernel.org] On Behalf Of Daniel Lezcano > Sent: 25 January 2018 08:35 > To: Geert Uytterhoeven > Cc: Fabriz

[PATCH v8 3/3] watchdog: renesas_wdt: Add restart handler

2018-03-05 Thread Fabrizio Castro
On iWave's boards iwg20d and iwg22d the only way to reboot the system is by means of the watchdog. This patch adds a restart handler to rwdt_ops, and also makes sure we keep its priority to the lowest level, in order to not override other more effective handlers. Signed-off-by: Fabrizio C

[PATCH v8 0/3] Add Gen2 support to rwdt driver

2018-03-05 Thread Fabrizio Castro
Dear All, this new version of the series is to fold the following patch from Geert: "watchdog: renesas_wdt: Blacklist early R-Car Gen2 SoCs" into patch: "watchdog: renesas_wdt: Add R-Car Gen2 support" Thanks, Fab Fabrizio Castro (3): watchdog: renesas_wdt: Add su

[PATCH v8 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-05 Thread Fabrizio Castro
now adding support for (R-Car Gen2 and RZ/G1). Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang Reviewed-by: Guenter Roeck --- v7->v8: * no change drivers/watchdog/renesas_wdt.c | 26 ++ 1 file changed, 26 insertions(+)

[PATCH v8 2/3] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-03-05 Thread Fabrizio Castro
taking the actual SMP software configuration into account. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram [Geert: blacklisting logic] Signed-off-by: Geert Uytterhoeven --- v7->v8: * folded patch "watchdog: renesas_wdt: Blacklist early R-Car Gen2 SoCs" from

RE: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-05 Thread Fabrizio Castro
Hello Sergei, thank you for your feedback! > Subject: Re: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support > > Hello! > > On 3/1/2018 9:17 PM, Fabrizio Castro wrote: > > > On R-Car Gen2 and RZ/G1 the watchdog IP clock needs to be always ON, > > on R

RE: [PATCH v7 2/3] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-03-05 Thread Fabrizio Castro
Hello Geert, > Subject: Re: [PATCH v7 2/3] watchdog: renesas_wdt: Add R-Car Gen2 support > > Hi Fabrizio, > > On Thu, Mar 1, 2018 at 7:17 PM, Fabrizio Castro > wrote: > > Due to commits: > > * "ARM: shmobile: Add watchdog support", > > * "A

RE: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-02 Thread Fabrizio Castro
Hi Guenter, thank you for your feedback! > Subject: Re: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support > > On 03/02/2018 02:45 AM, Fabrizio Castro wrote: > > Dear All, > > > > perhaps someone from this email thread could explain to me what's the

RE: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-02 Thread Fabrizio Castro
explicitly doing so from user space, which I don't think is what we want here, but I may be wrong. Could someone please shed some light here? Thanks, Fab > Subject: Re: [PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support > > Hi Fabrizio, > > On Thu, Mar 1, 20

[PATCH v7 3/3] watchdog: renesas_wdt: Add restart handler

2018-03-01 Thread Fabrizio Castro
On iWave's boards iwg20d and iwg22d the only way to reboot the system is by means of the watchdog. This patch adds a restart handler to rwdt_ops, and also makes sure we keep its priority to the lowest level, in order to not override other more effective handlers. Signed-off-by: Fabrizio C

[PATCH v7 0/3] Add Gen2 support to rwdt driver

2018-03-01 Thread Fabrizio Castro
Dear All, this is to merge Wolfram's comments he made on the previous version. Thanks, Fabrizio Castro (3): watchdog: renesas_wdt: Add suspend/resume support watchdog: renesas_wdt: Add R-Car Gen2 support watchdog: renesas_wdt: Add restart handler drivers/watchdog/renesas_wdt.c

[PATCH v7 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-01 Thread Fabrizio Castro
now adding support for (R-Car Gen2 and RZ/G1). Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v6->v7: * backup and restore register RWTCNT instead of using rwdt_get_timeleft and rwdt_set_timeleft drivers/watchdog/renesas_wdt.c | 26 ++ 1 fil

[PATCH v7 2/3] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-03-01 Thread Fabrizio Castro
commit adds "renesas,rcar-gen2-wdt" as compatible string for R-Car Gen2 and RZ/G1. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v6->v7: * no change drivers/watchdog/renesas_wdt.c | 6 +-

RE: [PATCH v6 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-01 Thread Fabrizio Castro
Hi Wolfram, thank you for your feedback! > Subject: Re: [PATCH v6 1/3] watchdog: renesas_wdt: Add suspend/resume support > > > > +unsigned int timeleft; > > What about using > u16 time_left; > > ... > > > +static void rwdt_set_timeleft(struct rwdt_priv *priv, unsigned int > > timeleft) > > +{ >

[PATCH v6 3/3] watchdog: renesas_wdt: Add restart handler

2018-03-01 Thread Fabrizio Castro
On iWave's boards iwg20d and iwg22d the only way to reboot the system is by means of the watchdog. This patch adds a restart handler to rwdt_ops, and also makes sure we keep its priority to a medium level, in order to not override other more effective handlers. Signed-off-by: Fabrizio C

[PATCH v6 2/3] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-03-01 Thread Fabrizio Castro
commit adds "renesas,rcar-gen2-wdt" as compatible string for R-Car Gen2 and RZ/G1. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v5->v6: * stripped suspend/resume functionality * now gen2 compatible string comes before gen3 Geert, you marked v5 as: Revie

[PATCH v6 1/3] watchdog: renesas_wdt: Add suspend/resume support

2018-03-01 Thread Fabrizio Castro
now adding support for (R-Car Gen2 and RZ/G1). Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v5->v6: * pausing the watchdog during suspend Geert, you marked v5 as: Reviewed-and-Tested-by: Geert Uytterhoeven but I believe this patch deserves a fresh review and

[PATCH v6 0/3] Add Gen2 support to rwdt driver

2018-03-01 Thread Fabrizio Castro
ert highlighted problems on R-Car Gen3, and he also preferred splitting commit "watchdog: renesas_wdt: Add R-Car Gen2 support" into two commits, one for adding suspend/resume support, and another one for adding the R-Car Gen2 compatible string. This version of the series tackles those two open p

RE: [PATCH v5 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-03-01 Thread Fabrizio Castro
Hi Geert, thank you for your feedback! > Subject: Re: [PATCH v5 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support > > Hi Fabrizio, > > On Mon, Feb 12, 2018 at 6:44 PM, Fabrizio Castro > wrote: > > Due to commits: > > * "ARM: shmobile: Add watchdog suppor

RE: [PATCH] watchdog: renesas_wdt: Blacklist early R-Car Gen2 SoCs

2018-02-28 Thread Fabrizio Castro
ng the actual SMP software configuration > into account. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > To be folded into Fabrizio Castro's "watchdog: renesas_wdt: Add R-Car > Gen2 support". > > Note that I cannot use IS_ENABLED(

[PATCH v6 01/26] ARM: shmobile: Add watchdog support

2018-02-28 Thread Fabrizio Castro
o the amount of memory available. Since shmobile_boot_vector has become bigger, "reg" property of nodes compatible with "renesas,smp-sram" now need to be set to a value greater or equal to "<0 0x60>". Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmuga

RE: [PATCH v5 01/26] ARM: shmobile: Add watchdog support

2018-02-28 Thread Fabrizio Castro
Hi Geert, thank you for your feedback! > Subject: Re: [PATCH v5 01/26] ARM: shmobile: Add watchdog support > > Hi Fabrizio, > > On Mon, Feb 12, 2018 at 6:44 PM, Fabrizio Castro > wrote: > > On R-Car Gen2 and RZ/G1 platforms, we use the SBAR registers to make non >

RE: [PATCH v5 14/26] ARM: shmobile: defconfig: Enable RENESAS_WDT_GEN

2018-02-13 Thread Fabrizio Castro
. > > Signed-off-by: Fabrizio Castro > Signed-off-by: Ramesh Shanmugasundaram > > Reviewed-by: Wolfram Sang > --- > v4->v5: > * no change > > arch/arm/configs/shmobile_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arc

[PATCH v6 09/26] soc: renesas: rcar-rst: Enable watchdog as reset trigger for Gen2

2018-02-13 Thread Fabrizio Castro
This patch allows for platform specific quirks as some of the SoC need further customization for the watchdog to work properly, like for R-Car Gen2 and for RZ/G. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v5->v6: * rebased on top of renesas-devel-20180213-v4

RE: [PATCH v5 09/26] soc: renesas: rcar-rst: Enable watchdog as reset trigger for Gen2

2018-02-13 Thread Fabrizio Castro
Hello Simon, > Subject: Re: [PATCH v5 09/26] soc: renesas: rcar-rst: Enable watchdog as > reset trigger for Gen2 > > On Mon, Feb 12, 2018 at 05:44:18PM +0000, Fabrizio Castro wrote: > > This patch allows for platform specific quirks as some of the SoC need > > furth

RE: [PATCH/RFC 10/11] ARM: dts: alt: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 10/11] ARM: dts: alt: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7794-alt.dts | 5 ++

RE: [PATCH/RFC 11/11] ARM: dts: silk: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 11/11] ARM: dts: silk: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7794-silk.dts | 5 ++

RE: [PATCH/RFC 08/11] ARM: dts: wheat: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 08/11] ARM: dts: wheat: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7792-wheat.dts | 5 ++

RE: [PATCH/RFC 09/11] ARM: dts: gose: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 09/11] ARM: dts: gose: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7793-gose.dts | 5 ++

RE: [PATCH/RFC 07/11] ARM: dts: blanche: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 07/11] ARM: dts: blanche: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7792-blanche.dts | 5 ++

RE: [PATCH/RFC 06/11] ARM: dts: porter: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 06/11] ARM: dts: porter: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7791-porter.dts | 5 ++

RE: [PATCH/RFC 05/11] ARM: dts: koelsch: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 05/11] ARM: dts: koelsch: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7791-koelsch.dts | 5 ++

RE: [PATCH/RFC 04/11] ARM: dts: lager: Enable watchdog support

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 04/11] ARM: dts: lager: Enable watchdog support > > Enable the watchdog, so the board can be restarted by a watchdog > timeout. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7790-lager.dts | 5 ++

RE: [PATCH/RFC 03/11] ARM: dts: r8a7793: Add RWDT node

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 03/11] ARM: dts: r8a7793: Add RWDT node > > Add a device node for the Watchdog Timer (WDT) controller on the Renesas > R-Car M2-N (r8a7793) SoC. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7793.d

RE: [PATCH/RFC 02/11] ARM: dts: r8a7792: Add RWDT node

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 02/11] ARM: dts: r8a7792: Add RWDT node > > Add a device node for the Watchdog Timer (WDT) controller on the Renesas > R-Car V2H (r8a7792) SoC. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabrizio Castro > --- > arch/arm/boot/dts/r8a7792.d

RE: [PATCH/RFC 01/11] clk: renesas: r8a7792: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
> Subject: [PATCH/RFC 01/11] clk: renesas: r8a7792: Add rwdt clock > > Add "rwdt" clock to r8a7792_mod_clks. Also, since we may need to access > the watchdog registers at any time, declare the clock as critical. > > Signed-off-by: Geert Uytterhoeven Acked-by: Fabriz

[PATCH v5 25/26] ARM: dts: iwg20m: Add watchdog support to SoM dtsi

2018-02-12 Thread Fabrizio Castro
This patch enables the watchdog from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 5 + 1 file changed

[PATCH v5 16/26] clk: renesas: r8a7745: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
Add "rwdt" clock to r8a7745_mod_clks. Also, since we may need to access the watchdog registers at any time, declare the clock as critical. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change drivers/clk/renesa

[PATCH v5 26/26] ARM: dts: iwg22m: Add watchdog support to SoM dtsi

2018-02-12 Thread Fabrizio Castro
This patch enables the watchdog from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 5 + 1 file changed

[PATCH v5 23/26] ARM: dts: r8a7791: Add watchdog support to SoC dtsi

2018-02-12 Thread Fabrizio Castro
This commit adds watchdog support to the r8a7791 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7791.dtsi | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH v5 18/26] clk: renesas: r8a7791/r8a7793: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
Add "rwdt" clock to r8a7791_mod_clks. Also, since we may need to access the watchdog registers at any time, declare the clock as critical. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change drivers/clk/renesa

[PATCH v5 21/26] ARM: dts: r8a7745: Add watchdog support to SoC dtsi

2018-02-12 Thread Fabrizio Castro
This patch adds watchdog support to the r8a7745 SoC dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7745.dtsi | 10 ++ 1 file changed, 10 inserti

[PATCH v5 24/26] ARM: dts: r8a7794: Add watchdog support to SoC dtsi

2018-02-12 Thread Fabrizio Castro
This commit adds watchdog support to the r8a7794 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7794.dtsi | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH v5 20/26] ARM: dts: r8a7743: Add watchdog support to SoC dtsi

2018-02-12 Thread Fabrizio Castro
This patch adds watchdog support to the r8a7743 SoC dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7743.dtsi | 10 ++ 1 file changed, 10 inserti

[PATCH v5 22/26] ARM: dts: r8a7790: Add watchdog support to SoC dtsi

2018-02-12 Thread Fabrizio Castro
This commit adds watchdog support to the r8a7790 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven Acked-by: Wolfram Sang --- v4->v5: * no change arch/arm/boot/dts/r8a7790.dtsi | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH v5 19/26] clk: renesas: r8a7794: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
Add "rwdt" clock to r8a7794_mod_clks. Also, since we may need to access the watchdog registers at any time, declare the clock as critical. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change drivers/clk/renesa

[PATCH v5 17/26] clk: renesas: r8a7790: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
Add "rwdt" clock to r8a7790_mod_clks. Also, since we may need to access the watchdog registers at any time, declare the clock as critical. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change drivers/clk/renesa

[PATCH v5 15/26] clk: renesas: r8a7743: Add rwdt clock

2018-02-12 Thread Fabrizio Castro
Add "rwdt" clock to r8a7743_mod_clks. Also, since we may need to access the watchdog registers at any time, declare the clock as critical. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change drivers/clk/renesa

[PATCH v5 14/26] ARM: shmobile: defconfig: Enable RENESAS_WDT_GEN

2018-02-12 Thread Fabrizio Castro
R-Car Gen2 and RZ/G1 platforms come with a watchdog IP, therefore enable its driver by default. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Wolfram Sang --- v4->v5: * no change arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insert

[PATCH v5 13/26] watchdog: renesas_wdt: Add restart handler

2018-02-12 Thread Fabrizio Castro
On iWave's boards iwg20d and iwg22d the only way to reboot the system is by means of the watchdog. This patch adds a restart handler to rwdt_ops, and also makes sure we keep its priority to a medium level, in order to not override other more effective handlers. Signed-off-by: Fabrizio C

[PATCH v5 11/26] dt-bindings: watchdog: renesas-wdt: Add R-Car Gen2 support

2018-02-12 Thread Fabrizio Castro
This commit documents the compatibility with R-Car Gen2 and RZ/G devices by defining the generic compatible string "renesas,rcar-gen2-wdt". Also, this patch expands the list of SoC-specific compatible strings to include RZ/G and R-Car Gen2 devices. Signed-off-by: Fabrizio Castro Sig

[PATCH v5 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-02-12 Thread Fabrizio Castro
commit adds "renesas,rcar-gen2-wdt" as compatible string for R-Car Gen2 and RZ/G1, and since on those platforms the rwdt clock needs to be always ON, when suspending to RAM we need to explicitly disable the counting by clearing TME from RWTCSRA. Signed-off-by: Fabrizio Castro Signed-off

[PATCH v5 09/26] soc: renesas: rcar-rst: Enable watchdog as reset trigger for Gen2

2018-02-12 Thread Fabrizio Castro
This patch allows for platform specific quirks as some of the SoC need further customization for the watchdog to work properly, like for R-Car Gen2 and for RZ/G. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v4->v5: * no change drivers/soc/renesas/rcar-rst.c |

[PATCH v5 10/26] ARM: shmobile: rcar-gen2: Add watchdog support

2018-02-12 Thread Fabrizio Castro
This patch adds watchdog support by installing shmobile_boot_vector_gen2 to ICRAM1 when enough memory is available, in which case we also keep a copy of MPIDR to complete the reset vector logic. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- v4->v5: * reworked comm

[PATCH v5 06/26] ARM: dts: r8a7792: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 08/26] ARM: dts: r8a7794: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 07/26] ARM: dts: r8a7793: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 04/26] ARM: dts: r8a7790: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 05/26] ARM: dts: r8a7791: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 03/26] ARM: dts: r8a7745: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 02/26] ARM: dts: r8a7743: Adjust SMP routine size

2018-02-12 Thread Fabrizio Castro
This patch adjusts the definition of the SMP routine size according to the latest changes made by commit: "ARM: shmobile: Add watchdog support" Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v4->v5: * no change arch

[PATCH v5 00/26] Fix watchdog on Renesas R-Car Gen2 and RZ/G1

2018-02-12 Thread Fabrizio Castro
will in turn load up the bootloader, etc. When bringing up SMP or using CPU hotplug, the reset vector will jump to shmobile_boot_fn instead. Thank you All for your help. Best regards, Fabrizio Castro (26): ARM: shmobile: Add watchdog support ARM: dts: r8a7743: Adjust SMP routine size ARM

[PATCH v5 01/26] ARM: shmobile: Add watchdog support

2018-02-12 Thread Fabrizio Castro
o the amount of memory available. Since shmobile_boot_vector has become bigger, "reg" property of nodes compatible with "renesas,smp-sram" now need to be set to a value greater or equal to "<0 0x60>". Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasun

RE: [RFC v4 13/26] watchdog: renesas_wdt: Add restart handler

2018-02-12 Thread Fabrizio Castro
> > > I used to have this simpler version (back then for the UP case): > > > > > > +rwdt_start(wdev); > > > +rwdt_write(priv, 0x, RWTCNT); > > > +return 0; > > > > > > It should still work probably... > > > > It should still work, but it would be slower, I would stick with the > > version I hav

RE: [RFC v4 13/26] watchdog: renesas_wdt: Add restart handler

2018-02-12 Thread Fabrizio Castro
Hello Wolfram, thank you for your feedback! > Subject: Re: [RFC v4 13/26] watchdog: renesas_wdt: Add restart handler > > > > +static int rwdt_restart(struct watchdog_device *wdev, unsigned long action, > > +void *data) > > +{ > > +struct rwdt_priv *priv = watchdog_get_drvdata(wdev); > > + > > +pm

RE: [RFC v4 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-02-12 Thread Fabrizio Castro
Hello Wolfram, thank you for your feedback! > Subject: Re: [RFC v4 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support > > > > +#ifdef CONFIG_PM > > +static int rwdt_suspend(struct device *dev) > > +{ > > +struct platform_device *pdev; > > +struct rwdt_priv *priv; > > + > > +pdev = to_platform_d

RE: [RFC v4 13/26] watchdog: renesas_wdt: Add restart handler

2018-02-07 Thread Fabrizio Castro
Hello Geert, > Subject: Re: [RFC v4 13/26] watchdog: renesas_wdt: Add restart handler > > Hi Fabrizio, Thank you for your feedback! > > On Wed, Jan 31, 2018 at 7:24 PM, Fabrizio Castro > wrote: > > On iWave's boards iwg20d and iwg22d the only way to reboot the

RE: [RFC v4 12/26] watchdog: renesas_wdt: Add R-Car Gen2 support

2018-02-05 Thread Fabrizio Castro
Hello Guenter, thank you for your feedback. > -Original Message- > From: devicetree-ow...@vger.kernel.org > [mailto:devicetree-ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: 02 February 2018 02:56 > To: Fabrizio Castro ; Philipp Zabel > ; Rob Herring ; &g

[RFC v4 26/26] ARM: dts: iwg22m: Add watchdog support to SoM dtsi

2018-01-31 Thread Fabrizio Castro
This patch enables the watchdog from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v3->4: * no change arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/a

[RFC v4 25/26] ARM: dts: iwg20m: Add watchdog support to SoM dtsi

2018-01-31 Thread Fabrizio Castro
This patch enables the watchdog from within the iwg20m SoM dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v3->4: * no change arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/a

[RFC v4 24/26] ARM: dts: r8a7794: Add watchdog support to SoC dtsi

2018-01-31 Thread Fabrizio Castro
This commit adds watchdog support to the r8a7794 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v3->4: * no change arch/arm/boot/dts/r8a7794.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/

<    1   2   3   4   5   6   7   8   9   >