Re: [PATCH 1/2] cpufreq: rcar: Add support for R8A7795 SoC

2016-05-10 Thread Geert Uytterhoeven
shmobile", but arm64, perhaps we should use this new "opp-v2" binding instead? Has it been finalized? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical peop

Re: [PATCH v4] ARM: dts: r8a7793: Add MMCIF0

2016-05-03 Thread Geert Uytterhoeven
a7793.dtsi > @@ -543,6 +543,19 @@ > status = "disabled"; > }; > > + mmcif0: mmcif@ee20 { As the regular ePAPR police is on holidays, I'm assuming its duties: mmc@ee20 With that fixed: Acked-by: Geert Uytterhoeven <geert+rene...@glider.be>

Re: [PATCH] pinctrl: sh-pfc: Let gpio_chip.to_irq() return -ENXIO on error

2016-05-02 Thread Geert Uytterhoeven
Hi Linus, On Mon, May 2, 2016 at 11:25 AM, Linus Walleij <linus.wall...@linaro.org> wrote: > On Mon, May 2, 2016 at 11:10 AM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Mon, May 2, 2016 at 11:06 AM, Linus Walleij <linus.wall...@linaro.org> >> wro

renesas-drivers-2016-05-10-v4.6-rc7

2016-05-10 Thread Geert Uytterhoeven
://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git#next - git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git#next Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux

Re: [PATCH v5 03/11] soc: renesas: rcar-sysc: Add DT support for SYSC PM domains

2016-04-18 Thread Geert Uytterhoeven
init() overwrote something. Unfortunately I can't find the commit that changed that... > I would recommend doing this in the reverse order. > >> + genpd->dev_ops.active_wakeup = rcar_sysc_active_wakeup; >> + genpd->power_off = rcar_sysc_pd_power_off; >> +

Re: [PATCH v5 03/11] soc: renesas: rcar-sysc: Add DT support for SYSC PM domains

2016-04-20 Thread Geert Uytterhoeven
Hi Ulf, On Mon, Apr 18, 2016 at 4:02 PM, Ulf Hansson <ulf.hans...@linaro.org> wrote: > On 18 April 2016 at 15:39, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: >> On Mon, Apr 18, 2016 at 2:59 PM, Geert Uytterhoeven >> <ge...@linux-m68k.org> wrote: >>

[PATCH v6 11/11] soc: renesas: rcar-sysc: Add support for R-Car H3 power areas

2016-04-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - Add Reviewed-by, - Re-add "always-on" power area, v4: - Remove "always-on" power area, as it's now im

[PATCH v6 04/11] soc: renesas: rcar-sysc: Make rcar_sysc_power_is_off() static

2016-04-20 Thread Geert Uytterhoeven
As of commit b12ff41658171f53 ("ARM: shmobile: r8a7779: Remove legacy PM Domain remainings"), rcar_sysc_power_is_off() is no longer used from SoC-specific code. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideas

[PATCH v6 10/11] soc: renesas: rcar-sysc: Add support for R-Car E2 power areas

2016-04-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - Add Reviewed-by, - Add "always-on" power area, v4: - Rename R8A7794_PD_SH to R8A7794_PD_SH_4A, "sh"

[PATCH v6 05/11] soc: renesas: rcar-sysc: Enable Clock Domain for I/O devices

2016-04-20 Thread Geert Uytterhoeven
ain attach/detach callbacks to enable power management using module clocks. Which callback to hook up depends on the presence of device nodes compatible with "renesas,cpg-mstp-clocks". This clears the path for a future migration from the CPG/MSTP to the CPG/MSSR driver on R-Car H1 and Gen2.

[PATCH v6 09/11] soc: renesas: rcar-sysc: Add support for R-Car M2-N power areas

2016-04-20 Thread Geert Uytterhoeven
R-Car M2-N is identical to R-Car M2-W w.r.t. power domains, so reuse the definitions from the latter. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - Add Reviewed-by,

[PATCH v6 08/11] soc: renesas: rcar-sysc: Add support for R-Car M2-W power areas

2016-04-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - Add Reviewed-by, - Add "always-on" power area, v4: - Rename R8A7791_PD_SH to R8A7791_PD_SH_4A, "sh"

[PATCH v6 02/11] soc: renesas: rcar-sysc: Improve rcar_sysc_power() debug info

2016-04-20 Thread Geert Uytterhoeven
Print requested power domain state. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - No changes, v4: - No changes, v3: - Add Reviewed-by, v2: - New. --- drivers/soc/

[PATCH v6 00/11] soc: renesas: Add R-Car SYSC PM Domain Support

2016-04-20 Thread Geert Uytterhoeven
anch of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git. Integration with renesas-drivers-2016-04-12-v4.6-rc3 is available in the topic/gen3-latest branch. This has been tested on r8a7779/marzen, r8a7790/lager, r8a7791/koelsch, r8a7794/alt, and r8a7795/salvator-x. Thanks! Geer

[PATCH v6 06/11] soc: renesas: rcar-sysc: Add support for R-Car H1 power areas

2016-04-20 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- v6: - No changes, v5: - Add Reviewed-by, - Add "always-on" power area, v4: - Drop R8A7779_PD_SH, as it's not documented in the datashe

[PATCH v6 01/11] soc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc

2016-04-20 Thread Geert Uytterhoeven
). Kill the intermediate PM_RCAR config symbol, as it's not user configurable anymore, and to prepare for SoC-specific make rules. Add the missing #include to rcar-sysc.h, which was exposed by different include order. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: L

