[GIT PULL] Renesas ARM Based SoC DT PM Domain Updates for v4.7

2016-04-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC DT pm-domain updates for v4.7. This pull requests is based on a merge of: * "[GIT PULL] Second Round of Renesas ARM Based SoC R-Car SYSC Updates for v4.7", tagged as renesas-rcar-sysc2-for-v4.7, which you have already

[GIT PULL] Renesas ARM64 Based SoC DT PM Domain Updates for v4.7

2016-04-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM64 based SoC DT PM Domain updates for v4.7. This pull requests is based on a merge of: * "[GIT PULL] Second Round of Renesas ARM Based SoC R-Car SYSC Updates for v4.7", tagged as renesas-rcar-sysc2-for-v4.7, which you have already

[PATCH 07/10] ARM: dts: r8a7790: Use SYSC "always-on" PM Domain

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

[PATCH 2/2] arm64: dts: r8a7795: Use SYSC "always-on" PM Domain

2016-04-26 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 Acked-by: Laurent Pinchart

[PATCH 09/10] ARM: dts: r8a7793: Use SYSC "always-on" PM Domain

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

[PATCH 06/10] ARM: dts: r8a7779: Use SYSC "always-on" PM Domain

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

[PATCH 08/10] ARM: dts: r8a7791: Use SYSC "always-on" PM Domain

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

[PATCH 10/10] ARM: dts: r8a7794: Use SYSC "always-on" PM Domain

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

[PATCH 1/2] arm64: dts: r8a7795: Add SYSC PM Domains

2016-04-26 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the System Controller. Hook up the Cortex-A57 CPU cores and the Cortex-A57 and Cortex A53 L2 caches/SCUs to their respective PM Domains. Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart

[PATCH 01/10] ARM: dts: r8a7779: Add SYSC PM Domains

2016-04-26 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the System Controller. Hook up ARM CPU cores 1-3 to their respective PM Domains. Note that ARM CPU core 0 cannot be shut off. Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart

[PATCH 03/10] ARM: dts: r8a7791: Add SYSC PM Domains

2016-04-26 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the System Controller. Hook up the Cortex-A15 CPU cores and the Cortex-A15 L2 cache/SCU to their respective PM Domains. Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart

[PATCH 04/10] ARM: dts: r8a7793: Add SYSC PM Domains

2016-04-26 Thread Simon Horman
From: Geert Uytterhoeven Add a device node for the System Controller. Hook up the first Cortex-A15 CPU core and the Cortex-A15 L2 cache/SCU to their respective PM Domains. Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart

[PATCH] arm64: defconfig: Add Renesas R-Car USB 3.0 driver support

2016-04-26 Thread Simon Horman
From: Yoshihiro Shimoda Signed-off-by: Yoshihiro Shimoda Signed-off-by: Simon Horman --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[GIT PULL] Renesas ARM64 Based SoC Defconfig Updates for v4.7

2016-04-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM64 based SoC defconfig updates for v4.7. The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) are available in the git repository at:

[PATCH 1/4] arm64: dts: r8a7795: Add PCIe nodes

2016-04-26 Thread Simon Horman
From: Phil Edworthy Signed-off-by: Phil Edworthy Acked-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 57

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

2016-04-26 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM64 based SoC DT updates for v4.7. This pull request is based on the previous round of such requests, tagged as renesas-arm64-dt-for-v4.7, which I have already sent a pull-request for. The following changes since

[PATCH 3/4] arm64: dts: salvator-x: populate EXTALR

2016-04-26 Thread Simon Horman
From: Wolfram Sang It can be used for the watchdog. Signed-off-by: Wolfram Sang Acked-by: Geert Uytterhoeven Signed-off-by: Simon Horman ---

Re: [ANNOUNCE] Renesas tree closed for v4.7

2016-04-26 Thread Simon Horman
On Wed, Apr 27, 2016 at 10:52:22AM +1000, Simon Horman wrote: > Hi, > > I would like to stop accepting non-bug-fix patches for v4.6 and get > the last pull requests posted by the end of this week. This is in order > for them to be sent before the release of v4.5-rc6, the deadline set by the The

