Re: [PATCH v2 3/5] arm64: dts: renesas: r8a77980: add DU support

2018-06-08 Thread Laurent Pinchart
Hi Sergei, Thank you for the patch. On Thursday, 7 June 2018 23:21:38 EEST Sergei Shtylyov wrote: > Define the generic R8A77980 part of the DU device node. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov

Re: [PATCH v2 0/5] Add R8A77980/Condor/V3HSK LVDS/HDMI support

2018-06-08 Thread Laurent Pinchart
Hi Sergei, On Thursday, 7 June 2018 23:17:03 EEST Sergei Shtylyov wrote: > Hello! > > Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20180604-v4.17' tag. We're adding the R8A77980 FCPVD/VSPD/ > DU/LVDS device nodes and then describing the LVDS decoder

[PATCH] clocksource/drivers/sh_cmt: wait for CMCNT on init

2018-06-08 Thread Biju Das
As per section 57A.3.5/69A.3.5/79.A.3.5 of rz/g/r-car gen2/3 hardware manual,it is mentioned that we need to provide 2 cycles in counter input clock (RCLK) for reflecting written data to counter behaviour. Adding sufficient wait to let the CMCNT register value settle before starting the timer

Re: [PATCH] arm64: dts: renesas: Fix VSPD registers range

2018-06-08 Thread Sergei Shtylyov
Hello! On 06/08/2018 03:21 PM, Laurent Pinchart wrote: > The VSPD and FCPVD nodes have overlapping register ranges, as the FCPVD > devices are mapped in the memory range usually used by the VSP LUT and > CLU, which are not present in the VSPD. Fix this by shortening the VSPD > registers range to

Re: [PATCH] arm64: dts: renesas: Fix VSPD registers range

