[PATCH v2 0/4] V3M-Eagle HDMI output enablement

2018-04-10 Thread Jacopo Mondi
Hello, this series enables HDMI display on V3M Eagle board. The v2 of this series is based on Linus' master, as it already contains the pull request for arm64 DT is merged already, and it includes enablement of R8A77970 basic components such as PFC, GPIOs and I2c. Compared to to v1 I have not

Re: [PATCH v2 6/6] usb: gadget: udc: renesas_usb3: disable the controller's irqs for reconnecting

2018-04-10 Thread Simon Horman
On Tue, Apr 10, 2018 at 02:38:54PM +0900, Yoshihiro Shimoda wrote: > This patch fixes an issue that reconnection is possible to fail > because unexpected state handling happens by the irqs. To fix the issue, > the driver disables the controller's irqs when disconnected. > > Fixes: 746bfe63bba3

Re: [PATCH 1/5] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-10 Thread Geert Uytterhoeven
Hi Wolfram, On Tue, Apr 10, 2018 at 11:38 AM, Wolfram Sang wrote: > Early revisions of certain SoCs cannot do multiple DMA RX streams in > parallel. To avoid data corruption, only allow one DMA RX channel and > fall back to PIO, if needed. > > Signed-off-by:

[PATCH v2 1/4] arm64: dts: renesas: r8a77970: add VSPD support

2018-04-10 Thread Jacopo Mondi
From: Sergei Shtylyov Describe VSPD0 in the R8A77970 device tree; it will be used by DU in the next patch... Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov

[PATCH v2 2/4] arm64: dts: renesas: r8a77970: add DU support

2018-04-10 Thread Jacopo Mondi
From: Sergei Shtylyov Define the generic R8A77970 part of the DU device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov

[PATCH v2 4/4] arm64: dts: renesas: eagle: Enable HDMI output

2018-04-10 Thread Jacopo Mondi
Enable HDMI output on Renesas R-Car V3M Eagle board. The HDMI output is enabled connecting the DU LVDS output to the transparent LVDS converter THC63LVD1024, and successively routing its RGB output to the ADV7511W HDMI encoder. Signed-off-by: Niklas Söderlund

[PATCH v2 3/4] arm64: dts: renesas: r8a77970: add LVDS support

2018-04-10 Thread Jacopo Mondi
From: Niklas Söderlund Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect the it to the LVDS output of the DU. Signed-off-by: Niklas Söderlund Signed-off-by: Jacopo Mondi

RFC: RZ/N1 clock architecture...

2018-04-10 Thread Michel Pollet
Hi guys, In the current SDK for the RZ/N1, we made a clock architecture that is entirely device-tree based. The clock hierarchy is quite complex and was machine generated from design documents, and some exceptions and grouping were added to the 'main' family rzn1.dtsi... Apart from a few

RE: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2018-04-10 Thread Fabrizio Castro
Dear All, this patch was originally sent on the 16/11/2017, and reposted a few times, does anybody know who is supposed to take it? Thanks, Fab > -Original Message- > From: Niklas Söderlund [mailto:niklas.soderlund+rene...@ragnatech.se] > Sent: 26 March 2018 22:44 > To: Laurent

Re: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2018-04-10 Thread Niklas Söderlund
Hi Fabrizio, On 2018-04-10 09:55:29 +, Fabrizio Castro wrote: > Dear All, > > this patch was originally sent on the 16/11/2017, and reposted a few times, > does anybody know who is supposed to take it? Hans have indicated he will take this a respin of this whole patch-set sometime next

[PATCH 2/2] usb: gadget: udc: renesas_usb3: add devm_of_platform_populate()

2018-04-10 Thread Yoshihiro Shimoda
This patch adds devm_of_platform_populate() calling to populate the rcar-usb3-role-switch driver. For now, this renesas_usb3 driver doesn't use any APIs of the usb role switch framework because the usb_role_switch_get() API depends on the device_connection framework and this framework is not good

Re: [PATCH 4/4] usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc

2018-04-10 Thread Simon Horman
On Tue, Apr 10, 2018 at 01:28:33AM +, Yoshihiro Shimoda wrote: > Hi Simon-san, > > > From: Simon Horman, Sent: Monday, April 9, 2018 8:58 PM > > > > On Mon, Apr 02, 2018 at 09:21:34PM +0900, Yoshihiro Shimoda wrote: > > > This patch fixes an issue that this driver cannot call phy_init() > >

RE: [PATCH v2 1/3] dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

2018-04-10 Thread Fabrizio Castro
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 Herring

Re: [PATCH v2 5/6] usb: gadget: udc: renesas_usb3: should fail if devm_phy_get() returns error

2018-04-10 Thread Simon Horman
On Tue, Apr 10, 2018 at 02:38:53PM +0900, Yoshihiro Shimoda wrote: > This patch fixes an issue that this driver ignores errors other than > the non-existence of the device, f.e. a memory allocation failure > in devm_phy_get(). So, this patch replaces devm_phy_get() with > devm_phy_optional_get().

RE: [PATCH 4/4] usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc

2018-04-10 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman, Sent: Tuesday, April 10, 2018 6:34 PM > > On Tue, Apr 10, 2018 at 01:28:33AM +, Yoshihiro Shimoda wrote: > > Hi Simon-san, > > > > > From: Simon Horman, Sent: Monday, April 9, 2018 8:58 PM > > > > > > On Mon, Apr 02, 2018 at 09:21:34PM +0900, Yoshihiro

Re: RFC: RZ/N1 clock architecture...

2018-04-10 Thread Geert Uytterhoeven
Hi Michel, On Tue, Apr 10, 2018 at 11:56 AM, Michel Pollet wrote: > In the current SDK for the RZ/N1, we made a clock architecture that is > entirely device-tree based. > The clock hierarchy is quite complex and was machine generated from design > documents, and >

Re: [PATCH v2 3/4] arm64: dts: renesas: r8a77970: add LVDS support

2018-04-10 Thread jacopo mondi
Hi Sergei, On Tue, Apr 10, 2018 at 03:02:39PM +0300, Sergei Shtylyov wrote: > On 04/10/2018 01:54 PM, Jacopo Mondi wrote: > > > From: Niklas Söderlund > > > > Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect > > the it to the LVDS

[PATCH 1/2] usb: gadget: udc: renesas_usb3: add property "renesas,ignore-id"

2018-04-10 Thread Yoshihiro Shimoda
This patch adds a new property to ignore the ID signal on a board. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/usb/renesas_usb3.txt | 2 ++ drivers/usb/gadget/udc/renesas_usb3.c | 10 ++ 2 files changed, 12

[PATCH 0/2] usb: gadet: udc: renesas_usb3: add role switch for R-Car SoCs

2018-04-10 Thread Yoshihiro Shimoda
This patch is based on the today's Linus master branch. This patch uses the USB role switch framework to attach/detach USB 3.0 host driver when changes the role via the rcar usb switch driver [1] and "usb_role" sysfs. [1] https://patchwork.kernel.org/patch/10332865/ In the future, I will add

RE: [PATCH v13 02/33] dt-bindings: media: rcar_vin: add device tree support for r8a774[35]

2018-04-10 Thread Fabrizio Castro
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 +, Fabrizio Castro wrote: > > Dear All, > > > > this patch was originally sent on the 16/11/2017, and reposted a few times, > >

[PATCH v8 2/2] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-04-10 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund ---

[PATCH v8 1/2] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-04-10 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart

RE: RFC: RZ/N1 clock architecture...

2018-04-10 Thread Michel Pollet
Hi Geert, On 10 April 2018 11:08, Geert wrote: > > Hi Michel, > > On Tue, Apr 10, 2018 at 11:56 AM, Michel Pollet > wrote: > > In the current SDK for the RZ/N1, we made a clock architecture that is > entirely device-tree based. > > The clock hierarchy is quite

[PATCH] usb: role: rcar-usb3-role-switch: add support for R-Car SoCs

2018-04-10 Thread Yoshihiro Shimoda
This patch adds role switch support for R-Car SoCs. 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 controller side only. So, the USB

Re: [PATCH] phy: Renesas R-Car gen3 PCIe PHY driver

