Re: [PATCH v2 3/3] dt-bindings: Add Renesas R-Car FDP1 bindings

2016-06-30 Thread Rob Herring
On Thu, Jun 30, 2016 at 05:50:30PM +0100, Kieran Bingham wrote: > The FDP1 is a de-interlacing module which converts interlaced video to > progressive video. It is also capable of performing pixel format conversion > between YCbCr/YUV formats and RGB formats. > > Reviewed-by: Laurent Pinchart

Re: [PATCH v2 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-30 Thread Rob Herring
On Thu, Jun 30, 2016 at 05:50:29PM +0100, Kieran Bingham wrote: > The power domain must be specified to bring the device out of module > standby. Document this in the bindings provided, so that new additions > are not missed. > > Signed-off-by: Kieran Bingham > --- >

[PATCH 3/3] ARM: dts: blanche: add Ethernet pins

2016-06-30 Thread Sergei Shtylyov
Add the (previously omitted) pin data for the SMSC LAN89218 Ethernet chip to the Blanche board's device tree: the chip's IRQ output is connected to the SoC's IRQ0 pin and its nCS input is connected to the SoC's EX_CS0# pin. Signed-off-by: Sergei Shtylyov ---

[PATCH 2/3] ARM: dts: blanche: add SCIF0/3 pins

2016-06-30 Thread Sergei Shtylyov
Add the (previously omitted) SCIF0/3 pin data to the Blanche board's device tree. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7792-blanche.dts | 18 ++ 1 file changed, 18 insertions(+) Index:

[PATCH 0/3] Add R8A7792/Blanche PFC support

2016-06-30 Thread Sergei Shtylyov
Hello. Here's the set of 3 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20160630-v4.7-rc5' tag. We're adding the R8A7792 PFC node and the describe the pins for the SCIFs and SMSC LAN89218 Ethernet chip found on the Blanche board). These patches depend on the R8A7792 PFC

[PATCH 1/3] ARM: dts: r8a7792: add PFC support

2016-06-30 Thread Sergei Shtylyov
Define the generic R8A7792 part of the PFC device node. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7792.dtsi |6 ++ 1 file changed, 6 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7792.dtsi

Re: [PATCH 4/4] PM / Runtime: Defer resuming of the device in pm_runtime_force_resume()

2016-06-30 Thread Kevin Hilman
Hi Geert, Geert Uytterhoeven writes: > Hi Ulf, Rafael, > > On Tue, May 17, 2016 at 1:41 PM, Ulf Hansson wrote: >> When the pm_runtime_force_suspend|resume() helpers were invented, we still >> had CONFIG_PM_RUNTIME and CONFIG_PM_SLEEP as separate

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Paul E. McKenney
On Thu, Jun 30, 2016 at 03:31:57PM +0200, Geert Uytterhoeven wrote: > Hi Paul, > > On Thu, Jun 30, 2016 at 3:24 PM, Paul E. McKenney > wrote: > > On Thu, Jun 30, 2016 at 09:58:51AM +0200, Geert Uytterhoeven wrote: > >> On Thu, Jun 30, 2016 at 9:47 AM, Joonsoo Kim

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Geert Uytterhoeven
Hi Paul, On Thu, Jun 30, 2016 at 6:52 PM, Paul E. McKenney wrote: > On Thu, Jun 30, 2016 at 05:53:42PM +0200, Geert Uytterhoeven wrote: >> +void rcu_dump_rcu_sched_tree(void) >> +{ >> + struct rcu_head rh; >> + unsigned long flags; >> + >> +

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Paul E. McKenney
On Thu, Jun 30, 2016 at 05:53:42PM +0200, Geert Uytterhoeven wrote: > On Thu, 30 Jun 2016, Paul E. McKenney wrote: > > On Thu, Jun 30, 2016 at 03:31:57PM +0200, Geert Uytterhoeven wrote: > > > On Thu, Jun 30, 2016 at 3:24 PM, Paul E. McKenney > > > wrote: > > > > On

[PATCH v2 3/3] dt-bindings: Add Renesas R-Car FDP1 bindings

2016-06-30 Thread Kieran Bingham
The FDP1 is a de-interlacing module which converts interlaced video to progressive video. It is also capable of performing pixel format conversion between YCbCr/YUV formats and RGB formats. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham

[PATCH v2 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-30 Thread Kieran Bingham
The power domain must be specified to bring the device out of module standby. Document this in the bindings provided, so that new additions are not missed. Signed-off-by: Kieran Bingham --- Documentation/devicetree/bindings/media/renesas,fcp.txt | 5 + 1 file changed, 5

[PATCHv2 4/4] dmaengine: rcar-dmac: Fix residue reporting for pending descriptors

2016-06-30 Thread Niklas Söderlund
From: Laurent Pinchart Cookies corresponding to pending transfers have a residue value equal to the full size of the corresponding descriptor. The driver miscomputes that and uses the size of the active descriptor instead. Fix it. Reported-by: Geert

[PATCHv2 1/4] dmaengine: rcar-dmac: use result of updated get_residue in tx_status

2016-06-30 Thread Niklas Söderlund
From: Muhammad Hamza Farooq The hardware might have complete the transfer but the interrupt handler might not have had a chance to run. If rcar_dmac_chan_get_residue() which reads HW registers finds that there is no residue return DMA_COMPLETE. Signed-off-by: Muhammad Hamza

[PATCHv2 0/4] Residue patches for rcar-dmac from renesas-drivers

2016-06-30 Thread Niklas Söderlund
Hi all, I have looked over the DMA residue branches in renesas-drivers tree (topic/rcar-dmac-hamza-v3 and topic/rcar-dmac-residue-v1) hoping to bring them to upstream. The original author for the bulk of the patches Hamza Farooq have not shown any activity since autumn 2015. In this cover letter

[PATCHv2 2/4] dmaengine: rcar-dmac: warn if transfer cannot start as TE = 1

2016-06-30 Thread Niklas Söderlund
The documentation states one should make sure both DE and TE are cleared before starting a transaction. This patch extends the current warning to look at both DE and TE. Based on previous work from Muhammad Hamza Farooq. Suggested-by: Muhammad Hamza Farooq Signed-off-by:

[PATCH 5/9] arm64: dts: salvator-x: add Salvator-X board on R8A7796 SoC

2016-06-30 Thread Simon Horman
From: Takeshi Kihara This patch adds initial board support for R8A7796 Salvator-X. Signed-off-by: Takeshi Kihara Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven ---

[PATCH 4/5] soc: renesas: rcar-sysc: Move SYSC interrupt config to rcar-sysc driver

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven On R-Car H1 and Gen2, the SYSC interrupt registers are always configured using hardcoded values in platform code. For R-Car Gen2, values are provided for H2 and M2-W only, other SoCs are not yet supported, and never will be. Move this

[PATCH 14/41] ARM: dts: gose: Name spi pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for QSPI after its device name, instead of after the spi interface alias. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 40/41] ARM: dts: r8a7793: Add APMU node and second CPU core

2016-06-30 Thread Simon Horman
From: Magnus Damm Add DT nodes for the Advanced Power Management Unit (APMU) and the second CPU core. Use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Magnus Damm Signed-off-by: Geert

[PATCH 35/41] ARM: dts: kzm9d: Update console parameters

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Add a "serial1" alias for the serial console (it is labeled "uart1"). Add the serial port config to "chosen/stdout-path", which requires referring to the port by alias. Drop the "console=" parameter from the kernel command line, as it's no longer

[PATCH 4/8] ARM: shmobile: apmu: Move #ifdef CONFIG_SMP to cover more functions

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven shmobile_smp_apmu_prepare_cpus() is used only if CONFIG_SMP=y. Hence move the #ifdef to cover shmobile_smp_apmu_prepare_cpus() and all functions only called by it (apmu_init_cpu() and apmu_parse_cfg()). Signed-off-by: Geert Uytterhoeven

[PATCH 3/5] soc: renesas: rcar-sysc: Make rcar_sysc_init() init the PM domains

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Let rcar_sysc_init() trigger initialization of the SYSC PM domains from DT if called before the early_initcall. On failure, it falls back to mapping the passed register block, as before. Signed-off-by: Geert Uytterhoeven

[PATCH 29/41] ARM: dts: silk: add DU pins

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add the (previously omitted) DU pin data to the SILK board's device tree. Signed-off-by: Sergei Shtylyov Signed-off-by: Simon Horman ---

[PATCH 1/5] soc: renesas: rcar-sysc: add R8A7792 support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add support for R-Car V2H (R8A7792) SoC power areas to the SYSC driver. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[PATCH 33/41] ARM: dts: genmai: Update console parameters

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Change the console alias to "serial0", for consistency with other boards (the first unlabeled serial port is always called "serial0"). This does change the serial console from /dev/ttySC2 to /dev/ttySC0. Add the serial port config to

[PATCH 30/41] ARM: dts: r8a7792: add JPU clocks

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add JPU clock and its parent, M2 clock to the R8A7792 device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[GIT PULL] Second Round of Renesas ARM Based SoC Updates for v4.8

2016-06-30 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC updates for v4.8. This pull request is based on a merge of: * This pull request is based on the previous round of such requests, tagged as renesas-soc-for-v4.8, which you have already pulled. * "Second

[PATCH 34/41] ARM: dts: marzen: Add serial port config to chosen/stdout-path

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Add the serial port config to "chosen/stdout-path", which requires referring to the port by alias. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 11/41] ARM: dts: porter: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIF0 after its device name, instead of after the serial port alias. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 36/41] ARM: dts: kzm9g: Update console parameters

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Change the console alias to "serial0", for consistency with other boards (the first unlabeled serial port is always called "serial0"). This does change the serial console from /dev/ttySC4 to /dev/ttySC0. Add the serial port config to

