[PATCH v6 6/6] clk: renesas: Renesas RZ/N1 clock driver

2018-05-22 Thread Michel Pollet
This provides a clock driver for the Renesas RZ/N1 parts (#R09A06G0xx). This uses a structure derived from both the RCAR gen2 driver as well as the renesas-cpg-mssr driver. Signed-off-by: Michel Pollet --- drivers/clk/renesas/Kconfig | 6 +

[PATCH v6 5/6] ARM: dts: Renesas RZN1D-DB Board base file

2018-05-22 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 3/9] ARM: dts: stout: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line:

[PATCH 9/9] ARM: dts: silk: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line:

[PATCH 8/9] ARM: dts: alt: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line:

[PATCH 6/9] ARM: dts: wheat: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line:

[PATCH 1/9] ARM: shmobile: defconfig: Enable MTD command line partition parsing

2018-05-22 Thread Marek Vasut
In preparation for removing MTD partitioning from the DTs and moving it over to kernel command line partition parsing, enable the support for kernel command line MTD partition parsing. The argument for not having MTD partitions in the DT is the same as for not having hard drive partitions in DT,

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

2018-05-22 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

[PATCH/RFC v4 1/4] base: devcon: add graph parse in device_connection_find_match()

2018-05-22 Thread Yoshihiro Shimoda
This patch adds graph parsing in device_connection_find_match(). The match function will be called with fwnode pointer in struct device_connection. So, a caller can check the matching by using it. Signed-off-by: Yoshihiro Shimoda ---

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

2018-05-22 Thread Yoshihiro Shimoda
This patch set is based on Felipe's usb.git / testing/next branch (commit id = 47265c067c0d129f3a0e94bc221293a780af9d78). I still marked this patch set as "RFC". I would like to know whether this way is good or not. About last discusstion with Heikki: https://patchwork.kernel.org/patch/10397635/

[PATCH V3] PCI: rcar: Poll more often in rcar_pcie_wait_for_dl()

2018-05-22 Thread Marek Vasut
The data link active signal usually takes ~20 uSec to be asserted, poll the bit more often to avoid useless delays in this function. Use udelay() instead of usleep() for such a small delay as suggested by the timer documentation and because this will be used in atomic context later on when the

Re: [PATCH 1/9] ARM: shmobile: defconfig: Enable MTD command line partition parsing

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:49PM +0200, Marek Vasut wrote: > In preparation for removing MTD partitioning from the DTs and moving > it over to kernel command line partition parsing, enable the support > for kernel command line MTD partition parsing. > > The argument for not having MTD

Re: [PATCH] PCI: rcar: Poll more often in rcar_pcie_wait_for_dl()

2018-05-22 Thread Geert Uytterhoeven
Hi Marek, On Mon, May 21, 2018 at 11:05 PM, Marek Vasut wrote: > The data link active signal usually takes ~20 uSec to be asserted, > poll the bit more often to avoid useless delays in this function. > Use udelay() instead of usleep() for such a small delay as suggested >

[PATCH v6 1/6] dt-bindings: arm: Document the RZN1D-DB board

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

[PATCH v6 0/6] arm: Base support for Renesas RZN1D-DB Board

2018-05-22 Thread Michel Pollet
This series adds the plain basic support for booting a bare kernel on the RZ/N1D-DB Board. It's been trimmed to the strict minimum as a 'base', further patches that will add the rest of the support. Special note on the clock driver: Current usage of the clocks on Linux involves Linux 'claiming'

[PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file

2018-05-22 Thread Michel Pollet
This adds the constants necessary to use the renesas,rzn1-clocks driver. Signed-off-by: Michel Pollet --- include/dt-bindings/clock/rzn1-clocks.h | 187 1 file changed, 187 insertions(+) create mode 100644

[PATCH v6 3/6] dt-bindings: clock: renesas,rzn1-clocks: document RZ/N1 clock driver

2018-05-22 Thread Michel Pollet
The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver to provide the SoC clock infrastructure for Linux. This documents the driver bindings. Signed-off-by: Michel Pollet --- .../bindings/clock/renesas,rzn1-clocks.txt | 44 ++ 1

Re: [PATCH 3/5] arm64: dts: renesas: r8a77995: Add LVDS support

2018-05-22 Thread Geert Uytterhoeven
Hi Laurent, On Sun, May 20, 2018 at 10:50 AM, Laurent Pinchart wrote: > On Tuesday, 15 May 2018 15:20:38 EEST Ulrich Hecht wrote: >> From: Kieran Bingham >> >> The r8a77995 D3 platform has 2 LVDS channels connected to

Re: [PATCH 6/9] ARM: dts: wheat: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:54PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 7/9] ARM: dts: gose: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:55PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 9/9] ARM: dts: silk: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:57PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support