2018-04-10 Thread Simon Horman
On Mon, Apr 09, 2018 at 06:57:11PM +0300, Sergei Shtylyov wrote: > On 04/09/2018 12:46 PM, Geert Uytterhoeven wrote: > > >> This PHY is still mostly undocumented -- the only documented registers > >> exist on R-Car V3H (R8A77980) SoC where this PHY stays in a powered-down > >> state after a

[PATCH 4/5] mmc: renesas_sdhi_internal_dmac: use more generic whitelisting

2018-04-10 Thread Wolfram Sang
Whitelisting every ES version does not scale. So, we whitelist whole SoCs independent of ES version. If we need specific handling for an ES version, we put it to the front, so it will be matched first. Signed-off-by: Wolfram Sang Reviewed-by: Yoshihiro Shimoda

[PATCH 2/5] mmc: renesas_sdhi: use helpers to access struct scatterlist members

2018-04-10 Thread Wolfram Sang
From: Niklas Söderlund Instead of directly accessing the members of struct scatterlist use the helpers mmc_get_dma_dir() and sg_dma_address() in renesas_sdhi_internal_dmac_start_dma(). Based on previous work by Masaharu Hayakawa. Signed-off-by: Niklas

[PATCH 3/5] mmc: renesas_sdhi: Fix alignment check of sg buffer

2018-04-10 Thread Wolfram Sang
From: Masaharu Hayakawa Sometimes sg->offset is not used for buffer addresses allocated by dma_map_sg(), so alignment checks should be done on the allocated buffer addresses. Delete the alignment check for sg->offset that is done before dma_map_sg(). Instead, it

[PATCH 1/5] mmc: renesas_sdhi_internal_dmac: limit DMA RX for old SoCs

2018-04-10 Thread Wolfram Sang
Early revisions of certain SoCs cannot do multiple DMA RX streams in parallel. To avoid data corruption, only allow one DMA RX channel and fall back to PIO, if needed. Signed-off-by: Wolfram Sang Reviewed-by: Yoshihiro Shimoda

[PATCH 5/5] mmc: renesas_sdhi_internal_dmac: remove superfluous WARN

2018-04-10 Thread Wolfram Sang
The WARN can never trigger because we limited the max_seg number in renesas_sdhi_of_data already. Remove it and update the comment. Signed-off-by: Wolfram Sang --- drivers/mmc/host/renesas_sdhi_internal_dmac.c | 5 + 1 file changed, 1 insertion(+), 4

[PATCH 0/5] mmc: renesas_sdhi_internal_dmac: DMA handling fixes

2018-04-10 Thread Wolfram Sang
Ulf, I have collected the patches floating around for renesas_sdhi_internal_dmac (also previously internal ones) and grouped them to avoid dependency issues. I think it would be good to give Shimoda-san some time to look at the new patches (2,3,5), too. Regarding stable: I think patch 1 is

[PATCH v8 0/2] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-04-10 Thread Jacopo Mondi
Hello, new version with last bits hopefully fixed. The vcc supply is now mandatory, as suggested by Mark Brown, and the driver requires it to be described in device tree. The "OE" GPIO is now described by 'oe' again, as I wrongly interpreted Rob's suggestions on v6. A few minor grammar fixes

Re: [PATCH v2 3/4] arm64: dts: renesas: r8a77970: add LVDS support

2018-04-10 Thread Sergei Shtylyov
On 04/10/2018 01:54 PM, Jacopo Mondi wrote: > From: Niklas Söderlund > > Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect > the it to the LVDS output of the DU. > > Signed-off-by: Niklas Söderlund

RE: [PATCH] clk: renesas: rcar-gen2: Centralize quirks handling

2018-04-10 Thread Biju Das
Hi Geert, Thanks for the patch. > -Original Message- > From: Geert Uytterhoeven [mailto:geert+rene...@glider.be] > Sent: 10 April 2018 14:05 > To: Michael Turquette ; Stephen Boyd > ; Biju Das > Cc:

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

2018-04-10 Thread Marek Vasut
On 04/09/2018 02:26 PM, Simon Horman wrote: > On Mon, Apr 09, 2018 at 01:47:38PM +0200, Geert Uytterhoeven wrote: >> Hi Simon, Marek, >> >> On Mon, Apr 9, 2018 at 1:41 PM, Simon Horman wrote: >>> On Mon, Apr 09, 2018 at 10:20:05AM +0200, Marek Vasut wrote: On 04/09/2018

