Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread jacopo mondi
Hi Niklas, On Sun, May 13, 2018 at 02:57:55PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your patch. > > On 2018-05-11 12:00:02 +0200, Jacopo Mondi wrote: > > Describe HDMI input connected to VIN4 interface for R-Car D3 Draak > > development board. > > > > Signed-off-by: Jacopo Mon

Re: [PATCH v15 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-05-14 Thread Maxime Ripard
On Sun, May 13, 2018 at 09:19:17PM +0200, Niklas Söderlund wrote: > A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver > supports the R-Car Gen3 SoCs where separate CSI-2 hardware blocks are > connected between the video sources and the video grabbers (VIN). > > Driver is based on a p

Re: [GIT PULL] Renesas ARM Based SoC Fixes for v4.17

2018-05-14 Thread Olof Johansson
On Wed, May 02, 2018 at 12:18:14PM +0200, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these Renesas ARM based SoC fixes for v4.17. > > > The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: > > Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) > > a

Re: [PATCH 2/5] media: rcar-vin: Add digital input subdevice parsing

2018-05-14 Thread jacopo mondi
Hi Niklas, On Fri, May 11, 2018 at 01:01:24PM +0200, Niklas Söderlund wrote: > Hi Jacopo, > > Thanks for your work! > > The comments here apply to both 2/5 and 3/5. > > On 2018-05-11 11:59:38 +0200, Jacopo Mondi wrote: > > Add support for digital input subdevices to Gen-3 rcar-vin. > > The Gen-3,

[PATCH/RFC v3 4/4] arm64: dts: renesas: r8a7795: add OF graph for usb role switch

2018-05-14 Thread Yoshihiro Shimoda
This patch adds OF graph properties for usb role switch in r8a7795 into USB3.0 host/peripheral nodes. TODO: - need patches for other SoCs. Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/

[PATCH/RFC v3 3/4] usb: gadget: udc: renesas_usb3: use usb role switch API

2018-05-14 Thread Yoshihiro Shimoda
This patch uses usb role switch API if the register suceeeded. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/gadget/udc/renesas_usb3.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c ind

[PATCH/RFC v3 0/4] usb: role: rcar-usb3-role-switch: add support for R-Car SoCs

2018-05-14 Thread Yoshihiro Shimoda
This patch set is based on Felipe's usb.git / testing/next branch (commit id = 5d1332a8eabd8bd5b8c322d45542968ee6f113be). I still marked this patch set as "RFC". I would like to know whether this way is good or not. Changes from RFC v2: - Add registering usb role switch into drivers/usb/gadget/u

[PATCH/RFC v3 1/4] base: devcon: add a new API to find the graph

2018-05-14 Thread Yoshihiro Shimoda
This patch adds a new API "device_connection_find_by_graph()" to find device connection by using graph. Signed-off-by: Yoshihiro Shimoda --- Documentation/driver-api/device_connection.rst | 4 +-- drivers/base/devcon.c | 43 ++ include/linux/devi

[PATCH/RFC v3 2/4] usb: gadget: udc: renesas_usb3: Add register of usb role switch