[git pull] clk: renesas: R-Car SYSC PM Domain Preparation

2016-04-20 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <geert+rene...@glider.be> Hi Mike, Stephen, The following changes since commit 12a56817b329d8a73ab53bad09aa976aeea46db9: clk: renesas: mstp: Clarify cpg_mstp_{at,de}tach_dev() domain parameter (2016-04-07 17:27:13 +0200) are available in the git repo

[PATCH v2] ARM: shmobile: timer: Drop support for Cortex A8

2016-04-14 Thread Geert Uytterhoeven
orary ARM processors, we can simplify the code: - Absorb shmobile_setup_delay_hz(), which was always called with mult = div = 1, - Return earlier if the Cortex A7/A15 arch timer exists and support is enabled. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> ---

Re: [PATCH v5 0/7] PM / Domains: Add DT bindings for the R-Car System Controller

2016-04-15 Thread Geert Uytterhoeven
Hi Simon, On Fri, Apr 15, 2016 at 3:04 AM, Simon Horman <ho...@verge.net.au> wrote: > On Wed, Apr 13, 2016 at 04:44:16PM +0200, Geert Uytterhoeven wrote: >> This patch series introduces DT bindings for the R-Car System >> Controller, as found on Renesas R-Car H1, R-Car

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

2016-04-15 Thread Geert Uytterhoeven
Hi Simon, On Fri, Apr 15, 2016 at 2:33 AM, Simon Horman <ho...@verge.net.au> wrote: > On Thu, Apr 14, 2016 at 10:19:04AM +0200, Geert Uytterhoeven wrote: >> On Wed, Apr 13, 2016 at 10:23 PM, Olof Johansson <o...@lixom.net> wrote: >> > On Wed, Apr 13, 2016 at 09:57:

Re: [PATCH v2 1/2] ARM: dts: r8a7793: Add SDHI controllers

2016-04-21 Thread Geert Uytterhoeven
E_LEVEL_HIGH>; > + clocks = <_clks R8A7793_CLK_SDHI0>; > + dmas = < 0xcd>, < 0xce>; > + dma-names = "tx", "rx", "tx", "rx"; If you drop the last two dma values, you should drop the last

Re: [PATCH] thermal: rcar_thermal: Fix priv->zone error handling

2016-04-21 Thread Geert Uytterhoeven
ever ending up in priv->zone by assigning the zone to a temporary variable, and only storing that in priv->zone after the error check. > Signed-off-by: Dirk Behme <dirk.be...@de.bosch.com> Regardless of the above Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be&g

Re: [PATCH v3] PCI: rcar-pcie: Remove Gen2 designation from Kconfig