[ANNOUNCE] Renesas tree closed for v4.7

2016-04-26 Thread Simon Horman
Hi, I would like to stop accepting non-bug-fix patches for v4.6 and get the last pull requests posted by the end of this week. This is in order for them to be sent before the release of v4.5-rc6, the deadline set by the ARM SoC maintainers. As patches should ideally progress from the renesas

[PATCH] mmc: mmcif: remove obsolete support for sh7372

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang There is no support for this platform in the kernel anymore. Make the Kconfig text more generic, so it won't get stale anymore. Reported-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang

[PATCH] mmc: sdhi: remove obsolete support for sh7372

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang There is no support for this platform in the kernel anymore. Reported-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang --- drivers/mmc/host/sh_mobile_sdhi.c | 1 - 1 file

Re: [PATCH 0/2] sh_eth: couple of software reset bit cleanups

2016-04-26 Thread David Miller
From: Sergei Shtylyov Date: Sun, 24 Apr 2016 23:42:48 +0300 >Here's a set of 2 patches against DaveM's 'net-next.git' repo. We clean up > the use of the software reset bits... > > [1/2] sh_eth: use EDMR_SRST_GETHER in sh_eth_check_reset() > [2/2] sh_eth:

Re: [PATCH] sh_eth: get rid of the 2nd parameter to sh_eth_dev_init()

2016-04-26 Thread David Miller
From: Sergei Shtylyov Date: Sun, 24 Apr 2016 19:11:07 +0300 > sh_eth_dev_init() is now always called with 'true' as the 2nd argument, > so that there's no more sense in having 2 parameters to this function... > > Signed-off-by: Sergei Shtylyov

Re: [PATCH V2 1/6] mmc: sh_mobile_sdhi: don't use array for DT configs

2016-04-26 Thread Geert Uytterhoeven
Hi Wolfram, On Tue, Apr 26, 2016 at 5:55 PM, Wolfram Sang wrote: > --- a/drivers/mmc/host/sh_mobile_sdhi.c > +++ b/drivers/mmc/host/sh_mobile_sdhi.c > @@ -81,9 +79,9 @@ static const struct sh_mobile_sdhi_of_data > of_rcar_gen3_compatible = { > static const struct

[PATCH v2 5/5] mmc: tmio: document CTL_STATUS handling

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang Now that reading CTL_STATUS is consistent, we can remove CTL_STATUS2 and document how this is handled internally. Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman ---

[PATCH v2 1/5] mmc: tmio: give read32/write32 functions more descriptive names

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang Looking at the backlogs, I am not the only one who missed that the above functions do not read u32 from one register, but create a virtual u32 from reading to adjacent u16 registers (which depending on 'bus_shift' can be up to 8 byte apart).

Re: [PATCH V2 0/6] mmc: tmio/sdhi: clean up cruft

2016-04-26 Thread Ulf Hansson
On 26 April 2016 at 17:55, Wolfram Sang wrote: > Largely due to DT unification, some parts of the code became obsolete. Let's > remove that, the code is complex enough still: > > * There are no boards anymore with named interrupt support. Drop support for > that (patches

[PATCH V2 2/6] mmc: sh_mobile_sdhi: remove obsolete irq_by_name registration

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang There is no user left in the kernel, so this code can be removed. (Legacy, non-DT sh_mobile boards have been removed a while ago.) The diff looks more complicated than it is: The if-block for multiplexed isr is now the main code path, the rest

[PATCH V2 6/6] mmc: sh_mobile_sdhi: simplify code for voltage switching

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang A last minute fix applied by Ulf made room for some simplification. Signed-off-by: Wolfram Sang --- drivers/mmc/host/sh_mobile_sdhi.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH V2 3/6] mmc: tmio: remove now unneeded seperate irq handlers

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang We removed installation of seperate handlers previously, so we can also remove the seperate handlers. Signed-off-by: Wolfram Sang --- drivers/mmc/host/tmio_mmc.h | 3 ---

[PATCH V2 5/6] mmc: tmio: merge distributed include files