2018-05-22 Thread Geert Uytterhoeven
Hi Sergei, On Fri, May 18, 2018 at 9:45 PM, Sergei Shtylyov wrote: > Define the generic R8A77980 part of the GEther device node. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov

Re: [PATCH] arm64: dts: renesas: r8a77980: add SMP support

2018-05-22 Thread Simon Horman
On Thu, May 17, 2018 at 11:19:44PM +0300, Sergei Shtylyov wrote: > Add the device nodes for 3 more Cortex-A53 CPU cores; adjust the interrupt > delivery masks for the ARM GIC and Architectured Timer. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir

Re: [PATCH] arm64: dts: renesas: r8a77980: add SMP support

2018-05-22 Thread Simon Horman
On Sat, May 19, 2018 at 08:38:13PM +0300, Sergei Shtylyov wrote: > On 05/17/2018 11:23 PM, Geert Uytterhoeven wrote: > > >> Add the device nodes for 3 more Cortex-A53 CPU cores; adjust the interrupt > >> delivery masks for the ARM GIC and Architectured Timer. > >> > >> Based on the original (and

Re: [PATCH v2] v4l: vsp1: Fix vsp1_regs.h license header

2018-05-22 Thread Simon Horman
On Sun, May 20, 2018 at 10:24:37AM +0300, Laurent Pinchart wrote: > All source files of the vsp1 driver are licensed under the GPLv2+ except > for vsp1_regs.h which is licensed under GPLv2. This is caused by a bad > copy that dates back from the initial version of the driver. Fix > it. > > Cc:

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

2018-05-22 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

Re: [PATCH 1/4] PCI: rcar: Rename rcar_pcie_parse_request_of_pci_ranges()

2018-05-22 Thread Geert Uytterhoeven
On Mon, May 21, 2018 at 3:11 PM, Marek Vasut wrote: > The function name is just too confusing, rename it, no functional change. > Rename the function to rcar_pcie_alloc_and_parse_pci_resource_list() as > it's matching failpath function is pci_free_resource_list() so the

Re: [PATCH v2] v4l: vsp1: Fix vsp1_regs.h license header

2018-05-22 Thread Geert Uytterhoeven
Hi Simon, On Tue, May 22, 2018 at 11:05 AM, Simon Horman wrote: >> --- a/drivers/media/platform/vsp1/vsp1_regs.h >> +++ b/drivers/media/platform/vsp1/vsp1_regs.h >> @@ -1,4 +1,4 @@ >> -/* SPDX-License-Identifier: GPL-2.0 */ >> +/* SPDX-License-Identifier: GPL-2.0+ */ > >

Re: [PATCH 5/5] arm64: dts: renesas: r8a77995-draak: add X12 input dot clock

2018-05-22 Thread Simon Horman
On Sun, May 20, 2018 at 11:58:36AM +0300, Laurent Pinchart wrote: > Hi Ulrich, > > Thank you for the patch. > > On Wednesday, 16 May 2018 11:38:22 EEST Simon Horman wrote: > > On Tue, May 15, 2018 at 02:20:40PM +0200, Ulrich Hecht wrote: > > > 74.25 Mhz oscillator X12 is connected to

Re: [PATCH 3/4] PCI: rcar: Add missing irq_dispose_mapping() into failpath

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 03:11:22PM +0200, Marek Vasut wrote: > The rcar_pcie_get_resources() is another misnomer with a side effect. > The function does not only get resources, but also maps MSI IRQs via > irq_of_parse_and_map(). In case anything fails afterward, the IRQ > mapping must be disposed

Re: [PATCH 1/4] PCI: rcar: Rename rcar_pcie_parse_request_of_pci_ranges()

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 03:11:20PM +0200, Marek Vasut wrote: > The function name is just too confusing, rename it, no functional change. > Rename the function to rcar_pcie_alloc_and_parse_pci_resource_list() as > it's matching failpath function is pci_free_resource_list() so the names > align much

Re: [PATCH][RFC] PCI: rcar: Add bus notifier so we can limit the DMA range

2018-05-22 Thread Marek Vasut
On 05/22/2018 10:10 AM, Arnd Bergmann wrote: > On Tue, May 22, 2018 at 12:05 AM, Marek Vasut wrote: >> From: Phil Edworthy >> >> The PCIe DMA controller on RCar Gen2 and earlier is on 32bit bus, >> so limit the DMA range to 32bit. >> >>

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

2018-05-22 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

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

2018-05-22 Thread Yoshihiro Shimoda
This patch uses usb role switch APIs if the register suceeeded. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/gadget/udc/renesas_usb3.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2 3/4] media: rcar-vin: Handle CLOCKENB pin polarity

