Re: [PATCH v6 00/11] soc: renesas: Add R-Car SYSC PM Domain Support

2016-04-21 Thread Laurent Pinchart
Hi Simon, On Friday 22 Apr 2016 10:33:11 Simon Horman wrote: > On Thu, Apr 21, 2016 at 05:14:40PM +0200, Geert Uytterhoeven wrote: > > On Thu, Apr 21, 2016 at 5:28 AM, Simon Horman wrote: > > > On Wed, Apr 20, 2016 at 02:02:35PM +0200, Geert Uytterhoeven wrote: > > >> This

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
On 21-04-16, 15:04, Geert Uytterhoeven wrote: > Hi Viresh, > > On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar > wrote: > > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > > @@ -29,6 +29,18 @@ static const struct of_device_id

[PATCH] ASoC: tidyup alphabetical order for SND_SOC_Bxx

2016-04-21 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- sound/soc/codecs/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index

Re: [PATCH v6 00/11] soc: renesas: Add R-Car SYSC PM Domain Support

2016-04-21 Thread Simon Horman
On Thu, Apr 21, 2016 at 05:14:40PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Apr 21, 2016 at 5:28 AM, Simon Horman wrote: > > On Wed, Apr 20, 2016 at 02:02:35PM +0200, Geert Uytterhoeven wrote: > >> This patch series introduces a DT-based driver for the R-Car

Re: [PATCH v2] arm64: defconfig: Add Renesas R-Car USB 3.0 driver support

2016-04-21 Thread Simon Horman
On Thu, Apr 21, 2016 at 08:39:32PM +0900, Yoshihiro Shimoda wrote: > Signed-off-by: Yoshihiro Shimoda Thanks, I have queued this up. > --- > Changes from v1: > - Remove unrelated change (CONFIG_FHANDLE) > - Remove commit log because the xhci-plat driver is

Re: [PATCH v3] PCI: rcar-pcie: Remove Gen2 designation from Kconfig

2016-04-21 Thread Simon Horman
On Thu, Apr 21, 2016 at 03:38:35PM +0200, Geert Uytterhoeven wrote: > On Thu, Apr 21, 2016 at 5:51 AM, Simon Horman > wrote: > > It appears that Gen2 is a misnomer for the R-Car PCIE driver > > which also supports Gen 1 and Gen 3 SoCs. Accordingly, drop Gen 2 > > from

[PATCH 08/14] MAINTAINERS: Update the files list for the Renesas DRM drivers

2016-04-21 Thread Emil Velikov
Cc: Laurent Pinchart Cc: dri-de...@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Emil Velikov --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 09/14] MAINTAINERS: List the correct git repo for the Renesas DRM drivers

2016-04-21 Thread Emil Velikov
Cc: Laurent Pinchart Cc: dri-de...@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Emil Velikov --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [PATCH v2] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Laurent Pinchart
Hi Rafael, On Thursday 21 Apr 2016 23:02:06 Rafael J. Wysocki wrote: > On Thu, Apr 21, 2016 at 10:57 PM, Laurent Pinchart wrote: > > On Thursday 21 Apr 2016 21:52:56 Rafael J. Wysocki wrote: > >> On Thursday, April 21, 2016 02:52:55 AM Laurent Pinchart wrote: > >>> The pm_runtime_force_suspend()

Re: [PATCH v2] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Rafael J. Wysocki
On Thu, Apr 21, 2016 at 10:57 PM, Laurent Pinchart wrote: > Hi Rafael, > > On Thursday 21 Apr 2016 21:52:56 Rafael J. Wysocki wrote: >> On Thursday, April 21, 2016 02:52:55 AM Laurent Pinchart wrote: >> > The pm_runtime_force_suspend() and

Re: [PATCH 1/2] drm: rcar-du: Add Z-order support for VSP planes

2016-04-21 Thread Laurent Pinchart
Hi Daniel, On Thursday 21 Apr 2016 18:10:25 Daniel Vetter wrote: > On Thu, Apr 21, 2016 at 04:14:12AM +0300, Laurent Pinchart wrote: > > Make the Z-order of VSP planes configurable through the zpos property, > > exactly as for the native DU planes. > > > > Signed-off-by: Laurent Pinchart > >

Re: [PATCH v2] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Laurent Pinchart
Hi Rafael, On Thursday 21 Apr 2016 21:52:56 Rafael J. Wysocki wrote: > On Thursday, April 21, 2016 02:52:55 AM Laurent Pinchart wrote: > > The pm_runtime_force_suspend() and pm_runtime_force_resume() helpers are > > designed to help driver being RPM-centric by offering an easy way to > > manage