2016-04-21 Thread Geert Uytterhoeven
e Kconfig symbol name to use PCIE as the prefix. > This appears to be in keeping with other PCIE Kconfig symbols. > > Reported-by: Geert Uytterhoeven <geert+rene...@glider.be> > Signed-off-by: Simon Horman <horms+rene...@verge.net.au> > Acked-by: Bjorn Helgaas <bhelg.

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Geert Uytterhoeven
uot;, }, > + > { .compatible = "rockchip,rk2928", }, > { .compatible = "rockchip,rk3066a", }, > { .compatible = "rockchip,rk3066b", }, Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: [PATCH v6 00/11] soc: renesas: Add R-Car SYSC PM Domain Support

2016-04-21 Thread Geert Uytterhoeven
Hi Simon, On Thu, Apr 21, 2016 at 5:28 AM, Simon Horman <ho...@verge.net.au> wrote: > On Wed, Apr 20, 2016 at 02:02:35PM +0200, Geert Uytterhoeven wrote: >> This patch series introduces a DT-based driver for the R-Car System >> Controller, as found on Renesas R-Car H1, R-Car

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

2016-04-19 Thread Geert Uytterhoeven
Hi Simon, On Mon, Apr 18, 2016 at 6:12 AM, Simon Horman <ho...@verge.net.au> wrote: > On Tue, Apr 12, 2016 at 08:02:54AM +0900, Simon Horman wrote: >> On Mon, Apr 11, 2016 at 09:11:19AM +0200, Geert Uytterhoeven wrote: >> > On Mon, Apr 11, 2016 at 3:52 AM, Simon

Re: [PATCH 2/2] ARM: shmobile: timer: Drop support for Cortex A8

2016-04-13 Thread Geert Uytterhoeven
Hi Olof, On Wed, Apr 13, 2016 at 9:41 PM, Olof Johansson <o...@lixom.net> wrote: > On Sun, Apr 3, 2016 at 6:22 PM, Simon Horman <horms+rene...@verge.net.au> > wrote: >> From: Geert Uytterhoeven <geert+rene...@glider.be> >> >> Commit edf4100906044225 (

Re: [RFC 0/2] r8a7740: fix SDHI clock handling

2016-04-18 Thread Geert Uytterhoeven
ect against it. Hence I think it should be handled in the driver. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a

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

2016-04-18 Thread Geert Uytterhoeven
100 clk: shmobile: fix setting paretn clock rate Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

Re: [RFC 0/2] r8a7740: fix SDHI clock handling

2016-04-18 Thread Geert Uytterhoeven
r_mod_clk structure. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I

Re: [PATCH] ARM: shmobile: r8a7790: fix max-frequency for SDHI

2016-04-18 Thread Geert Uytterhoeven
On Sun, Apr 17, 2016 at 2:50 PM, Wolfram Sang <w...@the-dreams.de> wrote: > From: Wolfram Sang <wsa+rene...@sang-engineering.com> > > The wrong values come from an old datasheet. Fix them. > > Signed-off-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Revie

Re: [PATCH 01/10] boot-mode-reg: Add core

2016-05-09 Thread Geert Uytterhoeven
s_set && boot_mode != mode) > + goto err; > + boot_mode = mode; > + boot_mode_is_set = true; > + err = 0; > +err: Convert goto and label to inverted if. > + mutex_unlock(_mode_mutex); > + return err; > +} > +EXPOR

Re: [PATCH 10/10] boot-mode-reg: Convert to device tree

2016-05-09 Thread Geert Uytterhoeven
don't have the node in DT. > + } > + > + modemr = of_iomap(np, 0); Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

Re: [PATCH 00/10] arm64: renesas: Obtain MD pin values using syscon/regmap

2016-05-09 Thread Geert Uytterhoeven
t to keep (part of) the bindings from "[PATCH 1/6] reset: Add renesas,rst DT bindings." from the former series, though ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with techni

Re: [PATCH 09/10] ARM: r8a779x: Add boot mode reg support

2016-05-09 Thread Geert Uytterhoeven
Hi Dirk, On Mon, May 9, 2016 at 9:52 AM, Dirk Behme <dirk.be...@de.bosch.com> wrote: > On 09.05.2016 09:44, Geert Uytterhoeven wrote: >> >> On Mon, May 9, 2016 at 9:14 AM, Dirk Behme <dirk.be...@de.bosch.com> >> wrote: >>> >>> --- a/arch/ar

[PATCH v2 0/2] ravb: Add missing free_irq() calls to ravb_close()