2016-04-26 Thread Wolfram Sang
From: Wolfram Sang There is no reason to have a public and private header file. Merge them into a private one, so looking up symbols is less confusing. Signed-off-by: Wolfram Sang --- drivers/mmc/host/tmio_mmc.h | 56

[PATCH V2 0/6] mmc: tmio/sdhi: clean up cruft

2016-04-26 Thread Wolfram Sang
Largely due to DT unification, some parts of the code became obsolete. Let's remove that, the code is complex enough still: * There are no boards anymore with named interrupt support. Drop support for that (patches 2-4) * No need anymore for a public mmc/tmio.h header file. Merge it into the

[PATCHv6] [media] rcar-vin: add Renesas R-Car VIN driver

2016-04-26 Thread Niklas Söderlund
A V4L2 driver for Renesas R-Car VIN driver that do not depend on soc_camera. The driver is heavily based on its predecessor and aims to replace it. Signed-off-by: Niklas Söderlund --- The patched is based on and depends on patches from the media_tree

Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

2016-04-26 Thread Niklas Söderlund
Hi Christoph, On 2016-04-25 12:10:04 -0700, Christoph Hellwig wrote: > On Mon, Apr 25, 2016 at 04:26:19PM +0200, Niklas S?derlund wrote: > > I have followed the call path from the usage in > > drivers/dma/sh/rcar-dmac.c and made sure the dma_addr_t is not used in a > > bad way. > > The

