[PATCH 1/3] ARM: shmobile: defconfig: Do not enable CONFIG_CPU_BPREDICT_DISABLE

2016-02-02 Thread Simon Horman
From: Geert Uytterhoeven Do not disable branch prediction, as this has a big performance impact. After re-enabling branch prediction, __loop_delay() runs 16 (Cortex A15) or 11 (Cortex A9) times faster than before. Signed-off-by: Geert Uytterhoeven

Re: [PATCH 0/9] mmc: sdhi: some refactoring and adding basic r8a7795 support

2016-02-02 Thread Ulf Hansson
On 2 February 2016 at 15:06, Wolfram Sang wrote: > >> Although, I couldn't apply patch1, could you please send a new version >> rebased onto my next branch. > > I rebased to your tree (especially patch 1, rest stayed the same) and > pushed patches 1-8 here: > >

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

2016-02-02 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these Renesas ARM based SoC defconfig updates for v4.6. The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are available in the git repository at:

[PATCH 2/3] ARM: shmobile: enable XHCI_RCAR in defconfig

2016-02-02 Thread Simon Horman
Signed-off-by: Simon Horman --- arch/arm/configs/shmobile_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig index 5208b5caacd1..b7b714c3958c 100644 ---

[PATCH 3/3] ARM: multi_v7_defconfig: Enable XHCI_RCAR

2016-02-02 Thread Simon Horman
This is used by Renesas R-Car SoCs. 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 314f6be2dca2..69d6a6d358cb

Re: [PATCH 0/9] mmc: sdhi: some refactoring and adding basic r8a7795 support

2016-02-02 Thread Wolfram Sang
> Do note that I am re-basing my next branch from time to time, so I > assume the branch you shared with me isn't an immutable branch!? No prob, it was just for you :) signature.asc Description: PGP signature

[PATCH/RFC 03/10] phy: rcar-gen3-usb2: remove unnecesary struct rcar_gen3_data

2016-02-02 Thread Yoshihiro Shimoda
Since this driver uses the struct rcar_gen3_data in struct rcar_gen3_chan only, we can remove the rcar_gen3_data. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/phy-rcar-gen3-usb2.c | 33 ++--- 1 file changed, 14 insertions(+), 19

[PATCH/RFC 04/10] phy: rcar-gen3-usb2: add extcon support

2016-02-02 Thread Yoshihiro Shimoda
This patch adds extcon support for otg related channel. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/Kconfig | 1 + drivers/phy/phy-rcar-gen3-usb2.c | 26 ++ 2 files changed, 27 insertions(+) diff --git

Re: [PATCH v4 0/7] ARM: dts: r-car: Add BRG support for (H)SCIF

2016-02-02 Thread Geert Uytterhoeven
Hi Simon, On Tue, Feb 2, 2016 at 11:20 AM, Simon Horman wrote: > On Fri, Jan 29, 2016 at 11:04:36AM +0100, Geert Uytterhoeven wrote: >> This patch series adds support for the Baud Rate Generator for External >> Clock (BRG), as found on SCIF and HSCIF, to the DTS files for all

RE: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes

2016-02-02 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman [mailto:ho...@verge.net.au] > Sent: Tuesday, February 02, 2016 7:30 PM > > On Tue, Feb 02, 2016 at 11:10:00AM +0100, Geert Uytterhoeven wrote: > > On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda > > wrote: > > > ---

[PATCH/RFC 02/10] phy: rcar-gen3-usb2: Add phy-supply description in device tree doc

2016-02-02 Thread Yoshihiro Shimoda
To handle the VBUS on/off by a regulator driver, this patch adds description about phy-supply in the rcar-gen3-phy-usb2.txt. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++ 1 file changed, 2

[PATCH/RFC 05/10] arm64: dts: r8a7795: add usb2_phy device nodes

2016-02-02 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index