2018-06-08 Thread Laurent Pinchart
Hi Sergei, (CC'ing Olof) On Friday, 8 June 2018 19:41:01 EEST Sergei Shtylyov wrote: > On 06/08/2018 03:21 PM, Laurent Pinchart wrote: > > The VSPD and FCPVD nodes have overlapping register ranges, as the FCPVD > > devices are mapped in the memory range usually used by the VSP LUT and > > CLU,

Re: [PATCH v2 1/5] arm64: dts: renesas: r8a77980: add FCPVD support

2018-06-08 Thread Laurent Pinchart
Hi Sergei, Thank you for the patch. On Thursday, 7 June 2018 23:19:31 EEST Sergei Shtylyov wrote: > Describe FCPVD0 in the R8A77980 device tree; it will be used by VSPD0 in > the next patch... > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov

Re: [PATCH v2 4/5] arm64: dts: renesas: r8a77980: add LVDS support

2018-06-08 Thread Laurent Pinchart
Hi Sergei, Thank you for the patch. On Thursday, 7 June 2018 23:23:06 EEST Sergei Shtylyov wrote: > Define the generic R8A77980 part of the LVDS device node. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Laurent Pinchart > --- > arch/arm64/boot/dts/renesas/r8a77980.dtsi | 29

Re: [PATCH] arm64: dts: renesas: r8a77990: ebisu: Enable watchdog timer

2018-06-08 Thread Simon Horman
On Wed, Jun 06, 2018 at 11:04:00AM +0200, Simon Horman wrote: > On Tue, Jun 05, 2018 at 07:20:34PM +0200, Geert Uytterhoeven wrote: > > From: Takeshi Kihara > > > > Add a device node for the Watchdog Timer (WDT) controller on the > > R8A77990 SoC, and enable the watchdog on the Ebisu board. > >

Re: [PATCH v2 0/5] Add R8A77980/Condor/V3HSK LVDS/HDMI support

2018-06-08 Thread Simon Horman
On Thu, Jun 07, 2018 at 11:17:03PM +0300, Sergei Shtylyov wrote: > Hello! > > Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's > 'renesas-devel-20180604-v4.17' tag. We're adding the R8A77980 FCPVD/VSPD/ > DU/LVDS device nodes and then describing the LVDS decoder and HDMI

Re: [PATCH 2/2] arm64: dts: renesas: r8a77995: Fix VSP registers range

2018-06-08 Thread Laurent Pinchart
Hi Geert, On Friday, 8 June 2018 14:53:28 EEST Geert Uytterhoeven wrote: > On Fri, Jun 8, 2018 at 1:18 PM Laurent Pinchart wrote: > > The R8A77995 VSP and FCP nodes have overlapping register ranges, as the > > SoC integrates the FCP devices in the memory range usually used by the > > VSP LUT and

Re: [PATCH v2 2/5] arm64: dts: renesas: r8a77980: add VSPD support

2018-06-08 Thread Simon Horman
[CC Laurent, Geert] On Thu, Jun 07, 2018 at 11:20:47PM +0300, Sergei Shtylyov wrote: > Describe VSPD0 in the R8A77980 device tree; it will be used by DU in > the next patch... > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov > Signed-off-by:

[PATCH] arm64: dts: renesas: Fix VSPD registers range

2018-06-08 Thread Laurent Pinchart
The VSPD and FCPVD nodes have overlapping register ranges, as the FCPVD devices are mapped in the memory range usually used by the VSP LUT and CLU, which are not present in the VSPD. Fix this by shortening the VSPD registers range to 0x5000. Fixes: 9f8573e38a0b ("arm64: dts: renesas: r8a7795: Add

Re: [PATCH v2 2/5] arm64: dts: renesas: r8a77980: add VSPD support

2018-06-08 Thread Laurent Pinchart
Hello Simon, On Friday, 8 June 2018 16:54:56 EEST Simon Horman wrote: > [CC Laurent, Geert] > > On Thu, Jun 07, 2018 at 11:20:47PM +0300, Sergei Shtylyov wrote: > > Describe VSPD0 in the R8A77980 device tree; it will be used by DU in > > the next patch... > > > > Based on the original (and

Re: [PATCH 2/3] arm64: dts: renesas: condor: specify EtherAVB PHY IRQ

2018-06-08 Thread Simon Horman
On Mon, Jun 04, 2018 at 05:22:52PM +0300, Sergei Shtylyov wrote: > On 06/04/2018 01:33 PM, Simon Horman wrote: > > >> Specify EtherAVB PHY IRQ in the Condor board's device tree, now that > >> we have the GPIO support (previously phylib had to resort to polling). > >> > >> Based on the original

[PATCH 1/2] arm64: dts: renesas: r8a77970: Fix VSP registers range

2018-06-08 Thread Laurent Pinchart
The R8A77970 VSP and FCP nodes have overlapping register ranges, as the SoC integrates the FCP devices in the memory range usually used by the VSP LUT and CLUT, which are not present. Fix this by shortening the VSP registers range to 0x5000. Fixes: b4f92030d5d3 ("arm64: dts: renesas: r8a77970:

[PATCH 2/2] arm64: dts: renesas: r8a77995: Fix VSP registers range

2018-06-08 Thread Laurent Pinchart
The R8A77995 VSP and FCP nodes have overlapping register ranges, as the SoC integrates the FCP devices in the memory range usually used by the VSP LUT and CLUT, which are not present. Fix this by shortening the VSP registers range to 0x5000. Fixes: 295952a183d3 ("arm64: dts: renesas: r8a77995:

Re: [PATCH] soc: renesas: rcar-sysc: Make PM domain initialization more robust

2018-06-08 Thread Simon Horman
On Thu, Jun 07, 2018 at 04:33:07AM +, Yoshihiro Shimoda wrote: > Hi Geert-san, > > > From: Behalf Of Geert Uytterhoeven, Sent: Wednesday, June 6, 2018 5:58 PM > > > > Hi Simon, > > > > On Wed, Jun 6, 2018 at 10:52 AM, Simon Horman wrote: > > > On Tue, Jun 05, 2018 at 05:05:15PM +0200,

Re: [PATCH v2] arm64: dts: renesas: r8a77990: Enable USB2.0 Host for Ebisu board

2018-06-08 Thread Simon Horman
On Wed, Jun 06, 2018 at 06:52:06PM +0900, Yoshihiro Shimoda wrote: > This patch adds USB2.0 PHY and Host(EHCI/OHCI) nodes and > enables them for R-Car E3 Ebisu board. > > Signed-off-by: Yoshihiro Shimoda > --- > This patch set is based on renesas-drivers.git / > renesas-drivers-2018-06-05-v4.17

Re: [PATCH v2 1/5] arm64: dts: renesas: r8a77980: add FCPVD support

2018-06-08 Thread Simon Horman
On Thu, Jun 07, 2018 at 11:19:31PM +0300, Sergei Shtylyov wrote: > Describe FCPVD0 in the R8A77980 device tree; it will be used by VSPD0 in > the next patch... > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei Shtylyov

Re: [PATCH 1/3] arm64: dts: renesas: r8a77980: add GPIO support

2018-06-08 Thread Simon Horman
On Wed, Jun 06, 2018 at 11:07:27AM +0200, Geert Uytterhoeven wrote: > On Fri, Jun 1, 2018 at 10:44 PM, Sergei Shtylyov > wrote: > > Describe all 6 GPIO controllers in the R8A77980 device tree. > > > > Based on the original (and large) patch by Vladimir Barinov. > > > > Signed-off-by: Vladimir

Re: [PATCH v2] ARM: Always build secure_cntvoff.S on ARM V7 to fix shmobile !SMP build

2018-06-08 Thread Simon Horman
On Wed, Jun 06, 2018 at 11:25:16AM +0200, Geert Uytterhoeven wrote: > If CONFIG_SMP=n, building a kernel for R-Car Gen2 fails with: > > arch/arm/mach-shmobile/setup-rcar-gen2.o: In function > `rcar_gen2_timer_init': > setup-rcar-gen2.c:(.init.text+0x30): undefined reference to >

Re: [PATCH v2 0/5] Add R8A77980/Condor/V3HSK LVDS/HDMI support

2018-06-08 Thread Sergei Shtylyov
On 6/8/2018 11:21 AM, Simon Horman wrote: Here's the set of 5 patches against Simon Horman's 'renesas.git' repo's 'renesas-devel-20180604-v4.17' tag. We're adding the R8A77980 FCPVD/VSPD/ DU/LVDS device nodes and then describing the LVDS decoder and HDMI encoder connected to the LVDS output.

Re: [PATCH 2/2] arm64: dts: renesas: r8a77995: Fix VSP registers range

2018-06-08 Thread Geert Uytterhoeven
Hi Laurent, Thanks for your patch! On Fri, Jun 8, 2018 at 1:18 PM Laurent Pinchart wrote: > The R8A77995 VSP and FCP nodes have overlapping register ranges, as the > SoC integrates the FCP devices in the memory range usually used by the > VSP LUT and CLUT, which are not present. Fix this by