2018-05-14 Thread Yoshihiro Shimoda
This patch adds role switch support for R-Car SoCs into the USB 3.0 peripheral driver. Some R-Car SoCs (e.g. R-Car H3) have USB 3.0 dual-role device controller which has the USB 3.0 xHCI host and Renesas USB 3.0 peripheral. Unfortunately, the mode change register contains the USB 3.0 peripheral co

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread Niklas Söderlund
Hi Laurent, On 2018-05-14 05:49:41 +0300, Laurent Pinchart wrote: [snip] > > > +&vin4 { > > > + pinctrl-0 = <&vin4_pins>; > > > + pinctrl-names = "default"; > > > + > > > + status = "okay"; > > > + > > > + ports { > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > + >

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread Niklas Söderlund
Hi again, On 2018-05-14 11:49:00 +0200, Niklas Söderlund wrote: > Hi Laurent, > > On 2018-05-14 05:49:41 +0300, Laurent Pinchart wrote: > > [snip] > > > > > +&vin4 { > > > > + pinctrl-0 = <&vin4_pins>; > > > > + pinctrl-names = "default"; > > > > + > > > > + status = "okay"; >

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread Niklas Söderlund
Hi Jacopo, On 2018-05-14 09:39:34 +0200, Jacopo Mondi wrote: > Hi Niklas, > > On Sun, May 13, 2018 at 02:57:55PM +0200, Niklas Söderlund wrote: > > Hi Jacopo, > > > > Thanks for your patch. > > > > On 2018-05-11 12:00:02 +0200, Jacopo Mondi wrote: > > > Describe HDMI input connected to VIN4 inter

Re: [GIT PULL FOR renesas-drivers] drm/du/m3n

2018-05-14 Thread Geert Uytterhoeven
Hi Kieran, On Sat, May 12, 2018 at 10:09 AM, Kieran Bingham wrote: > Please consider including this release in renesas-drivers. > > -- > Regards > > Kieran > > The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e: > > Linux 4.17-rc2 (2018-04-22 19:20:09 -0700) > > are ava

Re: [GIT PULL FOR renesas-drivers] drm/du/m3n

2018-05-14 Thread Kieran Bingham
On 14/05/18 13:52, Geert Uytterhoeven wrote: > Hi Kieran, > > On Sat, May 12, 2018 at 10:09 AM, Kieran Bingham > wrote: >> Please consider including this release in renesas-drivers. >> >> -- >> Regards >> >> Kieran >> >> The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71

Re: [PATCH v15 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-05-14 Thread jacopo mondi
Hi Niklas, thanks for the patch On Sun, May 13, 2018 at 09:19:17PM +0200, Niklas Söderlund wrote: > A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver > supports the R-Car Gen3 SoCs where separate CSI-2 hardware blocks are > connected between the video sources and the video grabber

Re: [PATCH v15 1/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver documentation

2018-05-14 Thread jacopo mondi
Hi Niklas, thanks for re-sending On Sun, May 13, 2018 at 09:19:16PM +0200, Niklas Söderlund wrote: > Documentation for Renesas R-Car MIPI CSI-2 receiver. The CSI-2 receivers > are located between the video sources (CSI-2 transmitters) and the video > grabbers (VIN) on Gen3 of Renesas R-Car SoC

Re: [PATCH/RFC v3 1/4] base: devcon: add a new API to find the graph

2018-05-14 Thread Heikki Krogerus
On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote: > This patch adds a new API "device_connection_find_by_graph()" to > find device connection by using graph. > > Signed-off-by: Yoshihiro Shimoda > --- > Documentation/driver-api/device_connection.rst | 4 +-- > drivers/base/devc

Re: [PATCH 0/3] fbdev/drm: sh_mobile: remove unused MERAM support

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 02:09:31 PM Daniel Vetter wrote: > On Fri, Apr 27, 2018 at 1:36 PM, Laurent Pinchart > wrote: > > Hi Bartlomiej, > > > > On Friday, 27 April 2018 14:21:42 EEST Bartlomiej Zolnierkiewicz wrote: > >> Hi, > >> > >> This patchset removes unused MERAM support (last user was re

Re: Booting Salvator-X ES1 board with upstream kernel

2018-05-14 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 10, 2018 at 10:12 AM, Gilad Ben-Yossef wrote: > I am trying to add support for the CryptoCell security IP in the > R-Rcar boards to mainline but I've run into some trouble. Ah, we have found a user ;-) > I have an R-Car 3rd gen Salvator-X ES1 board. I've been able to boot

Re: [PATCH] arm64: dts: renesas: r8a77990: Add GPIO device nodes

2018-05-14 Thread Simon Horman
On Sun, May 13, 2018 at 12:12:27PM +0300, Sergei Shtylyov wrote: > Hello! > > On 5/13/2018 12:08 PM, Simon Horman wrote: > > > The compat string renesas,gpio-rcar has been deprecated since v4.14, > > the same release that r8a77990 SoC support was added. Thus > > renesas,gpio-rcar can safely be re

[PATCH] arm64: dts: renesas: r8a77995: don't use deprecated renesas,gpio-rcar

2018-05-14 Thread Simon Horman
The compat string renesas,gpio-rcar has been deprecated since v4.14, the same release that r8a77990 SoC support was added. Thus renesas,gpio-rcar can safely be removed without any risk of behaviour changes between old and new mainline kernels and DTBs. Signed-off-by: Simon Horman --- arch/arm64/

Re: [PATCH/RFC v3 1/4] base: devcon: add a new API to find the graph

2018-05-14 Thread Randy Dunlap
On 05/14/2018 02:15 AM, Yoshihiro Shimoda wrote: > This patch adds a new API "device_connection_find_by_graph()" to > find device connection by using graph. > > Signed-off-by: Yoshihiro Shimoda > --- > Documentation/driver-api/device_connection.rst | 4 +-- > drivers/base/devcon.c

Re: [PATCH 1/6] pinctrl: sh-pfc: Add PORT_GP_11 helper macro

2018-05-14 Thread Geert Uytterhoeven
Hi Shimoda-san, On Fri, May 11, 2018 at 5:22 AM, Yoshihiro Shimoda wrote: > From: Takeshi Kihara > > This follows the style of existion PORT_GP_X macros and > will be used by a follow-up patch for the r8a77990 SoC. Thanks for your patch! > Signed-off-by: Takeshi Kihara > Signed-off-by: Yoshih

Re: [PATCH V5] PCI: rcar: Use runtime PM to control controller clock

2018-05-14 Thread Marek Vasut
On 05/01/2018 12:55 PM, Lorenzo Pieralisi wrote: > On Fri, Apr 13, 2018 at 02:48:19PM +0200, Simon Horman wrote: >> On Tue, Apr 10, 2018 at 06:17:04PM +0200, Marek Vasut wrote: >>> On 04/10/2018 05:28 PM, Geert Uytterhoeven wrote: >> >> ... >> >> rcar_pcie_get_resources() is called while the de

Re: [PATCH 2/6] pinctrl: sh-pfc: Initial R8A77990 PFC support

2018-05-14 Thread Geert Uytterhoeven
Hi Shimoda-san, On Fri, May 11, 2018 at 5:22 AM, Yoshihiro Shimoda wrote: > From: Takeshi Kihara > > This patch adds initial pinctrl driver to support for the R8A77990 SoC. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven i.e. will queue in

Re: [PATCH V5] PCI: rcar: Use runtime PM to control controller clock

2018-05-14 Thread Lorenzo Pieralisi
On Mon, May 14, 2018 at 05:32:04PM +0200, Marek Vasut wrote: > On 05/01/2018 12:55 PM, Lorenzo Pieralisi wrote: > > On Fri, Apr 13, 2018 at 02:48:19PM +0200, Simon Horman wrote: > >> On Tue, Apr 10, 2018 at 06:17:04PM +0200, Marek Vasut wrote: > >>> On 04/10/2018 05:28 PM, Geert Uytterhoeven wrote:

Re: [PATCH] arm64: dts: renesas: r8a77990: Add GPIO device nodes

2018-05-14 Thread Sergei Shtylyov
On 05/14/2018 05:30 PM, Simon Horman wrote: >>> The compat string renesas,gpio-rcar has been deprecated since v4.14, >>> the same release that r8a77990 SoC support was added. Thus >>> renesas,gpio-rcar can safely be removed without any risk of behaviour >>> changes between old and new mainline ker

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-14 Thread Daniel Vetter
On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: > On 2018-05-10 10:10, Andrzej Hajda wrote: > > On 04.05.2018 15:52, Peter Rosin wrote: > >> If the bridge supplier is unbound, this will bring the bridge consumer > >> down along with the bridge. Thus, there will no longer linger any > >

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread Laurent Pinchart
Hi Niklas, On Monday, 14 May 2018 12:49:00 EEST Niklas Söderlund wrote: > On 2018-05-14 05:49:41 +0300, Laurent Pinchart wrote: > > [snip] > > >>> +&vin4 { > >>> + pinctrl-0 = <&vin4_pins>; > >>> + pinctrl-names = "default"; > >>> + > >>> + status = "okay"; > >>> + > >>> + ports { > >>> +

Re: [PATCH 3/3] arm64: dts: renesas: draak: Describe HDMI input

2018-05-14 Thread Laurent Pinchart
Hi Niklas, On Monday, 14 May 2018 13:23:26 EEST Niklas Söderlund wrote: > On 2018-05-14 09:39:34 +0200, Jacopo Mondi wrote: > > On Sun, May 13, 2018 at 02:57:55PM +0200, Niklas Söderlund wrote: > >> On 2018-05-11 12:00:02 +0200, Jacopo Mondi wrote: > >>> Describe HDMI input connected to VIN4 inter

Re: [PATCH v15 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-05-14 Thread Niklas Söderlund
Hi Jacopo, Thanks for your feedback. On 2018-05-14 15:14:48 +0200, Jacopo Mondi wrote: > Hi Niklas, >thanks for the patch > > On Sun, May 13, 2018 at 09:19:17PM +0200, Niklas Söderlund wrote: > > A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver > > supports the R-Car Gen3 SoCs

[PATCH] pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments

2018-05-14 Thread Geert Uytterhoeven
The comment block explaining the rationale for static pins contains grammar errors. It appeared first in the pin control driver for R-Car H3 ES1.x, and spread to R-Car M3-W, H3 ES2.0, and M3-N later. Fix the grammar in all copies at once. Signed-off-by: Geert Uytterhoeven --- To be queued in sh

Re: [PATCH] pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments

2018-05-14 Thread Niklas Söderlund
Hi Geert, Thanks for your work. On 2018-05-14 21:44:02 +0200, Geert Uytterhoeven wrote: > The comment block explaining the rationale for static pins contains > grammar errors. It appeared first in the pin control driver for R-Car > H3 ES1.x, and spread to R-Car M3-W, H3 ES2.0, and M3-N later. >

Re: [PATCH 3/6] pinctrl: sh-pfc: r8a77990: Add bias pinconf support

2018-05-14 Thread Geert Uytterhoeven
Hi Shimoda-san, On Fri, May 11, 2018 at 5:22 AM, Yoshihiro Shimoda wrote: > From: Takeshi Kihara > > This patch implements control of pull-up and pull-down. On this SoC there > is no simple mapping of GP pins to bias register bits, so we need a table. > > Signed-off-by: Takeshi Kihara > Signed-

Re: [PATCH 1/4] arm64: dts: renesas: r8a77990: Add PFC device node

2018-05-14 Thread Geert Uytterhoeven
Hi Simon, On Sun, May 13, 2018 at 10:14 AM, Simon Horman wrote: > On Fri, May 11, 2018 at 01:31:18PM +0900, Yoshihiro Shimoda wrote: >> This patch adds PFC device node for r8a77990 (R-Car E3). >> >> Signed-off-by: Yoshihiro Shimoda >> --- >> arch/arm64/boot/dts/renesas/r8a77990.dtsi | 5 + >

Re: [PATCH 1/2] dt-bindings: arm: document Renesas V3HSK board bindings

2018-05-14 Thread Geert Uytterhoeven
On Thu, May 10, 2018 at 8:09 PM, Sergei Shtylyov wrote: > Document the V3H Starter Kit device tree bindings, listing it as > a supported board. > > This allows to use checkpatch.pl to validate .dts files referring to > the V3HSK board. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytter

Re: [PATCH 0/3] arm64: dts: Draak: Enable HDMI input and VIN4

2018-05-14 Thread Geert Uytterhoeven
Hi Jacopo, On Fri, May 11, 2018 at 11:59 AM, Jacopo Mondi wrote: >this series enables HDMI input and VIN4 on R-Car D3 Draak board. > > The Draak board has an HDMI input connected to an HDMI decoder that feeds > the VIN capture interface through its parallel video interface. > > The series req

Re: [PATCH v2 26/26] drm/bridge: establish a link between the bridge supplier and consumer

2018-05-14 Thread Peter Rosin
On 2018-05-14 18:28, Daniel Vetter wrote: > On Fri, May 11, 2018 at 09:37:47AM +0200, Peter Rosin wrote: >> On 2018-05-10 10:10, Andrzej Hajda wrote: >>> On 04.05.2018 15:52, Peter Rosin wrote: If the bridge supplier is unbound, this will bring the bridge consumer down along with the brid

[PATCH v16 2/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver

2018-05-14 Thread Niklas Söderlund
A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver supports the R-Car Gen3 SoCs where separate CSI-2 hardware blocks are connected between the video sources and the video grabbers (VIN). Driver is based on a prototype by Koji Matsuoka in the Renesas BSP. Signed-off-by: Niklas Söderlu

[PATCH v16 0/2] rcar-csi2: add Renesas R-Car MIPI CSI-2

2018-05-14 Thread Niklas Söderlund
Hi, This is the latest incarnation of R-Car MIPI CSI-2 receiver driver. It's based on top of the media-tree and are tested on Renesas Salvator-X and Salvator-XS together with adv7482 and the now in tree rcar-vin driver :-) I hope this is the last incarnation of this patch-set, I do think it is re

[PATCH v16 1/2] rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver documentation

2018-05-14 Thread Niklas Söderlund
Documentation for Renesas R-Car MIPI CSI-2 receiver. The CSI-2 receivers are located between the video sources (CSI-2 transmitters) and the video grabbers (VIN) on Gen3 of Renesas R-Car SoC. Each CSI-2 device is connected to more than one VIN device which simultaneously can receive video from the

RE: [PATCH/RFC v3 1/4] base: devcon: add a new API to find the graph

2018-05-14 Thread Yoshihiro Shimoda
Hi Heikki, > From: Heikki Krogerus, Sent: Monday, May 14, 2018 10:28 PM > > On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote: > > diff --git a/drivers/base/devcon.c b/drivers/base/devcon.c > > index d427e80..5a0da33 100644 > > --- a/drivers/base/devcon.c > > +++ b/drivers/base/d

Re: [PATCH v16 0/2] rcar-csi2: add Renesas R-Car MIPI CSI-2

2018-05-14 Thread Laurent Pinchart
Hi Niklas, On Tuesday, 15 May 2018 03:56:33 EEST Niklas Söderlund wrote: > Hi, > > This is the latest incarnation of R-Car MIPI CSI-2 receiver driver. It's > based on top of the media-tree and are tested on Renesas Salvator-X and > Salvator-XS together with adv7482 and the now in tree rcar-vin dr