[PATCH 15/41] ARM: dts: alt: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIF2 after its device name, instead of using some arbitrary name that looks like a serial port alias, but differs from the actual alias. This avoids conflicts when enabling support for more serial

[PATCH 09/41] ARM: dts: koelsch: Name serial port pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for SCIF0 and SCIF1 after their device names, instead of after the serial port aliases. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay.

[PATCH 12/41] ARM: dts: porter: Name spi pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for QSPI after its device name, instead of after the spi interface alias. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 24/41] ARM: dts: r8a7792: add [H]SCIF support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Describe [H]SCIFs in the R8A7792 device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

[PATCH 17/41] ARM: dts: silk: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIF2 after its device name, instead of using some arbitrary name that looks like a serial port alias, but differs from the actual alias. This avoids conflicts when enabling support for more serial

[PATCH 2/8] ARM: shmobile: rcar-gen2: Obtain extal frequency from DT

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven On some R-Car Gen2 SoCs, the frequency of the ARM architecture timer depends on the frequency of the external clock crystal. Currently the latter is determined indirectly from the state of the mode pins, which is a relic predating DT. Obtain

[PATCH 6/8] ARM: shmobile: smp: Add function to prioritize DT SMP

2016-06-30 Thread Simon Horman
From: Magnus Damm Add a function to check if other DT based method is available, and if so return false to not hook up smp_ops from the machine vector. This results in that DT-based SMP support has priority over older C-based smp_ops code, and in case DT-based SMP

