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
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
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
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
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
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
>
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
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.
&
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
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
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
> 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
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
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
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
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
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
> 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
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
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
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
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 |
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
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
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
> 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
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
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
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
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
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
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
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(+)
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
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
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
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
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
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
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
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
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 +-
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)
> > +{
>
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
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
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
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
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
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(
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
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
>
.
>
> 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
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
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
> 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 ++
> 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 ++
> 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 ++
> 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 ++
> 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 ++
> 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 ++
> 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 ++
> 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 ++
> 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
> 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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |
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
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
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
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
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
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
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
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
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
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
> > > 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
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
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
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
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
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
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
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/
501 - 600 of 880 matches
Mail list logo