2016-05-07 Thread Geert Uytterhoeven
ch version the second patch is against, - Add Fixes tags. Thanks! Geert Uytterhoeven (1): ravb: Add missing free_irq() call to ravb_close() ravb: Add missing free_irq() calls to ravb_close() drivers/net/ethernet/renesas/ravb_main.c | 9 +++ 1 files changed, 9 insertions(+) -- 1.9.1

[PATCH v2 1/2 -net] ravb: Add missing free_irq() call to ravb_close()

2016-05-07 Thread Geert Uytterhoeven
g free_irq() call to fix this. Fixes: 22d4df8ff3a3cc72 ("ravb: Add support for r8a7795 SoC") Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- This version is against net.git. v2: - New. --- drivers/net/ethernet/renesas/ravb_main.c | 2 ++ 1 file changed, 2

[PATCH v2 2/2 -net-next] ravb: Add missing free_irq() calls to ravb_close()

2016-05-07 Thread Geert Uytterhoeven
rq() calls to fix this. Fixes: 22d4df8ff3a3cc72 ("ravb: Add support for r8a7795 SoC") Fixes: f51bdc236b6c5835 ("ravb: Add dma queue interrupt support") Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- This version is against net-next.git. v2: - Cl

Re: [PATCH v2 1/2 -net] ravb: Add missing free_irq() call to ravb_close()

2016-05-07 Thread Geert Uytterhoeven
On Sat, May 7, 2016 at 8:39 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > On 05/07/2016 02:17 PM, Geert Uytterhoeven wrote: > >> When reopening the network device on ra7795/salvator-x, e.g. after a >> DHCP timeout: >> >>

Re: [PATCH] sh-sci: SysRq support on EARLYCON

2016-05-25 Thread Geert Uytterhoeven
Hi Sato-san, CC linux-serial On Wed, Apr 27, 2016 at 5:49 PM, Yoshinori Sato <ys...@users.sourceforge.jp> wrote: > Add missing flag condition. > > Signed-off-by: Yoshinori Sato <ys...@users.sourceforge.jp> Acked-by: Geert Uytterhoeven <geert+rene...@glider.be> Unf

[PATCH] clk: renesas: r8a7795: Fix SD clocks

2016-08-10 Thread Geert Uytterhoeven
ted-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Cc: sta...@vger.kernel.org --- SDHI was enabled on r8a7795/salvator-x in v4.6. Please apply as a fix for v4.8. Thanks! drivers/clk/renesas/r8a7795-cpg-mssr.c | 9 + 1 f

Re: [PATCH] net: ipconfig: fix use after free

2016-08-10 Thread Geert Uytterhoeven
e's ic_device is still used however to print the > ipconfig summary which results in an oops if the memory is already > changed. So delay freeing until after the autoconfig results are > reported. Thanks! > Fixes: 2647cffb2bc6 ("net: ipconfig: Support using "delayed"

Re: [PATCH 1/2] ravb: use SET_RUNTIME_PM_OPS macro

2016-08-04 Thread Geert Uytterhoeven
chi...@renesas.com> Signed-off-by: Yoshihiro Kaneko <ykaneko0...@gmail.com> Acked-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Signed-off-by: David S. Miller <da...@davemloft.net> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: [PATCH v2 3/4] arm64: dts: renesas: r8a7795: Add DU device to DT

2016-08-11 Thread Geert Uytterhoeven
On Tue, Aug 9, 2016 at 2:29 PM, Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> wrote: > Add the DU device to r8a7795.dtsi in a disabled state. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <

Re: [PATCH v2 4/4] arm64: dts: renesas: salvator-x: Enable DU

2016-08-11 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Aug 9, 2016 at 2:29 PM, Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> wrote: > Only the VGA output is supported for now. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <

[PATCH/PROTO 9/9 option 3] spi: sh-msiof: Configure MSIOF parent clock

2016-08-12 Thread Geert Uytterhoeven
be enabled due to asynchronous runtime-suspend not having disabled it yet, causing clk_set_rate() to fail sometimes with -EBUSY. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- drivers/spi/spi-sh-msiof.c

[PATCH/PROTO 4/9 common] arm64: dts: salvator-x: Add dummy MSIOF SPI slave devices