[PATCH/RFC 07/10] arm64: dts: r8a7795: add HS-USB device node

2016-02-02 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 76800ba..1a47a06 100644

Re: [PATCH v4 0/7] ARM: dts: r-car: Add BRG support for (H)SCIF

2016-02-02 Thread Simon Horman
On Fri, Jan 29, 2016 at 11:04:36AM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series adds support for the Baud Rate Generator for External > Clock (BRG), as found on SCIF and HSCIF, to the DTS files for all R-Car > Gen1, Gen2, and Gen3 SoCs. This increases the range

[PATCH/RFC 09/10] arm64: dts: salvator-x: enable USB 2.0 Host channels

2016-02-02 Thread Yoshihiro Shimoda
We should set SW15 to pin 2-3 side on the board before we use CN9 as USB host or peripheral. Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 24 ++ 1 file changed, 24 insertions(+) diff --git

Re: [PATCH v4 0/9] ARM/arm64: dts: rcar: Enable SCIF_CLK frequency and pins

2016-02-02 Thread Simon Horman
On Fri, Jan 29, 2016 at 11:17:17AM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series adds support for the external crystal feeding SCIF_CLK > to (H)SCIF on the various Renesas R-Car Gen1, Gen2, and Gen3 development > boards. This increases the range and accuracy of

[PATCH/RFC 08/10] arm64: dts: salvator-x: enable usb2_phy

2016-02-02 Thread Yoshihiro Shimoda
This patch also adds a regulator node for USB2.0 to handle VBUS on/off by the generic PHY framework. This board has a MAX3355 chip. However, we cannot use the extcon/max3355 driver because the ID pin doesn't connect to a gpio pin (in other words, it connects to the SoC specific pin).

[PATCH/RFC 10/10] arm64: dts: salvator-x: enable HS-USB

2016-02-02 Thread Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts index

Re: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes

2016-02-02 Thread Simon Horman
On Tue, Feb 02, 2016 at 11:10:00AM +0100, Geert Uytterhoeven wrote: > On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda > wrote: > > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi > > @@ -880,5 +880,31 @@ > >

Re: [PATCH v4 00/11] ARM: dts: shmobile: Rename the serial port clock to fck

2016-02-02 Thread Simon Horman
On Fri, Jan 29, 2016 at 10:47:30AM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series renames the serial port clock to fck, as accepted in > the DT bindings in v4.5-rc1. Thanks, I have queued this up.

RE: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes

2016-02-02 Thread Yoshihiro Shimoda
Hi Geert-san, Simon-san, > From: linux-renesas-soc-ow...@vger.kernel.org > [mailto:linux-renesas-soc-ow...@vger.kernel.org] On Behalf Of Geert > Uytterhoeven > Sent: Tuesday, February 02, 2016 7:10 PM > > On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda >

Re: [PATCH 2/2] ARM: dts: r8a7794: use GIC_*defines

2016-02-02 Thread Simon Horman
On Fri, Jan 29, 2016 at 09:34:20AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Fri, Jan 29, 2016 at 1:34 AM, Simon Horman wrote: > > Your grep shows up some matches in arch/arm64/boot/dts/renesas/. > > That's correct. > > > For some reason that was not on my mental

[PATCH] ARM: dts: r8a7795: use GIC_* defines

2016-02-02 Thread Simon Horman
Use GIC_* defines for GIC interrupt cells in r8a7795 device tree. Signed-off-by: Simon Horman --- * Based on renesas-devel-20160129-v4.5-rc1 --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 108 +++ 1 file changed, 54 insertions(+), 54

Re: [PATCH] phy: rcar-gen3-usb2: remove HSUSB registers handling

2016-02-02 Thread Geert Uytterhoeven
Hi Shimoda-san, [dropping most CCs to avoid delaying your patch] On Thu, Jan 7, 2016 at 10:16 AM, Yoshihiro Shimoda wrote: > Since the related driver (CPG/MSSR driver) only manages the first module > clock, this driver should not handle the HSUSB registers. So,