2018-05-22 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2018-05-21 19:27:42 +0200, Jacopo Mondi wrote: > Handle CLOCKENB pin polarity, or use HSYNC in its place if polarity is > not specified and we're running on parallel data bus with explicit > synchronism signals. > > While at there, simplify the media bus

[PATCH/RFC] ARM: dts: r8a7791: Move enable-method to CPU nodes

2018-05-22 Thread Geert Uytterhoeven
According to Documentation/devicetree/bindings/arm/cpus.txt, the "enable-method" property should be a property of the individual CPU nodes, not of the parent "cpus" node. However, on R-Car M2-W (and on several other arm32 SoCs), the property is tied to the "cpus" node instead. Secondary CPU

Re: [PATCH 1/9] ARM: shmobile: defconfig: Enable MTD command line partition parsing

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > In preparation for removing MTD partitioning from the DTs and moving > it over to kernel command line partition parsing, enable the support > for kernel command line MTD partition parsing. > > The argument for not having

Re: [PATCH 7/9] ARM: dts: gose: Drop MTD partitioning from DT

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled >

Re: [PATCH 4/4] PCI: rcar: Teardown MSI setup if rcar_pcie_enable() fails

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 03:11:23PM +0200, Marek Vasut wrote: > If the rcar_pcie_enable() fails and MSIs are enabled, the setup done in > rcar_pcie_enable_msi() is never undone. Add a function to tear down the > MSI setup by disabling the MSI handling in the PCIe block, deallocating > the pages

Re: [PATCH] PCI: rcar: Poll more often in rcar_pcie_wait_for_dl()

2018-05-22 Thread Geert Uytterhoeven
Hi Marek, On Tue, May 22, 2018 at 11:48 AM, Marek Vasut wrote: > On 05/22/2018 11:42 AM, Geert Uytterhoeven wrote: >> On Mon, May 21, 2018 at 11:05 PM, Marek Vasut wrote: >>> The data link active signal usually takes ~20 uSec to be asserted, >>>

Re: [PATCH 8/9] ARM: dts: alt: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:56PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:50PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 4/9] ARM: dts: koelsch: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:52PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 5/9] ARM: dts: porter: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:53PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH 3/9] ARM: dts: stout: Drop MTD partitioning from DT

2018-05-22 Thread Wolfram Sang
On Tue, May 22, 2018 at 02:02:51PM +0200, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled > CONFIG_MTD_CMDLINE_PARTS

Re: [PATCH v2 1/4] dt-bindings: media: rcar-vin: Describe optional ep properties

2018-05-22 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2018-05-21 19:27:40 +0200, Jacopo Mondi wrote: > Describe the optional properties for endpoint nodes of port@0 > and port@1 of the R-Car VIN driver device tree bindings documentation. > > Signed-off-by: Jacopo Mondi > Acked-by:

Re: [PATCH v2 2/4] dt-bindings: media: rcar-vin: Document data-active

2018-05-22 Thread Niklas Söderlund
Hi Jacopo, Thanks for your patch. On 2018-05-21 19:27:41 +0200, Jacopo Mondi wrote: > Document 'data-active' property in R-Car VIN device tree bindings. > > Signed-off-by: Jacopo Mondi > > v1 -> v2: > - HSYNC is used in place of data enable signal only when running