2016-08-12 Thread Geert Uytterhoeven
-speed device. Reorder the devices by changing the "" references to investigate different probe order. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 74 ++

[PATCH/PROTO 6/9 option 2/3] spi: sh-msiof: Add clock notifier to enforce valid parent clock

2016-08-12 Thread Geert Uytterhoeven
Use clock notifiers to avoid changing the clock rate to an out-of-range setting for already configured devices. This will allow dynamic configuration of the MSIOF parent clock. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- drive

[PATCH/PROTO 5/9 option 1] arm64: dts: salvator-x: Configure MSIOF parent clock

2016-08-12 Thread Geert Uytterhoeven
Add assigned-clocks and assigned-clock-rates DT properties to the cpg device node, to configure the MSIOF parent clock for 20 MHz. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. Note that these properties could also be added to an indi

[PATCH/PROTO 0/9] R-Car H3 MSIOF Parent Clock Control Prototype

2016-08-12 Thread Geert Uytterhoeven
ts, I think static configuration in DT (option 1) is the best solution. Thanks for your comments! Geert Uytterhoeven (9): [common] spi: sh-msiof: Add support for R-Car H3 [common] spi: sh-msiof: Print max and transfer frequency [common] arm64: dts: r8a7795: Add all MSIOF nodes [common] arm64:

[PATCH/PROTO 3/9 common] arm64: dts: r8a7795: Add all MSIOF nodes

2016-08-12 Thread Geert Uytterhoeven
Add the device nodes for all MSIOF SPI controllers, incl. clocks, clock domain, and dma properties. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. R-Car H3 ES1.0 has a hardware bug preventing MSIOF from being used with real SPI d

[PATCH/PROTO 8/9 option 3] clk: divider: Add hack to support dummy clocks

2016-08-12 Thread Geert Uytterhoeven
Allow registering dummy divider clocks that do not operate on an actual hardware register (reg = NULL), for testing clock algorithms. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- drivers/clk/clk-divider.c

[PATCH/PROTO 2/9 common] spi: sh-msiof: Print max and transfer frequency

2016-08-12 Thread Geert Uytterhoeven
Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- drivers/spi/spi-sh-msiof.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index ffa5efdf26

[PATCH/PROTO 1/9 common] spi: sh-msiof: Add support for R-Car H3

2016-08-12 Thread Geert Uytterhoeven
Add support for MSIOF in r8a7795 (R-Car H3). Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. R-Car H3 ES1.0 has a hardware bug preventing MSIOF from being used with real SPI devices. However, this does not affect the generation of

[PATCH/PROTO 7/9 option 2] spi: sh-msiof: Configure MSIOF parent clock

2016-08-12 Thread Geert Uytterhoeven
the parent clock may still be enabled due to asynchronous runtime-suspend not having disabled it yet, causing clk_set_rate() to fail sometimes with -EBUSY. Not-Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Not intended for upstream merge. --- drivers/spi/spi-sh-msiof.

Re: [PATCH 2/2] ARM: dts: r8a7792: add SDHI support

2016-07-12 Thread Geert Uytterhoeven
On Tue, Jul 12, 2016 at 11:11 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Define the generic R8A7792 part of the SDHI0 device node. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <

Re: [PATCH 2/2] ARM: dts: r8a7792: remove ADSP clock

2016-07-12 Thread Geert Uytterhoeven
claim proved > to be false: R8A7792 is the only gen2 SoC that doesn't have ADSP at all. > Remove that clock for good... > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Gr{oetje,eeti

Re: [PATCH v2] pinctrl: sh-pfc: r8a7792: add EtherAVB pin groups

2016-07-13 Thread Geert Uytterhoeven
On Tue, Jul 12, 2016 at 11:38 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Add the EtherAVB pin groups to the R8A7792 PFC driver. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <

Re: [GIT PULL FOR renesas-drivers] Latest VSP code

2016-07-18 Thread Geert Uytterhoeven
drivers (2016-06-21 02:05:28 > +0300) I'm afraid I'll have to drop this for tomorrow's renesas-drivers release, as integrating it involves more than a simple rebase and dropping some commits already queued for upstream. Thanks for your understanding. Gr{oetje,eeting}s,

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

2016-07-18 Thread Geert Uytterhoeven
afraid I'll have to drop this for tomorrow's renesas-drivers release, as this seems to depend heavily on Laurent's for/renesas-drivers, which requires an update before I can integrate it. Thanks for your understanding. Gr{oetje,eeting}s, Geert -- Geert Uytterhoev

[PATCH] pinctrl: sh-pfc: r8a7795: Correct header from R-Car Gen3 to R8A7795

2016-07-19 Thread Geert Uytterhoeven
This source file handles r8a7795 only, which is not the sole member of the R-Car Gen3 family. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- To be queued up in sh-pfc-for-v4.9. drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask

2016-07-19 Thread Geert Uytterhoeven
cpumask_setall(>supported_cpus); > + } > + } > > /* If we matched up the IRQ affinities, use them to route the SPIs */ > if (using_spi && i == pdev->num_resources) Gr{oetje,eeting}s,

[PATCH v2] watchdog: renesas-wdt: Add support for the r8a7796 wdt

2016-07-19 Thread Geert Uytterhoeven
Document support for the Watchdog Timer (WDT) Controller in the Renesas R-Car M3-W (r8a7796) SoC. No driver update is needed. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Acked-by: Wolfram Sang <wsa+rene...@sang-engineering.com> Acked-by: Rob Herring <r...@ker

Re: [PATCH] Fix shmobile build with CONFIG_SMP=n

2016-07-19 Thread Geert Uytterhoeven
tch/9207413/, which seems have fallen through the cracks. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journali

Re: [PATCH v2] drivers/perf: arm-pmu: Handle per-interrupt affinity mask

2016-07-19 Thread Geert Uytterhoeven
Hi Marc, On Tue, Jul 19, 2016 at 3:46 PM, Marc Zyngier <marc.zyng...@arm.com> wrote: > On 19/07/16 14:25, Geert Uytterhoeven wrote: >> On Wed, Jul 6, 2016 at 4:33 PM, Marc Zyngier <marc.zyng...@arm.com> wrote: >>> On a big-little system, PMUs can be wired to CPUs us

Re: [PATCH 2/2] ARM: dts: r8a7792: add SDHI support

2016-07-20 Thread Geert Uytterhoeven
read >> from CTL_VERSION in sh_mobile_sdhi_sdbuf_width()? > >It's 0xCB0D, the same as on other SoCs. Thanks! #define SDHI_VER_GEN2_SDR1040xcb0d Not good, as it doesn't support SDR50/SDR104 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux

Re: [PATCH 2/2] ARM: dts: r8a7792: add SDHI support

2016-07-20 Thread Geert Uytterhoeven
renesas,rcar-gen2-jpu"; > >I also wonder whether whether a single per-SoC SDHI "compatible" is > valid. The registers and their offsets seem to differ b/w SDHI0 and the > other SDHI cores... There's version register. BTW, given SDHI on V2H doesn't support SDR50/SDR104, unlike

Re: [PATCH] pinctrl: sh-pfc: r8a7792: add CAN pin groups

2016-07-18 Thread Geert Uytterhoeven
Hi Sergei, On Thu, Jul 14, 2016 at 9:51 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Add CAN0/1 data/clock pin groups to R8A7792 PFC driver. Thanks! > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytter

Re: [PATCH 2/3] ARM: dts: r8a7792: add CAN support

2016-07-14 Thread Geert Uytterhoeven
On Thu, Jul 14, 2016 at 10:20 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Define the generic R8A7792 parts of the CAN0/1 device nodes. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+rene

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

2016-07-14 Thread Geert Uytterhoeven
esn't enable CONFIG_ARCH_R8A7796 yet. Sorry for that. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talkin

[PATCH v5 01/13] devicetree: bindings: Renesas APMU and SMP Enable method

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> 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 <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven <geert

[PATCH v5 09/13] ARM: shmobile: r8a7790: Prioritize DT APMU support

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> Adjust the r8a7790 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 <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven

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

2016-06-28 Thread 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 bits that were set before. Signed-off-by: Geert

[PATCH v5 00/13] ARM: shmobile: APMU DT support via SMP Enable method