Re: [PATCH v2] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Rafael J. Wysocki
On Thursday, April 21, 2016 02:52:55 AM Laurent Pinchart wrote: > The pm_runtime_force_suspend() and pm_runtime_force_resume() helpers are > designed to help driver being RPM-centric by offering an easy way to > manage runtime PM state during system suspend and resume. The first > function will

Re: [PATCH 0/2] Renesas R-Car Gen3 DU alpha and z-order support

2016-04-21 Thread Dave Airlie
On 21 April 2016 at 11:14, Laurent Pinchart wrote: > Hello, > > This patch series implement support for alpha and z-order configuration in the > R-Car DU driver for the Gen3 SoCs family. > > The Gen3 SoCs delegate composition to an external IP core

Re: [PATCH v6 00/11] soc: renesas: Add R-Car SYSC PM Domain Support

2016-04-21 Thread Geert Uytterhoeven
Hi Simon, On Thu, Apr 21, 2016 at 5:28 AM, Simon Horman wrote: > On Wed, Apr 20, 2016 at 02:02:35PM +0200, Geert Uytterhoeven wrote: >> This patch series introduces a DT-based driver for the R-Car System >> Controller, as found on Renesas R-Car H1, R-Car Gen2, and R-Car Gen3

Re: [PATCH] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Laurent Pinchart
Hi Ulf, On Thursday 21 Apr 2016 15:52:06 Ulf Hansson wrote: > On 21 April 2016 at 14:41, Laurent Pinchart wrote: > > On Thursday 21 Apr 2016 11:10:19 Ulf Hansson wrote: > >> On 21 April 2016 at 01:30, Laurent Pinchart wrote: > >>> On Monday 07 Mar 2016 11:10:08 Ulf Hansson wrote: > [...] >

Re: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-21 Thread Felipe Balbi
Hi, Geert Uytterhoeven writes: > On Thu, Apr 21, 2016 at 12:27 PM, Yoshihiro Shimoda > wrote: >>> > [1.565605] xhci-hcd ee00.usb: xHCI Host Controller >>> > [1.570636] xhci-hcd ee00.usb: new USB bus registered, assigned

Re: [PATCH] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Ulf Hansson
On 21 April 2016 at 14:41, Laurent Pinchart wrote: > Hi Ulf, > > On Thursday 21 Apr 2016 11:10:19 Ulf Hansson wrote: >> On 21 April 2016 at 01:30, Laurent Pinchart wrote: >> > On Monday 07 Mar 2016 11:10:08 Ulf Hansson wrote: >> >> [...] >> >> >> I agree,

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-04-21 Thread Christoph Hellwig
On Wed, Apr 13, 2016 at 03:29:17PM +0200, Niklas S?derlund wrote: > > Yes, it would be good to do an audit of all the ARM dma_ops as well > > as generic code like drivers/base/dma-*.c, lib/dma-debug.c and > > include/linux/dma-*.h What about things like the phys_addr() helper in lib/dma-debug.c?

Re: [PATCH v3] PCI: rcar-pcie: Remove Gen2 designation from Kconfig

2016-04-21 Thread Geert Uytterhoeven
On Thu, Apr 21, 2016 at 5:51 AM, Simon Horman wrote: > It appears that Gen2 is a misnomer for the R-Car PCIE driver > which also supports Gen 1 and Gen 3 SoCs. Accordingly, drop Gen 2 > from the help text and Kconfig symbol. > > Also, re-arange the Kconfig symbol name

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Geert Uytterhoeven
Hi Viresh, On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar wrote: > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > @@ -29,6 +29,18 @@ static const struct of_device_id machines[] = { > { .compatible = "samsung,exynos5800",

Re: [PATCH] thermal: rcar_thermal: Fix priv->zone error handling

2016-04-21 Thread Geert Uytterhoeven
On Thu, Apr 21, 2016 at 12:24 PM, Dirk Behme wrote: > In case thermal_zone_xxx_register() returns an error, priv->zone > isn't NULL any more, but contains the error code. > > This is passed to thermal_zone_device_unregister(), then. This checks > for priv->zone being

[PATCHv5] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-21 Thread Niklas Söderlund
A V4L2 driver for Renesas R-Car VIN driver that do not depend on soc_camera. The driver is heavily based on its predecessor and aims to replace it. Signed-off-by: Niklas Söderlund --- The patched is based on and depends on patches from the media_tree

Re: [PATCH v2 1/2] ARM: dts: r8a7793: Add SDHI controllers

2016-04-21 Thread Geert Uytterhoeven
On Thu, Apr 21, 2016 at 5:27 AM, Simon Horman wrote: > > We are back to one DMA controller this week so I updated your patch and > queued up the following. > > From: Ulrich Hecht > Date: Mon, 18 Apr 2016 18:02:56 +0200 > Subject: [PATCH] ARM:

Re: [PATCH] PM / Runtime: Only force-resume device if it has been force-suspended

2016-04-21 Thread Laurent Pinchart
Hi Ulf, On Thursday 21 Apr 2016 11:10:19 Ulf Hansson wrote: > On 21 April 2016 at 01:30, Laurent Pinchart wrote: > > On Monday 07 Mar 2016 11:10:08 Ulf Hansson wrote: > >> [...] > >> > I agree, that's a better idea. Drivers shouldn't call > pm_runtime_force_resume() if they haven't

[PATCH v2] arm64: defconfig: Add Renesas R-Car USB 3.0 driver support

2016-04-21 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- Changes from v1: - Remove unrelated change (CONFIG_FHANDLE) - Remove commit log because the xhci-plat driver is possible to fix the long wait issue. arch/arm64/configs/defconfig | 2 +- 1 file changed, 1

RE: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-21 Thread Yoshihiro Shimoda
Hi Felipe, > From: Felipe Balbi > Sent: Thursday, April 21, 2016 7:19 PM > > Yoshihiro Shimoda writes: > > > Hi Felipe, > > > >> From: Felipe Balbi > >> Sent: Thursday, April 21, 2016 7:05 PM > >> > >> Yoshihiro Shimoda

[PATCH] thermal: rcar_thermal: Fix priv->zone error handling

2016-04-21 Thread Dirk Behme
In case thermal_zone_xxx_register() returns an error, priv->zone isn't NULL any more, but contains the error code. This is passed to thermal_zone_device_unregister(), then. This checks for priv->zone being NULL, but the error code is != NULL. So it works with the error code as a pointer. Crashing

RE: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-21 Thread Felipe Balbi
Yoshihiro Shimoda writes: > Hi Felipe, > >> From: Felipe Balbi >> Sent: Thursday, April 21, 2016 7:05 PM >> >> Yoshihiro Shimoda writes: >> >> > If kernel configuration is CONFIG_USB_XHCI_PLATFORM=y and >> >

RE: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-21 Thread Yoshihiro Shimoda
Hi Felipe, > From: Felipe Balbi > Sent: Thursday, April 21, 2016 7:05 PM > > Yoshihiro Shimoda writes: > > > If kernel configuration is CONFIG_USB_XHCI_PLATFORM=y and > > CONFIG_USB_XHCI_RCAR is not set, R-Car Gen2/3 will cause long wait > > in xhci_reset()

Re: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-21 Thread Felipe Balbi
Yoshihiro Shimoda writes: > If kernel configuration is CONFIG_USB_XHCI_PLATFORM=y and > CONFIG_USB_XHCI_RCAR is not set, R-Car Gen2/3 will cause long wait > in xhci_reset() because such SoCs need specific initialization. where is the delay coming from exactly ?

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-04-21 Thread Niklas Söderlund
Hi Christoph, Have you had time to look at the audit? Is there anything else I can do make progress on this? On 2016-04-13 15:29:16 +0200, Niklas Söderlund wrote: > Hi Christoph, > > On 2016-03-21 08:26:01 -0700, Christoph Hellwig wrote: > > On Thu, Mar 17, 2016 at 01:33:51PM +0200, Laurent

RE: [PATCH] arm64: defconfig: Add Renesas R-Car USB 3.0 driver support

2016-04-21 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman > Sent: Thursday, April 21, 2016 12:56 PM > < snip > > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > > > index a44ef99..a95751d 100644 > > > > --- a/arch/arm64/configs/defconfig > > > > +++ b/arch/arm64/configs/defconfig > >

Re: [PATCH 31/47] ARM: dts: r8a7794: Reference both DMA controllers in SCIFA nodes

2016-04-21 Thread Niklas Söderlund
On 2016-04-18 13:40:59 +1000, Simon Horman wrote: > On Wed, Apr 13, 2016 at 09:55:14PM +0200, Geert Uytterhoeven wrote: > > Hi Olof, > > > > On Wed, Apr 13, 2016 at 9:48 PM, Olof Johansson wrote: > > > On Sun, Apr 3, 2016 at 6:23 PM, Simon Horman > >

Re: [PATCHv4] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-21 Thread Niklas Söderlund
On 2016-04-21 08:55:46 +0200, Hans Verkuil wrote: > On 04/12/2016 04:33 PM, Niklas Söderlund wrote: > > +static void rect_set_min_size(struct v4l2_rect *r, > > + const struct v4l2_rect *min_size) > > +{ > > + if (r->width < min_size->width) > > + r->width =

Re: [PATCHv4] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-21 Thread Hans Verkuil
On 04/12/2016 04:33 PM, Niklas Söderlund wrote: > +static void rect_set_min_size(struct v4l2_rect *r, > + const struct v4l2_rect *min_size) > +{ > + if (r->width < min_size->width) > + r->width = min_size->width; > + if (r->height < min_size->height) >