Re: [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.7

2016-04-26 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Apr 26, 2016 at 12:41 PM, Arnd Bergmann wrote: > On Tuesday 26 April 2016 10:32:39 Geert Uytterhoeven wrote: >> On Tue, Apr 26, 2016 at 10:12 AM, Arnd Bergmann wrote: >> > On Tuesday 26 April 2016 09:30:45 Geert Uytterhoeven wrote: >> >> Commit

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

2016-04-26 Thread Arnd Bergmann
On Tuesday 26 April 2016 11:28:38 Simon Horman wrote: > This pull request is based on a merge of: > > * Thee previous round of such requests, tagged as renesas-rcar-sysc-for-v4.7, > which you have previously pulled. > * The clk-renesas-for-v4.7-tag2 tag of Geert Uytterhoeven's renesas-drivers >

Re: [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.7

2016-04-26 Thread Arnd Bergmann
On Tuesday 26 April 2016 10:32:39 Geert Uytterhoeven wrote: > Hi Arnd, > > On Tue, Apr 26, 2016 at 10:12 AM, Arnd Bergmann wrote: > > On Tuesday 26 April 2016 09:30:45 Geert Uytterhoeven wrote: > >> Commit 93fafa81cad3da9c ("Merge branches 'next/dt' and 'next/dt64' into > >>

[PATCH] pinctrl: sh-pfc: Kill unused variable in sh_pfc_remove()

2016-04-26 Thread Geert Uytterhoeven
If CONFIG_PINCTRL_SH_PFC_GPIO=n: drivers/pinctrl/sh-pfc/core.c: In function 'sh_pfc_remove': drivers/pinctrl/sh-pfc/core.c:649:17: warning: unused variable 'pfc' [-Wunused-variable] Fixes: 67ec8d7b48463904 ("pinctrl: ish-pfc: Use devm_pinctrl_register() for pinctrl registration")

Re: [PATCH 1/2] clk: shmobile: r8a7795: Add CSI2 clocks

2016-04-26 Thread Geert Uytterhoeven
On Mon, Apr 25, 2016 at 1:39 PM, Niklas Söderlund wrote: > Signed-off-by: Niklas Söderlund > --- > drivers/clk/renesas/r8a7795-cpg-mssr.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

renesas-drivers-2016-04-26-v4.6-rc5

2016-04-26 Thread Geert Uytterhoeven
and (b) branches with driver code submitted or planned for submission to maintainers into the development branch of Simon Horman's renesas.git tree. Today's version is based on renesas-devel-20160426-v4.6-rc5. Included branches with driver code: - sh-pfc-for-v4.7 - clk-renesas-for-v4.7 - topic

Re: [PATCH v2 2/9] mmc: tmio, sh_mobile_sdhi: Add support for variable input clock frequency

2016-04-26 Thread Geert Uytterhoeven
Hi Wolfram, On Fri, Apr 15, 2016 at 10:41 PM, Wolfram Sang wrote: >> > That seems like a bug in the clock driver. If it doesn't have >> > independent dividers for each clock client then it shouldn't allow any >> > client to change the frequency. > > So, we need MSTP clocks

RE: [PATCH] usb: host: xhci-rcar: Avoid long wait in xhci_reset()

2016-04-26 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven > Sent: Monday, April 25, 2016 11:57 PM > > Hi Shimoda-san, > > On Thu, Apr 21, 2016 at 2:57 PM, Geert Uytterhoeven > wrote: > > On Thu, Apr 21, 2016 at 12:27 PM, Yoshihiro Shimoda > > wrote: >

Re: [Bug]:LAGER: GPIO-KEYS: Warning occurs after unbinding the e6051000.gpio

2016-04-26 Thread Linus Walleij
On Mon, Apr 25, 2016 at 11:32 AM, Cao Minh Hiep wrote: > Hello Linus Walleij-san > > We have tested Linux upstream v4.6-rc2 on Renesas's Lager board. > When we tried to unbind the e6051000.gpio, the following warning messages > occurs: > >

Re: [PATCH 0/4] clk: renesas: Clock Domain fixes

2016-04-26 Thread Laurent Pinchart
Hi Geert, Thank you for the patches. For the whole series, Reviewed-by: Laurent Pinchart On Tuesday 26 Apr 2016 09:09:38 Geert Uytterhoeven wrote: > Hi Mike, Stephen, > > This patch series contains fixes for the Renesas CPG/MSTP and CPG/MSSR > Clock

Re: [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.7

2016-04-26 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Apr 25, 2016 at 11:02 PM, Arnd Bergmann wrote: > On Monday 25 April 2016 14:27:31 Simon Horman wrote: >> Renesas ARM Based SoC DT Updates for v4.7 >> >> * Configure NMI key as wakeup source in DT of kzm9g board >> * Add SDHI support to DT of gose board >> * Add

[PATCH 2/4] clk: renesas: mstp: Use always-on governor for Clock Domain

2016-04-26 Thread Geert Uytterhoeven
As a pure Clock Domain does not have the concept of powering the domain itself, the CPG/MSTP driver does not provide power_off() and power_on() callbacks. However, the genpd core may still perform a dummy power down, causing /sys/kernel/debug/pm_genpd/pm_genpd_summary to report the domain's status

[PATCH 3/4] clk: renesas: cpg-mssr: Postpone call to pm_genpd_init()

2016-04-26 Thread Geert Uytterhoeven
All local setup of the generic_pm_domain structure should have been completed before calling pm_genpd_init(). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/renesas-cpg-mssr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/4] clk: renesas: mstp: Postpone call to pm_genpd_init()

2016-04-26 Thread Geert Uytterhoeven
All local setup of the generic_pm_domain structure should have been completed before calling pm_genpd_init(). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/clk-mstp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 0/4] clk: renesas: Clock Domain fixes

2016-04-26 Thread Geert Uytterhoeven
Hi Mike, Stephen, This patch series contains fixes for the Renesas CPG/MSTP and CPG/MSSR Clock Domains: 1. Postpone calls to pm_genpd_init(), as all local setup of the generic_pm_domain structure should have been completed before calling pm_genpd_init(), 2. Use always-on

Re: [PATCH 1/2] clk: shmobile: r8a7795: Add CSI2 clocks

2016-04-26 Thread Geert Uytterhoeven
On Mon, Apr 25, 2016 at 1:39 PM, Niklas Söderlund wrote: > Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert

Re: [PATCH 2/2] clk: shmobile: r8a7795: Add VIN clocks

2016-04-26 Thread Geert Uytterhoeven
On Mon, Apr 25, 2016 at 1:39 PM, Niklas Söderlund wrote: > Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert