Re: [PATCH v2 3/5] drm: rcar-du: Add r8a77470 support

2018-10-16 Thread Laurent Pinchart
Hi Fabrizio, Thank you for the patch. On Tuesday, 16 October 2018 19:58:59 EEST Fabrizio Castro wrote: > Add RZ/G1C (a.k.a. r8a77470) support to the R-Car DU driver. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Laurent Pinchart > > --- > v1->v2: > * Added flags RCAR_DU_FEATURE_INTERLACED

RE: [PATCH 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-10-16 Thread Chris Brandt
On Tuesday, October 16, 2018, Rob Herring wrote: > > +Optional properties: > > + - gpio-controller > > +Include this in order to enable GPIO functionality. When included, > both > > +gpio_cells and gpio_ranges are then required. > > + - #gpio-cells > > +Must be 2 > > + - gpio-ranges

Re: [PATCH 2/2] dt-bindings: pinctrl: Add RZ/A2 pinctrl and GPIO

2018-10-16 Thread Rob Herring
On Fri, Oct 05, 2018 at 10:09:51AM -0500, Chris Brandt wrote: > Add device tree binding documentation and header file for Renesas R7S9210 > (RZ/A2) SoCs. > > Signed-off-by: Chris Brandt > --- > .../bindings/pinctrl/renesas,rza2-pinctrl.txt | 76 > ++ > include/dt-bindin

[PATCH] arm64: dts: renesas: r8a779{7|8}0: add MSIOF support

2018-10-16 Thread Sergei Shtylyov
Describe MSIOF in the R8A779{7|8}0 device trees. The DMA props are deliberately omitted as the MSIOF DMA doesn't work on R8A77970 (due to IPMMU issue) and the RT-DMAC isn't supported on R8A77980. Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20181015-v4.19-rc8' br

[PATCH] dt-bindings: spi: sh-msiof: document R8A779{7|8}0 bindings

2018-10-16 Thread Sergei Shtylyov
Document the R-Car V3{M|H} (R8A779{7|8}0) SoCs in the Renesas MSIOF bindings. Signed-off-by: Sergei Shtylyov --- The patch is against the 'for-next' branch of Mark Brown's 'spi.git' repo. Documentation/devicetree/bindings/spi/sh-msiof.txt |2 ++ 1 file changed, 2 insertions(+) Index: spi/

[PATCH v2 3/5] drm: rcar-du: Add r8a77470 support

2018-10-16 Thread Fabrizio Castro
Add RZ/G1C (a.k.a. r8a77470) support to the R-Car DU driver. Signed-off-by: Fabrizio Castro Reviewed-by: Laurent Pinchart --- v1->v2: * Added flags RCAR_DU_FEATURE_INTERLACED and RCAR_DU_FEATURE_TVM_SYNC * Reworked comment drivers/gpu/drm/rcar-du/rcar_du_drv.c | 28 +

Re: [PATCH] MAINTAINERS: Add Renesas RZ/A and RZ/N files to Renesas pinctrl section

2018-10-16 Thread jacopo mondi
Hi Geert, On Tue, Oct 16, 2018 at 01:56:53PM +0200, Geert Uytterhoeven wrote: > Add paths for the Renesas RZ/A and RZ/N series pin controller drivers, > as they are not under sh-pfc/, but still maintained with the other > Renesas pin controller drivers. > > Signed-off-by: Geert Uytterhoeven Acke

Re: [PATCH] MAINTAINERS: Add Renesas RZ/A and RZ/N files to Renesas pinctrl section

2018-10-16 Thread Simon Horman
On Tue, Oct 16, 2018 at 01:56:53PM +0200, Geert Uytterhoeven wrote: > Add paths for the Renesas RZ/A and RZ/N series pin controller drivers, > as they are not under sh-pfc/, but still maintained with the other > Renesas pin controller drivers. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: S

RE: [PATCH 3/5] drm: rcar-du: Add r8a77470 support

2018-10-16 Thread Fabrizio Castro
Hello Laurent, Thank you for your feedback. > Subject: Re: [PATCH 3/5] drm: rcar-du: Add r8a77470 support > > Hi Fabrizio, > > Thank you for the patch. > > On Friday, 21 September 2018 21:08:29 EEST Fabrizio Castro wrote: > > Add RZ/G1C (a.k.a. r8a77470) support to the R-Car DU driver. > > > > Si

[PATCH] pinctrl: sh-pfc: Reduce kernel size for narrow VIN channels

2018-10-16 Thread Geert Uytterhoeven
Some VIN channels support less than 24 lanes. As union vin_data always consumes space for 24 lanes, this wastes memory. Hence introduce new smaller unions vin_data12 and vin_data16, to accommodate VIN channels with only 12 or 16 lanes. This reduces the static pin controller driver size by 320 by

[PATCH] MAINTAINERS: Add Renesas RZ/A and RZ/N files to Renesas pinctrl section

2018-10-16 Thread Geert Uytterhoeven
Add paths for the Renesas RZ/A and RZ/N series pin controller drivers, as they are not under sh-pfc/, but still maintained with the other Renesas pin controller drivers. Signed-off-by: Geert Uytterhoeven --- To be queued in sh-pfc-for-v4.21. MAINTAINERS | 1 + 1 file changed, 1 insertion(+) di

[PATCH/RFC v2] serial: sh-sci: Fix fallback to PIO on DMA failure

2018-10-16 Thread Geert Uytterhoeven
When submitting a DMA request fails, the driver is supposed to fall back to PIO. However, this never really worked due to various reasons (sh-sci driver issues and dmaengine framework limitations). There are three places where DMA submission can fail, and the driver should fall back to PIO: 1.

Re: [PATCH] MAINTAINERS: Remove Laurent Pinchart as Renesas pinctrl maintainer

2018-10-16 Thread Geert Uytterhoeven
CC pinctrl On Tue, Oct 16, 2018 at 12:33 PM Laurent Pinchart wrote: > Geert Uytterhoeven has long taken over and I'm not involved anymore with > the Renesas pinctrl driver. Remove myself from the maintainers list. > > Signed-off-by: Laurent Pinchart Thank you, will queue in sh-pfc-for-v4.21. >

Re: [PATCH] dt-bindings: pwm: renesas: pwm-rcar: document R8A779{7|8}0 bindings

2018-10-16 Thread Thierry Reding
On Mon, Oct 15, 2018 at 01:57:13PM -0500, Rob Herring wrote: > On Fri, Oct 12, 2018 at 01:21:14PM +0200, Thierry Reding wrote: > > On Mon, Oct 01, 2018 at 10:57:39PM +0300, Sergei Shtylyov wrote: > > > Document the R-Car V3{M|H} (R8A779{7|8}0) SoC in the Renesas R-Car PWM > > > bindings. R8A77970'

[PATCH] MAINTAINERS: Remove Laurent Pinchart as Renesas pinctrl maintainer

2018-10-16 Thread Laurent Pinchart
Geert Uytterhoeven has long taken over and I'm not involved anymore with the Renesas pinctrl driver. Remove myself from the maintainers list. Signed-off-by: Laurent Pinchart --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 69373eb328d4..f9d00cc05

[PATCH v4 2/6] pinctrl: sh-pfc: r8a77470: Add SDHI support

2018-10-16 Thread Fabrizio Castro
Add SH_PFC_PIN_CFG_IO_VOLTAGE definition for the SDHI pins capable of switching voltage, also add pin groups and functions for SDHI0 and SDHI1. Please note that with the RZ/G1C only 1 bit of the POC Control Register is used to control each interface. Signed-off-by: Fabrizio Castro Reviewed-by: Bi

Re: [PATCH] drm: rcar-du: Fix the return value in case of error in 'rcar_du_crtc_set_crc_source()'

2018-10-16 Thread Laurent Pinchart
Hi Christophe, Thank you for the patch. On Tuesday, 16 October 2018 09:58:25 EEST Christophe JAILLET wrote: > We return 0 unconditionally in 'rcar_du_crtc_set_crc_source()'. > However, 'ret' is set to some error codes if some function calls fail. > > Return 'ret' instead to propagate the error c

RE: USB2.0 blocks on RZ/G1C

2018-10-16 Thread Biju Das
Hi Shimoda-San, Thanks for the feedback. > > Subject: RE: USB2.0 blocks on RZ/G1C > > > > Hello Shimoda-San and all, > > > > RZ/G1C USB2.0 host/function controller has the below features > > compared to R-Car Gen2/Gen3 USB2.0 block > > > > 1) It has a shared pll reset register for hsusb0/hsus