[PATCH 19/41] ARM: dts: kzm9g: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIFA4 after its device name, instead of after the serial port alias. This avoids conflicts when adding support for more serial ports later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 27/41] ARM: dts: blanche: initial device tree

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add the initial device tree for the R8A7792 SoC based Blanche board. The board has 2 debug serial ports: SCIF0 and SCIF3; include support for them, so that the serial console can work. Signed-off-by: Sergei Shtylyov

[PATCH 3/8] ARM: shmobile: rcar-gen2: Correct arch timer frequency on R-Car V2H

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven According to the datasheet, the frequency of the ARM architecture timer on R-Car V2H depends on the frequency of the ZS clock, just like on R-Car E2. Signed-off-by: Geert Uytterhoeven Tested-by: Sergei Shtylyov

[PATCH 21/41] ARM: dts: r8a7792: add power domain index macros

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add macros usable by the device tree sources to reference R8A7792 SYSC power domains by index. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by:

[PATCH 22/41] ARM: dts: r8a7792: initial SoC device tree

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov The initial R8A7792 SoC device tree including CPU cores, GIC, timer, SYSC, and the required clock descriptions. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven

[PATCH 41/41] ARM: dts: r8a7792: add SMP support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add the device tree nodes for the Advanced Power Management Unit (APMU) and the second Cortex-A15 CPU core. Use the "enable-method" prop to point out that the APMU should be used for the SMP support. Signed-off-by: Sergei Shtylyov

[PATCH 13/41] ARM: dts: gose: Name serial port pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for SCIF0 and SCIF1 after their device names, instead of after the serial port aliases. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay.

[PATCH 32/41] ARM: dts: armadillo800eva: Update console parameters

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Change the console alias to "serial0", for consistency with other boards (the first unlabeled serial port is always called "serial0"). This does change the serial console from /dev/ttySC1 to /dev/ttySC0. Add the serial port config to

[PATCH 5/8] ARM: shmobile: apmu: Add APMU DT support via Enable method

2016-06-30 Thread Simon Horman
From: Magnus Damm Allow DT configuration of the APMU hardware in the case when the APMU is pointed out in the DTB via the enable-method. The ability to configure the APMU via C code is still kept intact to prevent DTB breakage for older SoCs that do not rely on the

[PATCH 1/8] ARM: shmobile: r8a7792: basic SoC support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add minimal support for the R-Car V2H (R8A7792) SoC. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[PATCH 01/41] ARM: dts: ape6evm: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIFA0 after its device name, instead of after the serial port alias. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 37/41] devicetree: bindings: Renesas APMU and SMP Enable method

2016-06-30 Thread Simon Horman
From: Magnus Damm Add DT binding documentation for the APMU hardware and add "renesas,apmu" to the list of enable methods for the ARM cpus. Signed-off-by: Magnus Damm Signed-off-by: Geert Uytterhoeven Acked-by:

[PATCH 31/41] ARM: dts: r8a7792: add JPU support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Describe JPEG Processing Unit (JPU) in the R8A7792 device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[PATCH 2/5] soc: renesas: rcar-sysc: Fix uninitialized error code in rcar_sysc_pd_init()

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven On success, rcar_sysc_pd_init() returns an uninitialized error code. Use the return value of of_genpd_add_provider_onecell() to fix this. This went unnoticed, as early_initcall() doesn't care about the return value. Signed-off-by: Geert

[PATCH 04/41] ARM: dts: bockw: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIF0 after its device name, instead of after the serial port alias. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 39/41] ARM: dts: r8a7791: Add APMU node

2016-06-30 Thread Simon Horman
From: Magnus Damm Add a DT node for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Magnus Damm Signed-off-by: Geert Uytterhoeven

[PATCH 26/41] ARM: dts: blanche: document Blanche board

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Document the Blanche device tree bindings, listing it as a supported board. This allows to use checkpatch.pl to validate .dts files referring to the Blanche board. Signed-off-by: Sergei Shtylyov

[PATCH 16/41] ARM: dts: alt: Name spi pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for QSPI after its device name, instead of after the spi interface alias. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 5/5] soc: renesas: rcar-sysc: Improve SYSC interrupt config in legacy wrapper

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Align SYSC interrupt configuration in the legacy wrapper with the DT version: - Mask SYSC interrupt sources before enabling them (doesn't matter much as they're disabled at the GIC level anyway), - Make sure not to clear reserved SYSCIMR

[PATCH 38/41] ARM: dts: r8a7790: Add APMU nodes

2016-06-30 Thread Simon Horman
From: Magnus Damm Add DT nodes for the Advanced Power Management Units (APMU), and use the enable-method to point out that the APMU should be used for SMP support. Signed-off-by: Magnus Damm Signed-off-by: Geert Uytterhoeven

[PATCH 18/41] ARM: dts: silk: Name spi pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for QSPI after its device name, instead of after the spi interface alias. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 8/8] ARM: shmobile: r8a7791: Prioritize DT APMU support

2016-06-30 Thread Simon Horman
From: Magnus Damm Adjust the r8a7791 SoC support code to not configure any non-DT SMP code in case the DT-based enable-method has been installed already. Signed-off-by: Magnus Damm Signed-off-by: Geert Uytterhoeven

[PATCH 28/41] ARM: dts: blanche: add Ethernet support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet chip was used instead on the Blanche board; this chip is compatible with SMSC LAN9115 for which there's a (device tree aware) driver. Describe the chip in the

[PATCH 20/41] ARM: dts: r8a7792: add clock index macros

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Add macros usable by the device tree sources to reference the R8A7792 clocks by index. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon

[PATCH 25/41] ARM: dts: r8a7792: add IRQC support

2016-06-30 Thread Simon Horman
From: Sergei Shtylyov Describe the IRQC interrupt controller in the R8A7792 device tree. Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[GIT PULL] Second Round of Renesas ARM Based SoC R-Car SYSC Updates for v4.8

2016-06-30 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC R-Car SYSC updates for v4.8. This pull request is based on the previous round of such requests, tagged as renesas-rcar-sysc-for-v4.8, which you have already pulled. The following changes since commit

[GIT PULL] Renesas ARM Based SoC Defconfig Updates for v4.8

2016-06-30 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC defconfig updates for v4.8. The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at:

[PATCH 02/41] ARM: dts: ape6evm: Name mmc pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for MMC0 after its device name, instead of using the generic and indexless "mmc". This avoids conflicts when enabling support for more MMC interfaces later, either here or in a DT overlay. Signed-off-by:

[PATCH 06/41] ARM: dts: lager: Name serial port pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for SCIF0 and SCIFA1 after their device names, instead of after the serial port aliases. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay.

[PATCH 08/41] ARM: dts: lager: Name vin pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for VIN1 after its device name, instead of using the generic and indexless "vin". This avoids conflicts when enabling support for more video inputs later, either here or in a DT overlay. Signed-off-by:

[PATCH 07/41] ARM: dts: lager: Name spi pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for QSPI and MSIOF1 after their device names, instead of after the spi interface aliases. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay.

[PATCH 10/41] ARM: dts: koelsch: Name spi pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for QSPI and MSIOF0 after their device names, instead of after the spi interface aliases. This avoids conflicts when enabling support for more spi interfaces later, either here or in a DT overlay.

[PATCH 05/41] ARM: dts: marzen: Name serial port pfc subnodes after device names

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnodes for SCIF2 and SCIF4 after their device names, instead of using some arbitrary names that look like serial port aliases, but differ from the actual aliases. This avoids conflicts when enabling support for

[PATCH 03/41] ARM: dts: armadillo800eva: Name serial port pfc subnode after device name

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Name the Pin Function Controller subnode for SCIFA1 after its device name, instead of after the serial port alias. This avoids conflicts when enabling support for more serial ports later, either here or in a DT overlay. Signed-off-by: Geert

[PATCH 2/2] ARM: multi_v7_defconfig: defconfig: Enable r8a7792 SoC

2016-06-30 Thread Simon Horman
Enable support for r8a7792 SoC in multi_v7_defconfig. Signed-off-by: Simon Horman --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index

[GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.8

2016-06-30 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC DT updates for v4.8. This pull request is based on the previous round of such requests, tagged as renesas-dt-for-v4.8, which you have already pulled. The following changes since commit

[PATCH 7/9] arm64: dts: r8a7796: Use SYSC "always-on" PM Domain

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Hook up all devices that are part of the CPG/MSSR Clock Domain to the SYSC "always-on" PM Domain, for a more consistent device-power-area description in DT. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[PATCH 3/9] clk: renesas: Add r8a7796 CPG Core Clock Definitions

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Add all R-Car M3-W Clock Pulse Generator Core Clock Outputs, as listed in Table 8.2b ("List of Clocks [R-Car M3-W]") of the R-Car Gen3 datasheet (rev. 0.51 + Errata for Rev051 Mar 31 2016). Note that internal CPG clocks (S0, S1, S2, S3, SDSRC,

[PATCH 8/9] arm64: dts: r8a7796: Add RWDT node

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3-W (r8a7796) SoC. Signed-off-by: Geert Uytterhoeven Acked-by: Wolfram Sang Signed-off-by: Simon Horman

[PATCH 9/9] arm64: dts: r8a7796/salvator-x: Enable watchdog timer

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Enable the Watchdog Timer (WDT) controller on the Renesas Salvator-X board equipped with an R-Car M3-W (r8a7796) SoC. Signed-off-by: Geert Uytterhoeven Acked-by: Wolfram Sang

[PATCH 6/9] arm64: dts: r8a7796: Add SYSC PM Domains

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the System Controller. Hook up the Cortex-A57 CPU core and L2 cache/SCU to their respective PM Domains. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman

[PATCH 1/9] arm64: dts: r8a7795: Add missing blank lines between cpu nodes

2016-06-30 Thread Simon Horman
From: Geert Uytterhoeven For consistency with a57_0/a57_1 cpu nodes, and all other nodes. Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 2 ++ 1 file

[GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.8

2016-06-30 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM64 based SoC DT updates for v4.8. The support for the new r8a7796 SoC depends on clk definitions which I have taken the liberty of including in this branch to avoid depending on another branch. The definitions in

Re: [TEST] Lager SD-via-MSIOF test setup

2016-06-30 Thread Geert Uytterhoeven
Hi Ulrich, On Thu, Jun 30, 2016 at 3:15 PM, Ulrich Hecht wrote: > This is a setup I have cooked up to check if talking to SD cards via MSIOF1 > and SPI works. It works by taking the SD2 lines off the bus by defining > them as GPIO inputs and jumpering the MSIOF

[PATCH v2] v4l: platform: Add Renesas R-Car FDP1 Driver

2016-06-30 Thread Kieran Bingham
Version 2 of the FDP1 driver introduces support for deinterlacing on top of the previous patch which only supported pixel format conversion. The FDP1, (Fine Display Processor) is a de-interlacer device, with capability to convert from various YCbCr/YUV formats to both YCbCr/YUV and RGB formats at

[PATCH] v4l: platform: Add Renesas R-Car FDP1 Driver

2016-06-30 Thread Kieran Bingham
The FDP1 driver performs advanced de-interlacing on a memory 2 memory based video stream, and supports conversion from YCbCr/YUV to RGB pixel formats Signed-off-by: Kieran Bingham --- MAINTAINERS|9 + drivers/media/platform/Kconfig | 13 +

[PATCH 2/2] arm64: dts: r8a7795: add FDP1 device nodes

2016-06-30 Thread Kieran Bingham
Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham -- changes for v2 - channel labels dropped arch/arm64/boot/dts/renesas/r8a7795.dtsi | 27 +++ 1

[PATCH 1/2] arm64: dts: r8a7795: add FCPF device nodes

2016-06-30 Thread Kieran Bingham
Provide nodes for the FCP devices dedicated to the FDP device channels. Reviewed-by: Geert Uytterhoeven Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 21 + 1 file changed, 21 insertions(+) diff

[PATCH v2 0/2] arm64: dts: r8a7795: FCPF and FDP1 device nodes

2016-06-30 Thread Kieran Bingham
Hi Simon, Here is my updated series for the dts updates in relation to the RCar/FDP1. The fcpf patch has collected a reviewed-by from Geert, whilst the fdp1 patch has collected a reviewed by from both Laurent and Geert, with a small change to remove the labels, as they will not be referenced.

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Geert Uytterhoeven
Hi Paul, On Thu, Jun 30, 2016 at 3:24 PM, Paul E. McKenney wrote: > On Thu, Jun 30, 2016 at 09:58:51AM +0200, Geert Uytterhoeven wrote: >> On Thu, Jun 30, 2016 at 9:47 AM, Joonsoo Kim wrote: >> > On Wed, Jun 29, 2016 at 11:12:08AM -0700, Paul

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Paul E. McKenney
On Thu, Jun 30, 2016 at 09:58:51AM +0200, Geert Uytterhoeven wrote: > Hi Joonsoo, > > On Thu, Jun 30, 2016 at 9:47 AM, Joonsoo Kim wrote: > > On Wed, Jun 29, 2016 at 11:12:08AM -0700, Paul E. McKenney wrote: > >> On Wed, Jun 29, 2016 at 07:52:06PM +0200, Geert

Loopback video test

2016-06-30 Thread Ulrich Hecht
Hi! At https://github.com/uli/looptest you can find a script to verify video output using a V4L input device. It creates a test pattern in various resolutions using modetest, captures it on a given video input device, and then does a fuzzy compare to verify that the captured frame sorta kinda

Re: [PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP

2016-06-30 Thread Geert Uytterhoeven
Hi Arnd, On Thu, Jun 30, 2016 at 2:25 PM, Arnd Bergmann wrote: > For rcar-gen2, we build the SMP files even for UP configurations, > and that just broke: > > arch/arm/mach-shmobile/built-in.o: In function > `shmobile_smp_init_fallback_ops': > pm-rcar-gen2.c:(.init.text+0x40c):

Re: [PATCH] backlight: Avoid double fbcon backlight handling

2016-06-30 Thread Imre Deak
On to, 2016-06-30 at 12:30 +0100, Chris Wilson wrote: > Backlights controlled by i915.ko and only associated with its > connectors > and also only associated with the intel_drmfb fbcon, controlled by > i915.ko. In this situation, we already handle adjusting the backlight > when the fbcon is

Re: [PATCH] ARM: dts: r8a7792: add SMP support

2016-06-30 Thread Simon Horman
On Wed, Jun 29, 2016 at 07:46:33PM +0300, Sergei Shtylyov wrote: > Hello. > > On 06/21/2016 01:31 AM, Sergei Shtylyov wrote: > > >Add the device tree nodes for the Advanced Power Management Unit (APMU) > >and the second Cortex-A15 CPU core. > >Use the "enable-method" prop to point out that the

[PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP

2016-06-30 Thread Arnd Bergmann
For rcar-gen2, we build the SMP files even for UP configurations, and that just broke: arch/arm/mach-shmobile/built-in.o: In function `shmobile_smp_init_fallback_ops': pm-rcar-gen2.c:(.init.text+0x40c): undefined reference to `platform_can_secondary_boot' This adds an compile-time check before

Re: [PATCH/RFC v2 5/5] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC

2016-06-30 Thread Arnd Bergmann
On Thursday, June 30, 2016 12:05:40 AM CEST Simon Horman wrote: > @@ -120,6 +127,26 @@ static int sdhi_sysc_dmac_init_dma(void) > } > #endif > > +#if IS_ENABLED(CONFIG_MMC_SDHI_INTERNAL_DMA) > +int sdhi_internal_dmac_init_dma(void); > +#else > +static int sdhi_internal_dmac_init_dma(void) > +{

Re: [PATCH] backlight: Avoid double fbcon backlight handling

2016-06-30 Thread Jani Nikula
On Thu, 30 Jun 2016, Chris Wilson wrote: > Backlights controlled by i915.ko and only associated with its connectors > and also only associated with the intel_drmfb fbcon, controlled by > i915.ko. In this situation, we already handle adjusting the backlight > when the

[PATCH] backlight: Avoid double fbcon backlight handling

2016-06-30 Thread Chris Wilson
Backlights controlled by i915.ko and only associated with its connectors and also only associated with the intel_drmfb fbcon, controlled by i915.ko. In this situation, we already handle adjusting the backlight when the fbcon is blanked/unblanked and do not require backlight trying to do the same.

[GIT PULL FOR renesas-drivers] FDP1 Fine Display Processor support

2016-06-30 Thread Kieran Bingham
Hi Geert, The following changes since commit f50e3d0720c0f27476153c2c7129b18639228d1b: Merge branch 'drm/next/dt' into for/renesas-drivers (2016-06-21 18:01:05 +0300) are available in the git repository at: https://github.com/kbingham/linux.git renesas/fdp1 for you to fetch changes up to

RE: [PATCH 3/3] usb: renesas_usbhs: Use devm_usb_get_phy_by_phandle()

2016-06-30 Thread Yoshihiro Shimoda
Hi, > From: Rob Herring > Sent: Wednesday, June 29, 2016 5:57 AM > > On Mon, Jun 27, 2016 at 09:09:19PM +0900, Yoshihiro Shimoda wrote: > > This patch uses devm_usb_get_phy_by_phandle() instead of usb_get_phy() > > for device tree environment. This change is not compabile with the > > previous

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-30 Thread Geert Uytterhoeven
Hi Joonsoo, On Thu, Jun 30, 2016 at 9:47 AM, Joonsoo Kim wrote: > On Wed, Jun 29, 2016 at 11:12:08AM -0700, Paul E. McKenney wrote: >> On Wed, Jun 29, 2016 at 07:52:06PM +0200, Geert Uytterhoeven wrote: >> > On Wed, Jun 29, 2016 at 6:44 PM, Paul E. McKenney >> >

  1   2   >