Re: [PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support

2018-05-22 Thread Sergei Shtylyov
On 05/22/2018 02:48 PM, Geert Uytterhoeven wrote: >> Define the generic R8A77980 part of the GEther device node. >> >> Based on the original (and large) patch by Vladimir Barinov. >> >> Signed-off-by: Vladimir Barinov >> Signed-off-by: Sergei Shtylyov

Re: [PATCH] arm64: dts: renesas: r8a77995: Add IPMMU power domains

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 11:04:14PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add power domain information to the R-Car D3 IPMMU device nodes. > As specified by the data sheet, all the IPMMU devices are always on. > > Signed-off-by: Magnus Damm

Re: [PATCH] iommu/ipmmu-vmsa: Document R-Car V3H and E3 IPMMU DT bindings

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 11:41:33PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Update the IPMMU DT binding documentation to include the compat strings > for the IPMMU devices included in the R-Car V3H and E3 SoCs. > > Signed-off-by: Magnus Damm

Re: [PATCH 01/03] arm64: dts: renesas: r8a77965: Add IPMMU devices nodes

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 11:44:53PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Add IPMMU device nodes for the R-Car M3-N SoC aka r8a77965. > > The r8a77965 IPMMU is quite similar to r8a7796 however VP0 > has been added and PV1 has been removed. Also the IMSSTR

Re: [PATCH] PCI: rcar: Poll more often in rcar_pcie_wait_for_dl()

2018-05-22 Thread Marek Vasut
On 05/22/2018 12:33 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Tue, May 22, 2018 at 11:48 AM, Marek Vasut wrote: >> On 05/22/2018 11:42 AM, Geert Uytterhoeven wrote: >>> On Mon, May 21, 2018 at 11:05 PM, Marek Vasut wrote: The data link

Re: [PATCH v4 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 05:50:50PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Monday, 21 May 2018 17:45:41 EEST Jacopo Mondi wrote: > > Describe CVBS video input through analog video decoder ADV7180 > > connected to video input interface VIN4. > > > > The

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

2018-05-22 Thread Simon Horman
On Mon, May 21, 2018 at 04:45:42PM +0200, Jacopo Mondi wrote: > Describe HDMI input connector and ADV7612 HDMI decoder installed on > R-Car Gen3 Draak board. > > The video signal routing to the HDMI decoder to the video input interface > VIN4 is multiplexed with CVBS input path, and

Re: [PATCH 8/9] ARM: dts: alt: Drop MTD partitioning from DT

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled >

Re: [PATCH 9/9] ARM: dts: silk: Drop MTD partitioning from DT

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled >

Re: [PATCH v4 2/3] arm64: dts: renesas: draak: Describe CVBS input

2018-05-22 Thread Simon Horman
On Tue, May 22, 2018 at 03:24:13PM +0200, Simon Horman wrote: > On Mon, May 21, 2018 at 05:50:50PM +0300, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > On Monday, 21 May 2018 17:45:41 EEST Jacopo Mondi wrote: > > > Describe CVBS video input through analog video

Re: [PATCH 2/2] spi: sh-msiof: Document R-Car D3 support

2018-05-22 Thread Geert Uytterhoeven
On Wed, May 16, 2018 at 3:05 PM, Ulrich Hecht wrote: > Document support for the MSIOF module in the Renesas D3 (r8a77995) SoC. > > No driver update is needed. > > Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven

Re: [PATCH v4 2/4] mmc: core: more fine-grained hooks for HS400 tuning

2018-05-22 Thread Ulf Hansson
On 18 April 2018 at 11:56, Simon Horman wrote: > This adds two new HS400 tuning operations: > * prepare_hs400_tuning_downgrade > * complete_hs400_tuning > > These supplement the existing HS400 operation: > * prepare_hs400_tuning > > This is motivated by a requirement

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

2018-05-22 Thread Simon Horman
On Mon, May 14, 2018 at 04:35:43PM +0200, 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

Re: [PATCH 4/9] ARM: dts: koelsch: Drop MTD partitioning from DT

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled >

Re: [PATCH 6/9] ARM: dts: wheat: Drop MTD partitioning from DT

2018-05-22 Thread Geert Uytterhoeven
On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: > Drop the MTD partitioning from DT, since it does not describe HW > and to give way to a more flexible kernel command line partition > passing. > > To retain the original partitioning, assure you have enabled >

Re: [PATCH v4 2/3] dt-bindings: thermal: rcar-thermal: add R8A77995 support

2018-05-22 Thread Rob Herring
On Sun, May 20, 2018 at 06:26:18PM +0900, Yoshihiro Kaneko wrote: > Signed-off-by: Yoshihiro Kaneko > Reviewed-by: Geert Uytterhoeven > --- > Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 7 +-- > 1 file changed, 5

Re: [PATCH v6 3/6] dt-bindings: clock: renesas,rzn1-clocks: document RZ/N1 clock driver

2018-05-22 Thread Rob Herring
On Tue, May 22, 2018 at 11:01:23AM +0100, Michel Pollet wrote: > The Renesas RZ/N1 Family (Part #R9A06G0xx) requires a driver > to provide the SoC clock infrastructure for Linux. > > This documents the driver bindings. > > Signed-off-by: Michel Pollet > --- >

Re: [PATCH v4 1/3] dt-bindings: media: rcar-vin: Add R8A77995 support

2018-05-22 Thread Rob Herring
On Mon, May 21, 2018 at 04:45:40PM +0200, Jacopo Mondi wrote: > Add compatible string for R-Car D3 R8A7795 to list of SoCs supported by > rcar-vin driver. > > Signed-off-by: Jacopo Mondi > Acked-by: Niklas Söderlund >

Re: [PATCH 0/5] R-Car D3 LVDS/HDMI support

2018-05-22 Thread Laurent Pinchart
Hi Ulrich, On Sunday, 20 May 2018 11:27:02 EEST Laurent Pinchart wrote: > On Tuesday, 15 May 2018 15:20:35 EEST Ulrich Hecht wrote: > > Hi! > > > > This adds D3 support to the DU and LVDS drivers, not including LVDS PLL > > support. > > > > It also adds LVDS encoders to the D3 device tree, and

Re: [PATCH v6 2/6] dt-bindings: Add the rzn1-clocks.h file

2018-05-22 Thread Rob Herring
On Tue, May 22, 2018 at 11:01:22AM +0100, Michel Pollet wrote: > This adds the constants necessary to use the renesas,rzn1-clocks driver. > > Signed-off-by: Michel Pollet > --- > include/dt-bindings/clock/rzn1-clocks.h | 187 > > 1

Re: [PATCH] media: rcar-vin: Drop unnecessary register properties from example vin port

2018-05-22 Thread Rob Herring
On Wed, May 09, 2018 at 08:45:58PM +0200, Simon Horman wrote: > The example vin port node does not have an address and thus does not > need address-cells or address size-properties. > > Signed-off-by: Simon Horman > --- >

Re: [PATCH 3/4] PCI: rcar: Add missing irq_dispose_mapping() into failpath

2018-05-22 Thread Marek Vasut
On 05/22/2018 05:18 PM, Geert Uytterhoeven wrote: > Hi Marek, Hi, > On Mon, May 21, 2018 at 3:11 PM, Marek Vasut wrote: >> The rcar_pcie_get_resources() is another misnomer with a side effect. >> The function does not only get resources, but also maps MSI IRQs via >>

Re: [PATCH 4/4] PCI: rcar: Teardown MSI setup if rcar_pcie_enable() fails

2018-05-22 Thread Marek Vasut
On 05/22/2018 08:36 PM, Geert Uytterhoeven wrote: > Hi Marek, > > On Mon, May 21, 2018 at 3:11 PM, Marek Vasut wrote: >> If the rcar_pcie_enable() fails and MSIs are enabled, the setup done in >> rcar_pcie_enable_msi() is never undone. Add a function to tear down the >>

Re: [PATCH] media: dt-bindings: media: rcar_vin: add support for r8a77965

2018-05-22 Thread Rob Herring
On Sun, May 13, 2018 at 08:58:18PM +0200, Niklas Söderlund wrote: > Signed-off-by: Niklas Söderlund > --- > Documentation/devicetree/bindings/media/rcar_vin.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring > > diff

Re: [PATCH 2/2] dmaengine: rcar-dmac: Document R8A77990 bindings

2018-05-22 Thread Rob Herring
On Wed, May 16, 2018 at 03:06:19PM +0200, Ulrich Hecht wrote: > From: Hiroyuki Yokoyama > > Renesas R-Car E3 (R8A77990) SoC also has the R-Car gen2/3 compatible DMA > controllers, so document the SoC specific binding. > > Signed-off-by: Hiroyuki Yokoyama

Re: [PATCH 6/9] ARM: dts: wheat: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
On 05/22/2018 04:43 PM, Geert Uytterhoeven wrote: > On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: >> Drop the MTD partitioning from DT, since it does not describe HW >> and to give way to a more flexible kernel command line partition >> passing. >> >> To retain the

Re: [PATCH 2/9] ARM: dts: lager: Drop MTD partitioning from DT

2018-05-22 Thread Marek Vasut
On 05/22/2018 04:32 PM, Geert Uytterhoeven wrote: > On Tue, May 22, 2018 at 2:02 PM, Marek Vasut wrote: >> Drop the MTD partitioning from DT, since it does not describe HW >> and to give way to a more flexible kernel command line partition >> passing. >> >> To retain the

Re: [PATCH v2 2/2] i2c: mux: demux-pinctrl: add symlinks to the demux device in sysfs

2018-05-22 Thread Wolfram Sang
Hi Peter, > Hmm, now that I have slept on it, I find this a bit odd. For muxes, all > channels and the parent are always present. Here, that is not the case. > And don't get me wrong, I see why that is the case, but that doesn't > mean that I like it. It would be so much nicer and less disruptive

Re: [PATCH 2/4] PCI: rcar: Pull bus clock enable/disable from rcar_pcie_get_resources()

2018-05-22 Thread Geert Uytterhoeven
Hi Marek, On Mon, May 21, 2018 at 3:11 PM, Marek Vasut wrote: > The rcar_pcie_get_resources() is another misnomer with a side effect. > The function does not only get resources, but also enables/disables bus > clock. This is forgotten in the probe() function though and if

Re: [PATCH 3/4] PCI: rcar: Add missing irq_dispose_mapping() into failpath

2018-05-22 Thread Geert Uytterhoeven
Hi Marek, On Mon, May 21, 2018 at 3:11 PM, Marek Vasut wrote: > The rcar_pcie_get_resources() is another misnomer with a side effect. > The function does not only get resources, but also maps MSI IRQs via > irq_of_parse_and_map(). In case anything fails afterward, the IRQ

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

2018-05-22 Thread Rob Herring
On Tue, May 22, 2018 at 09:01:07PM +0900, Yoshihiro Shimoda wrote: > 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.

Re: [PATCH v2 2/2] i2c: mux: demux-pinctrl: add symlinks to the demux device in sysfs

2018-05-22 Thread Peter Rosin
On 2018-05-21 09:29, Wolfram Sang wrote: > Similar to mux devices, create special symlinks to connect the demuxed > bus with the demux device. Hmm, now that I have slept on it, I find this a bit odd. For muxes, all channels and the parent are always present. Here, that is not the case. And don't

Re: [PATCH 5/6] ARM: dts: rcar-gen2: Remove unused VIN properties

2018-05-22 Thread Simon Horman
On Thu, May 17, 2018 at 11:01:10AM +0200, jacopo mondi wrote: > Hi Niklas, > > On Thu, May 17, 2018 at 12:13:07AM +0200, Niklas Söderlund wrote: > > Hi Jacopo, > > > > Thanks for your work. > > > > On 2018-05-16 18:32:31 +0200, Jacopo Mondi wrote: > > > The 'bus-width' and 'pclk-sample'

Re: [PATCH 1/2] media: arch: sh: ecovec: Remove calls to empty arch_setup_pdev_archdata()

2018-05-22 Thread Simon Horman
On Fri, May 18, 2018 at 01:06:50PM +0200, Geert Uytterhoeven wrote: > SuperH doesn't implement arch_setup_pdev_archdata(), and falls back to > the default (empty) implementation. As this code is board-specific, the > calls can just be removed. > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH 2/2] media: arch: sh: migor: Remove calls to empty arch_setup_pdev_archdata()

2018-05-22 Thread Simon Horman
On Fri, May 18, 2018 at 01:06:51PM +0200, Geert Uytterhoeven wrote: > SuperH doesn't implement arch_setup_pdev_archdata(), and falls back to > the default (empty) implementation. As this code is board-specific, the > call can just be removed. > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH 0/5] ARM: shmobile: rcar-gen2: Remove legacy SMP fallback code

2018-05-22 Thread Simon Horman
On Fri, May 18, 2018 at 02:48:49PM +0200, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > R-Car H2 and M2-W have been supporting SMP enablement from DT using the > "renesas,apmu" enable-method since v4.8. A legacy fallback was left in > place for backwards compatibility with old DTBs. >

Re: [PATCH 2/2] arm64: dts: renesas: v3hsk: add GEther support

2018-05-22 Thread Simon Horman
On Fri, May 18, 2018 at 10:46:19PM +0300, Sergei Shtylyov wrote: > Define the V3H Starter Kit board dependent part of the GEther device node. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov >

Re: [PATCH 1/2] arm64: dts: renesas: r8a77980: add GEther support

2018-05-22 Thread Simon Horman
On Fri, May 18, 2018 at 10:45:36PM +0300, Sergei Shtylyov wrote: > Define the generic R8A77980 part of the GEther device node. > > Based on the original (and large) patch by Vladimir Barinov. > > Signed-off-by: Vladimir Barinov > Signed-off-by: Sergei