2016-06-28 Thread Geert Uytterhoeven
s is against renesas-devel-20160627-v4.7-rc5. For testing, it's also available in the topic/apmu-dt-v5 branch of https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git. This has been tested on r8a7779/marzen, r8a7790/lager, r8a7791/koelsch, and r8a7793/gose. Please apply, thanks!

[PATCH v5 02/13] soc: renesas: rcar-sysc: Fix uninitialized error code in rcar_sysc_pd_init()

2016-06-28 Thread 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 Uytterhoeven <geert+rene...@glider.be>

[PATCH v5 10/13] ARM: shmobile: r8a7791: Prioritize DT APMU support

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> 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 <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven

[PATCH v5 13/13] ARM: dts: r8a7793: Add APMU node and second CPU core

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> 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 <damm+rene...@opensource.se> Signed-o

[PATCH v5 12/13] ARM: dts: r8a7791: Add APMU node

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> 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 <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven

[PATCH v5 06/13] ARM: shmobile: apmu: Move #ifdef CONFIG_SMP to cover more functions

2016-06-28 Thread 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 <geert+rene...@glider.be> Reviewed-by: Ulrich

[PATCH v5 08/13] ARM: shmobile: smp: Add function to prioritize DT SMP

2016-06-28 Thread Geert Uytterhoeven
ed SMP support code does not exist in the DTB then the old smp_ops code will still work as-is. Signed-off-by: Magnus Damm <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v5: - No changes, v4: - Remove empty line at end of file, v3:

[PATCH v5 07/13] ARM: shmobile: apmu: Add APMU DT support via Enable method

2016-06-28 Thread Geert Uytterhoeven
t rely on the enable-method for SMP support. Signed-off-by: Magnus Damm <damm+rene...@opensource.se> [geert: Fix CONFIG_SMP=n build] Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- v5: - No changes, v4: - Remove bogus of_node_put(), - Fix CONFIG_SMP=n build, - Corre

[PATCH v5 03/13] soc: renesas: rcar-sysc: Make rcar_sysc_init() init the PM domains

2016-06-28 Thread 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 <geert+rene...@glider.be> --- v5: - No changes, v4: - New. --- d

[PATCH v5 04/13] soc: renesas: rcar-sysc: Move SYSC interrupt config to rcar-sysc driver

2016-06-28 Thread Geert Uytterhoeven
block, hence make the function return void. Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Reviewed-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- v5: - Add Reviewed-by, v4: - New. --- arch/arm/mach-shmobile/pm-r8a7779.c | 6 +- arch/arm/mach-shmobile/pm

[PATCH v5 11/13] ARM: dts: r8a7790: Add APMU nodes

2016-06-28 Thread Geert Uytterhoeven
From: Magnus Damm <damm+rene...@opensource.se> 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 <damm+rene...@opensource.se> Signed-off-by: Geert Uytterhoeven

Re: [PATCH v4 07/13] ARM: shmobile: apmu: Add APMU DT support via Enable method

2016-06-27 Thread Geert Uytterhoeven
Hi Sergei, On Mon, Jun 27, 2016 at 2:59 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > On 06/27/2016 12:41 PM, Geert Uytterhoeven wrote: >>>>>> From: Magnus Damm <damm+rene...@opensource.se> >>>>>> Allow DT configura

Re: [PATCH v4 07/13] ARM: shmobile: apmu: Add APMU DT support via Enable method

2016-06-27 Thread Geert Uytterhoeven
Hi Sergei, On Sun, Jun 26, 2016 at 6:36 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > On 06/24/2016 10:44 AM, Geert Uytterhoeven wrote: >>>> From: Magnus Damm <damm+rene...@opensource.se> >>>> Allow DT configuration of the

Re: [PATCH v4 01/13] devicetree: bindings: Renesas APMU and SMP Enable method

2016-06-27 Thread Geert Uytterhoeven
On Thu, Jun 16, 2016 at 12:27 PM, Geert Uytterhoeven <geert+rene...@glider.be> wrote: > From: Magnus Damm <damm+rene...@opensource.se> > > Add DT binding documentation for the APMU hardware and add "renesas,apmu" > to the list of enable methods for the ARM cp

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