[PATCH] clk: renesas: rcar-gen2: Centralize quirks handling

2018-04-10 Thread Geert Uytterhoeven
Introduce centralized quirks handling like on R-Car Gen3, and convert the RZ/G1C SD clock table handling over to it. This makes it easier to add more quirks later, if/when needed. Signed-off-by: Geert Uytterhoeven --- To be queued in clk-renesas-for-v4.18.

Re: [PATCH] mtd: partitions: Handle add_mtd_device() failures gracefully

2018-04-10 Thread Geert Uytterhoeven
Hi Marek, On Tue, Apr 10, 2018 at 4:37 PM, Marek Vasut wrote: > On 04/10/2018 03:26 PM, Geert Uytterhoeven wrote: >> On Mon, Apr 9, 2018 at 11:59 PM, Marek Vasut wrote: >>> On 04/09/2018 02:25 PM, Geert Uytterhoeven wrote: Currently

[PATCH] extcon: int3496: use proper GPIO include

2018-04-10 Thread Wolfram Sang
Since commit eca0f13c836a ("extcon: int3496: Ignore incorrect IoRestriction for ID pin"), the driver doesn't use GPIOF_* flags anymore. We can thus now drop the deprecated include file for GPIO and use the new one. Signed-off-by: Wolfram Sang --- Compile tested

Re: [PATCH] mtd: partitions: Handle add_mtd_device() failures gracefully

2018-04-10 Thread Geert Uytterhoeven
Hi Marek, On Mon, Apr 9, 2018 at 11:59 PM, Marek Vasut wrote: > On 04/09/2018 02:25 PM, Geert Uytterhoeven wrote: >> Currently add_mtd_device() failures are plainly ignored, which may lead >> to kernel crashes later. >> Fix this by ignoring and freeing partitions that

RE: [PATCH] gpio: dwapb: Add support for 32 interrupts

2018-04-10 Thread Phil Edworthy
Hi Rob, On 10 April 2018 07:24 Phil Edworthy wrote: > On 09 April 2018 20:20 Rob Herring wrote: > > On Wed, Mar 28, 2018 at 03:22:30PM +0100, Phil Edworthy wrote: [...] > > > +- interrupt-mask : a 32-bit bit mask that specifies which interrupts > > > +in the list > > > + of interrupts is valid,

Re: [PATCH] mtd: partitions: Handle add_mtd_device() failures gracefully

2018-04-10 Thread Marek Vasut
On 04/10/2018 03:26 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, Apr 9, 2018 at 11:59 PM, Marek Vasut wrote: >> On 04/09/2018 02:25 PM, Geert Uytterhoeven wrote: >>> Currently add_mtd_device() failures are plainly ignored, which may lead >>> to kernel crashes

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

2018-04-10 Thread Marek Vasut
On 04/10/2018 04:42 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Tue, Apr 10, 2018 at 4:31 PM, Marek Vasut wrote: >> On 04/09/2018 02:26 PM, Simon Horman wrote: >>> On Mon, Apr 09, 2018 at 01:47:38PM +0200, Geert Uytterhoeven wrote: On Mon, Apr 9, 2018 at 1:41 PM,

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

2018-04-10 Thread Geert Uytterhoeven
Hi Marek, On Tue, Apr 10, 2018 at 5:25 PM, Marek Vasut wrote: > On 04/10/2018 04:42 PM, Geert Uytterhoeven wrote: >> On Tue, Apr 10, 2018 at 4:31 PM, Marek Vasut wrote: >>> On 04/09/2018 02:26 PM, Simon Horman wrote: On Mon, Apr 09, 2018 at

Re: [PATCH v2 2/2] dt-bindings: pinctrl: sh-pfc: Document r8a77470 PFC support

2018-04-10 Thread Rob Herring
On Wed, Apr 04, 2018 at 04:22:57PM +0100, Biju Das wrote: > Document PFC support for the R8A77470 SoC. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro > --- > V1->V2: > * Incorporated sergie's review comment. > >

Re: [PATCH] gpio: dwapb: Add support for 32 interrupts