[PATCH v2] arm64: dts: r8a7795: use GIC_* defines

2016-02-02 Thread Simon Horman
Use GIC_* defines for GIC interrupt cells in r8a7795 device tree. Signed-off-by: Simon Horman --- * Based on renesas-devel-20160129-v4.5-rc1 v2 * Updated prefix to arm64 --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 108 +++ 1 file

Re: [PATCH v4 0/7] ARM: dts: r-car: Add BRG support for (H)SCIF

2016-02-02 Thread Simon Horman
On Tue, Feb 02, 2016 at 11:38:05AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Feb 2, 2016 at 11:20 AM, Simon Horman wrote: > > On Fri, Jan 29, 2016 at 11:04:36AM +0100, Geert Uytterhoeven wrote: > >> This patch series adds support for the Baud Rate Generator for

Re: [PATCH v4 0/7] ARM: dts: r-car: Add BRG support for (H)SCIF

2016-02-02 Thread Simon Horman
On Tue, Feb 02, 2016 at 11:38:05AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Tue, Feb 2, 2016 at 11:20 AM, Simon Horman wrote: > > On Fri, Jan 29, 2016 at 11:04:36AM +0100, Geert Uytterhoeven wrote: > >> This patch series adds support for the Baud Rate Generator for

Re: [PATCH] mmc: sanitize 'bus width' in debug output

2016-02-02 Thread Ulf Hansson
On 29 January 2016 at 09:27, Wolfram Sang wrote: > From: Wolfram Sang > > The bus width is sometimes the actual bus width, and sometimes indices > to different arrays encoding the bus width. In my debugging case "2" > could mean 8-bit as well

Re: [PATCH v4 0/9] ARM/arm64: dts: rcar: Enable SCIF_CLK frequency and pins

2016-02-02 Thread Simon Horman
On Tue, Feb 02, 2016 at 11:21:33AM +0100, Simon Horman wrote: > On Fri, Jan 29, 2016 at 11:17:17AM +0100, Geert Uytterhoeven wrote: > > Hi Simon, Magnus, > > > > This patch series adds support for the external crystal feeding SCIF_CLK > > to (H)SCIF on the various Renesas R-Car Gen1, Gen2,

Re: [PATCH 0/3] ARM: shmobile: SCU cleanup and consolidation

2016-02-02 Thread Simon Horman
On Thu, Jan 28, 2016 at 04:13:29PM +0100, Geert Uytterhoeven wrote: > Hi Magnus, Simon, > > This patch series contains cleanups and consolidations of the SCU code > for shmobile SoCs with Cortex-A9 CPU cores. > > This has been tested on emev2/kzm9d, r8a7779/marzen, and sh73a0/kzm9g. > >

Re: [PATCH 0/9] mmc: sdhi: some refactoring and adding basic r8a7795 support

2016-02-02 Thread Wolfram Sang
> Although, I couldn't apply patch1, could you please send a new version > rebased onto my next branch. I rebased to your tree (especially patch 1, rest stayed the same) and pushed patches 1-8 here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git mmc/sdhi-refactor Is pulling okay,

Re: [PATCH 0/2] ARM: shmobile: Remove legacy machine_desc.map_io() callbacks

2016-02-02 Thread Simon Horman
On Thu, Jan 28, 2016 at 04:17:24PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series removes the legacy machine_desc.map_io() callback for > SoCs that no longer rely on it, but use ioremap() instead. > > The patch for emev2 depends on "ARM: shmobile: Consolidate

Re: [PATCH 0/3] ARM: shmobile: Sparse warning fixes

2016-02-02 Thread Simon Horman
On Thu, Jan 28, 2016 at 04:20:46PM +0100, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This series contains several fixes for sparse warnings, seen with "make > C=1". > > Thanks! Thanks, I have queued this up.