2016-06-28 Thread Geert Uytterhoeven
ices complete after 0.488 msecs simple-pm-bus fec1.bus: simple_pm_bus_resume smsc911x: smsc911x_resume PM: resume of devices complete after 28.564 msecs PM: resume devices took 0.040 seconds PM: Finishing wakeup. Restarting tasks ... rmobile_pd_power_down: a4mp a4mp: P

Re: [PATCH/RFC 1/6] spi: Document DT bindings for SPI controllers in slave mode

2016-06-29 Thread Geert Uytterhoeven
Hi Rob, On Fri, Jun 24, 2016 at 7:06 PM, Rob Herring <r...@kernel.org> wrote: > On Wed, Jun 22, 2016 at 03:42:04PM +0200, Geert Uytterhoeven wrote: >> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> >> --- >> Documentation/devicet

Re: renesas-drivers-2016-06-28-v4.7-rc5

2016-07-05 Thread Geert Uytterhoeven
i-prototype-drivers-v3-rebased2 topic/salvator-x-hdmi-prototype-integration-v3-rebased4 The drivers branch needs only a rebase when Laurent's for/renesas-drivers changes, while the integration branch needs a rebase after each renesas-drivers release. I'll merge both of them in topic/salvator-x-hdmi-

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

2016-07-05 Thread Geert Uytterhoeven
lbsc { > + groups = "lbsc_ex_cs0"; > + function = "lbsc"; Don't you need pinctrl for the other LBSC pins, like the address and data lines (Ax and Dy)? Gr{oetje,eeting}s, Geert -- Geert Uytterho

Re: renesas-drivers-2016-06-28-v4.7-rc5

2016-07-05 Thread Geert Uytterhoeven
entify the prototype patchset version from the individual topic/salvator-x-hdmi-prototype-drivers-v* and topic/salvator-x-hdmi-prototype-integration-v* branches that are included. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li

Re: [PATCH 1/2] ARM: dts: r8a7792: add GPIO clocks

2016-07-05 Thread Geert Uytterhoeven
On Mon, Jul 4, 2016 at 11:11 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Describe the GPIO clocks in the R8A7792 device tree. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glide

Re: [PATCH] pinctrl: sh-pfc: r8a7792: add EtherAVB pin groups

2016-07-05 Thread Geert Uytterhoeven
Hi Sergei, On Mon, Jul 4, 2016 at 9:52 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Add the EtherAVB pin groups to the R8A7792 PFC driver. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <

Re: [PATCH 1/2] ARM: dts: r8a7792: add EtherAVB clocks

2016-07-05 Thread Geert Uytterhoeven
On Mon, Jul 4, 2016 at 11:22 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Add the EtherAVB clock and its parent, HP clock to the R8A7792 device tree. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uyt

Re: [PATCH 2/2] ARM: dts: r8a7792: add EtherAVB support

2016-07-05 Thread Geert Uytterhoeven
: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I

Re: [PATCH 2/2] ARM: dts: r8a7792: add GPIO support

2016-07-05 Thread Geert Uytterhoeven
On Mon, Jul 4, 2016 at 11:12 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Describe all 12 GPIO controllers in the R8A7792 device tree. > > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+rene

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

2016-07-05 Thread Geert Uytterhoeven
t/sh_mobile_sdhi.c:172:1: warning: control reaches end of non-void function [-Wreturn-type] Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But

Re: [PATCH v2] gpio: convince line to become input in irq helper

2016-07-05 Thread Geert Uytterhoeven
put(chip, d->hwirq); This configures the GPIO for plain input mode, cfr. [3] above, basically undoing the configuration from [1]. Hence interrupts no longer come through, and Ethernet fails. > + if (ret) > + return ret; > + > + cl

Re: [PATCH] pinctrl: sh-pfc: r8a7792: add EtherAVB pin groups

2016-07-05 Thread Geert Uytterhoeven
Hi Linus, On Tue, Jul 5, 2016 at 4:54 PM, Linus Walleij <linus.wall...@linaro.org> wrote: > On Tue, Jul 5, 2016 at 8:57 AM, Geert Uytterhoeven <ge...@linux-m68k.org> > wrote: >> Hi Sergei, >> >> On Mon, Jul 4, 2016 at 9:52 PM, Sergei Shtylyov >>

<    3   4   5   6   7   8   9   10   11   12   >