Re: [PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-16 Thread jacopo mondi
Hi Phil, On Tue, Oct 16, 2018 at 08:04:53AM +, Phil Edworthy wrote: > Hi Jacopo, > > On 15 October 2018 16:12 jacopo mondi wrote: > > On Mon, Oct 15, 2018 at 04:01:47PM +0100, Phil Edworthy wrote: > > > This fixes the check for unused mdio bus setting and the following > > > static checker war

RE: [PATCH v2] pinctrl: rzn1: Fix check for used MDIO bus

2018-10-16 Thread Phil Edworthy
Hi Jacopo, On 15 October 2018 16:12 jacopo mondi wrote: > On Mon, Oct 15, 2018 at 04:01:47PM +0100, Phil Edworthy wrote: > > This fixes the check for unused mdio bus setting and the following > > static checker warning: > > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > > warn:

Re: [PATCH v2 0/3] mmc: tmio: Fix reset operation

2018-10-16 Thread Geert Uytterhoeven
Hi Niklas, On Tue, Oct 16, 2018 at 3:39 AM Niklas Söderlund wrote: > From: Niklas Söderlund > While looking at the Renesas BSP kernel I found patches which improves > the state of the hardware at probe and after runtime resume. > > Patch 1/3 make sure the module clock is enabled after resuming b