2018-04-10 Thread Geert Uytterhoeven
Hi Phil, On Tue, Apr 10, 2018 at 4:23 PM, Phil Edworthy wrote: > On 10 April 2018 07:24 Phil Edworthy wrote: >> On 09 April 2018 20:20 Rob Herring wrote: >> > On Wed, Mar 28, 2018 at 03:22:30PM +0100, Phil Edworthy wrote: > [...] >> > > +- interrupt-mask : a 32-bit bit

Re: [PATCH] clk: renesas: rcar-gen2: Centralize quirks handling

2018-04-10 Thread Niklas Söderlund
Hi Geert, Thanks for your patch. On 2018-04-10 15:04:58 +0200, Geert Uytterhoeven wrote: > Introduce centralized quirks handling like on R-Car Gen3, and convert > the RZ/G1C SD clock table handling over to it. > > This makes it easier to add more quirks later, if/when needed. > >

Re: [PATCH] phy: Renesas R-Car gen3 PCIe PHY driver

2018-04-10 Thread Rob Herring
On Wed, Apr 04, 2018 at 10:31:26PM +0300, Sergei Shtylyov wrote: > This PHY is still mostly undocumented -- the only documented registers > exist on R-Car V3H (R8A77980) SoC where this PHY stays in a powered-down > state after a reset and thus we must power it on for PCIe to work... > >

[PATCH RESEND] backlight: pwm_bl: don't use GPIOF_* with gpiod_get_direction

2018-04-10 Thread Wolfram Sang
The documentation was wrong, gpiod_get_direction() returns 0/1 instead of the GPIOF_* flags. The docs were fixed with commit 94fc73094abe47 ("gpio: correct docs about return value of gpiod_get_direction"). Now, fix this user (until a better, system-wide solution is in place). Signed-off-by:

RE: [PATCH] gpio: dwapb: Add support for 32 interrupts

2018-04-10 Thread Phil Edworthy
Hi Geert, On 10 April 2018 15:29 Geert Uytterhoeven wrote: > On Tue, Apr 10, 2018 at 4:23 PM, Phil Edworthy wrote: > > On 10 April 2018 07:24 Phil Edworthy wrote: > >> On 09 April 2018 20:20 Rob Herring wrote: > >> > On Wed, Mar 28, 2018 at 03:22:30PM +0100, Phil Edworthy wrote: > > [...] > >> >

[PATCH v2 0/2] vfio: platform: Improve reset support

2018-04-10 Thread Geert Uytterhoeven
Hi all, This patch series improves reset support for vfio-platform: - The first patch fixes a bug I ran into while working on this. - The second patch implements generic DT reset controller support, for devices that are connected to an SoC-internal reset controller and can be

[PATCH v2 2/2] vfio: platform: Add generic DT reset controller support

2018-04-10 Thread Geert Uytterhoeven
Vfio-platform requires reset support, provided either by ACPI, or, on DT platforms, by a device-specific reset driver matching against the device's compatible value. On many SoCs, devices are connected to an SoC-internal reset controller. If the reset hierarchy is described in DT using "resets"

Re: [PATCH] mtd: partitions: Handle add_mtd_device() failures gracefully

2018-04-10 Thread Steve deRosier
On Tue, Apr 10, 2018 at 7:47 AM, Geert Uytterhoeven wrote: > Hi Marek, > > On Tue, Apr 10, 2018 at 4:37 PM, Marek Vasut wrote: >> On 04/10/2018 03:26 PM, Geert Uytterhoeven wrote: >>> On Mon, Apr 9, 2018 at 11:59 PM, Marek Vasut

Re: [PATCH v2 3/4] arm64: dts: renesas: r8a77970: add LVDS support

2018-04-10 Thread Sergei Shtylyov
On 04/10/2018 03:13 PM, jacopo mondi wrote: >>> From: Niklas Söderlund >>> >>> Add the LVDS device to r8a77970.dtsi in a disabled state. Also connect >>> the it to the LVDS output of the DU. >>> >>> Signed-off-by: Niklas Söderlund

Re: [PATCH] usb: role: rcar-usb3-role-switch: add support for R-Car SoCs

2018-04-10 Thread Andy Shevchenko
On Tue, Apr 10, 2018 at 3:03 PM, Yoshihiro Shimoda wrote: > This patch adds role switch support for R-Car SoCs. 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. > >

Re: [PATCH v2 4/4] arm64: dts: renesas: eagle: Enable HDMI output

2018-04-10 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Tuesday, 10 April 2018 13:54:06 EEST Jacopo Mondi wrote: > Enable HDMI output on Renesas R-Car V3M Eagle board. > > The HDMI output is enabled connecting the DU LVDS output to the > transparent LVDS converter THC63LVD1024, and successively routing its >

[PATCH] MAINTAINERS: I'll maintain Renesas R-Car I2C host drivers

2018-04-10 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2f7ccdcf76f7..3bb87e65889c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11897,6 +11897,12 @@ L: linux-...@vger.kernel.org

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

2018-04-10 Thread Geert Uytterhoeven
Hi Marek, On Tue, Apr 10, 2018 at 4:31 PM, Marek Vasut wrote: > On 04/09/2018 02:26 PM, Simon Horman wrote: >> On Mon, Apr 09, 2018 at 01:47:38PM +0200, Geert Uytterhoeven wrote: >>> On Mon, Apr 9, 2018 at 1:41 PM, Simon Horman wrote: On Mon, Apr

[PATCH v2 1/2] vfio: platform: Fix reset module leak in error path

2018-04-10 Thread Geert Uytterhoeven
If the IOMMU group setup fails, the reset module is not released. Fixes: b5add544d677d363 ("vfio, platform: make reset driver a requirement by default") Signed-off-by: Geert Uytterhoeven Reviewed-by: Eric Auger --- v2: - Add Reviewed-by. ---

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

2018-04-10 Thread Marek Vasut
On 04/10/2018 05:28 PM, Geert Uytterhoeven wrote: > Hi Marek, Hi, [...] The pairing looks as follows: .- rcar_pcie_parse_request_of_pci_ranges() | (pm_runtime_enable is here) | .- pm_runtime_get_sync() | | .- rcar_pcie_get_resources() >>> >>>

[PATCH v2 2/2] MAINTAINERS: add maintainer for Renesas I2C related drivers

2018-04-10 Thread Wolfram Sang
From: Wolfram Sang Intentionally missing i2c-riic here, Chris Brandt will add himself for that one later. Signed-off-by: Wolfram Sang --- Changes since v1: * add EMEV2 and PINCTRL DEMUX drivers MAINTAINERS | 16

[PATCH v2 1/2] MAINTAINERS: remove me as maintainer for I2C host drivers

2018-04-10 Thread Wolfram Sang
The number of I2C host controller drivers keeps increasing, and although I had some success acquiring specific driver maintainers, my bandwidth is by far not enough to act as a fallback for the rest of the drivers. To reflect this status-quo in MAINTAINERS, add a seperate entry for I2C host

[PATCH v4 1/8] arm: shmobile: Add the RZ/N1 arch to the shmobile Kconfig

2018-04-10 Thread Michel Pollet
Add the RZ/N1 Family (Part #R9A06G0xx) ARCH config to the rest of the Renesas SoC collection. Signed-off-by: Michel Pollet Reviewed-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/Kconfig | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v4 0/8] arm: Base support for Renesas RZN1D-DB Board

2018-04-10 Thread Michel Pollet
nges together + Rebased on next-20180410 v3: + Fixes for suggestions by Geert Uytterhoeven + Removed SoC Specific renesas,r9a06g032-xxx, as it's not needed for now. + Kept renesas,rzn1 as a family/generic for this family. + Fixed a couple of the commit messages. + Added Geert's Reviewed-By w

[PATCH v4 5/8] dt-bindings: arm: Document the RZN1D-DB board

2018-04-10 Thread Michel Pollet
This documents the RZ/N1 bindings for the RZN1D-DB board. Signed-off-by: Michel Pollet --- Documentation/devicetree/bindings/arm/shmobile.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt

[PATCH v4 6/8] ARM: dts: Renesas RZ/N1 SoC base device tree file

2018-04-10 Thread Michel Pollet
This adds the Renesas RZ/N1D (Part #R9A06G032) SoC bare bone support. This currently only handles generic parts (gic, architected timer) and a UART. For simplicity sake, this also relies on the bootloader to set the pinctrl and clocks. Signed-off-by: Michel Pollet

[PATCH v4 7/8] ARM: dts: Renesas RZN1D-DB Board base file

2018-04-10 Thread Michel Pollet
This adds a base device tree file for the RZN1-DB board, with only the basic support allowing the system to boot to a prompt. Only one UART is used, with only a single CPU running. Signed-off-by: Michel Pollet --- arch/arm/boot/dts/Makefile | 1 +

[PATCH v4 8/8] reset: Renesas RZ/N1 reboot driver

2018-04-10 Thread Michel Pollet
The Renesas RZ/N1 Family (Part #R9A06G0xx) needs a small driver to reboot the Cortex-A7 cores. This driver is a sub driver of the sysctrl MFD. Signed-off-by: Michel Pollet --- drivers/power/reset/Kconfig | 7 +++ drivers/power/reset/Makefile | 1 +

[PATCH v4 2/8] arm: shmobile: Add the RZ/N1D (R9A06G032) to the shmobile Kconfig

2018-04-10 Thread Michel Pollet
Add the RZ/N1D SoC to the reset of the Renesas SoC Collection. Signed-off-by: Michel Pollet --- arch/arm/mach-shmobile/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index

[PATCH v4 3/8] dt-bindings: mfd: renesas,rzn1-sysctrl: document RZ/N1 sysctrl node

2018-04-10 Thread Michel Pollet
The Renesas RZ/N1 Family (Part #R9A06G0xx) has a multi-function system controller. This documents the node used to encapsulate it's sub drivers. Signed-off-by: Michel Pollet --- .../bindings/mfd/renesas,rzn1-sysctrl.txt | 23 ++ 1 file

[PATCH v4 4/8] dt-bindings: reset: renesas,rzn1-reboot: document RZ/N1 reboot driver

2018-04-10 Thread Michel Pollet
The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver as part of the sysctrl MFD to handle rebooting the CA7 cores. This documents the driver bindings. Signed-off-by: Michel Pollet --- .../bindings/power/renesas,rzn1-reboot.txt | 23

Re: [PATCH] base: dma-mapping: Postpone cpu addr translation on mmap()

2018-04-10 Thread jacopo mondi
Hi Christoph, On Mon, Apr 09, 2018 at 10:52:51AM -0700, Christoph Hellwig wrote: > On Mon, Apr 09, 2018 at 06:59:08PM +0200, Jacopo Mondi wrote: > > I'm still a bit puzzled on what happens if dma_mmap_from_dev_coherent() > > fails. > > Does a dma_mmap_from_dev_coherent() failure guarantee anyhow

RE: [PATCH v3 2/8] DT: reset: renesas,rzn1-reboot: document RZ/N1 reboot driver

2018-04-10 Thread Michel Pollet
Hi Rob, On 09 April 2018 21:10, Rob Herring wrote: > On Thu, Mar 29, 2018 at 08:46:58AM +0100, Michel Pollet wrote: > > The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver as part > > of the sysctrl MFD to handle rebooting the CA7 cores. > > This documents the driver bindings. > > > >

RE: [PATCH] gpio: dwapb: Add support for 32 interrupts

2018-04-10 Thread Phil Edworthy
Hi Rob, On 09 April 2018 20:20 Rob Herring wrote: > On Wed, Mar 28, 2018 at 03:22:30PM +0100, Phil Edworthy wrote: > > The DesignWare GPIO IP can be configured for either 1 or 32 > > interrupts, but the driver currently only supports 1 interrupt. See > > the DesignWare DW_apb_gpio Databook

RE: [PATCH] usb: role: rcar-usb3-role-switch: add support for R-Car SoCs

2018-04-10 Thread Yoshihiro Shimoda
Hi Andy, Thank you for the review! > From: Andy Shevchenko, Sent: Tuesday, April 10, 2018 9:40 PM > > On Tue, Apr 10, 2018 at 3:03 PM, Yoshihiro Shimoda > wrote: > > +#include > > +#include > > +#include > > > +#include > > Do you need this one? If