Re: [PATCH] PCI: rcar: Consolidate register space lookup and ioremap

2016-08-22 Thread Geert Uytterhoeven
On Mon, Aug 22, 2016 at 9:27 PM, Bjorn Helgaas wrote: > Move the devm_ioremap_resource() of R-Car register space next to the > of_address_to_resource() that extracts the resource. No functional change > intended. > > Signed-off-by: Bjorn Helgaas Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting

[PATCH] ARM: dts: blanche: add support for general purpose LEDs

2016-08-22 Thread Sergei Shtylyov
Add support for the general purpose LEDs on the Blanche board. Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20160822-v4.8-rc3' of Simon Horman's 'renesas.git' repo plus the SDHI0/DU patches posted earlier. arch/arm/boot/dts/r

[PATCH] PCI: rcar: Consolidate register space lookup and ioremap

2016-08-22 Thread Bjorn Helgaas
Move the devm_ioremap_resource() of R-Car register space next to the of_address_to_resource() that extracts the resource. No functional change intended. Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pcie-rcar.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a

Re: [PATCH] Documentation: devicetree: changesets do locking on their own meanwhile

2016-08-22 Thread Wolfram Sang
On Mon, Aug 22, 2016 at 04:42:58PM +0200, Wolfram Sang wrote: > Since commit 183223770ae862 ("drivers/of: Export OF changeset functions"), > the mentioned functions do all necessary locking. > > Signed-off-by: Wolfram Sang > Fixes: 201c910bd6898d ("of: Transactional DT support.") Ooops, that sho

[PATCH] i2c: mux: demux-pinctrl: invalidate properly when switching fails

2016-08-22 Thread Wolfram Sang
Make sure the index to the active channel is invalidated when switching fails. Signed-off-by: Wolfram Sang --- drivers/i2c/muxes/i2c-demux-pinctrl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/muxes/i2c-demux-pinctrl.c b/drivers/i2c/muxes/i2c-demux-pinctrl.c index 215ac87f60

[PATCH/RFT 2/4] ARM: shmobile: apmu: Add debug resource reset for secondary CPU boot

2016-08-22 Thread Geert Uytterhoeven
In debug mode (MD21=1), reset requests derived from power-shutoff to the AP-system CPU cores must be enabled before the AP-system cores first resume from power-shutoff. Else resume may fail, causing the system to hang during boot. As setting these bits is a no-op in normal mode, there's no need to

[PATCH 1/4] ARM: shmobile: apmu: Add more register documentation

2016-08-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/platsmp-apmu.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-shmobile/platsmp-apmu.c b/arch/arm/mach-shmobile/platsmp-apmu.c index 0c6bb458b7a45128..933f9b9024050223 100644 --- a/arch

[PATCH/RFT 3/4] ARM: shmobile: apmu: Allow booting secondary CPU cores in debug mode

2016-08-22 Thread Geert Uytterhoeven
Now debug resource reset is handled properly, allow booting secondary CPU cores when hardware debug mode is enabled (MD21=1) on SoCs using the "renesas,apmu" enable method. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/platsmp-apmu.c | 14 +- 1 file changed, 1 insertio

[PATCH/RFT 0/4] ARM: shmobile: R-Car Gen2: Allow booting secondary CPU cores in debug mode

2016-08-22 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series is an attempt to allow booting secondary CPU cores on R-Car Gen2 when hardware debug mode is enabled. In this mode, reset requests derived from power-shutoff to the AP-system CPU cores must be enabled before the AP-system cores first resume from power-sh

[PATCH/RFT 4/4] ARM: shmobile: r8a7791: Allow booting secondary CPU cores in debug mode

2016-08-22 Thread Geert Uytterhoeven
Now debug resource reset is handled properly, allow booting secondary CPU cores when hardware debug mode is enabled (MD21=1, SW8-4=OFF on koelsch) on legacy r8a7791. Signed-off-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/smp-r8a7791.c | 14 +- 1 file changed, 1 insertion(+), 13

[PATCH] Documentation: devicetree: changesets do locking on their own meanwhile

2016-08-22 Thread Wolfram Sang
Since commit 183223770ae862 ("drivers/of: Export OF changeset functions"), the mentioned functions do all necessary locking. Signed-off-by: Wolfram Sang Fixes: 201c910bd6898d ("of: Transactional DT support.") --- Documentation/devicetree/changesets.txt | 19 +-- 1 file changed, 5

Re: [PATCH] ARM: dts: blanche: add SDHI0 support

2016-08-22 Thread Sergei Shtylyov
On 08/22/2016 10:33 AM, Simon Horman wrote: Define the Blanche board dependent part of the SDHI0 (connected to the micro-SD slot) device node along with the necessary voltage regulator. Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20160817-v4.8-rc2' of Simon Ho

Re: [PATCH] pinctrl: sh-pfc: r8a7795: Add DU support

2016-08-22 Thread Linus Walleij
On Mon, Aug 22, 2016 at 2:23 PM, Geert Uytterhoeven wrote: > On Mon, Aug 22, 2016 at 2:10 PM, Linus Walleij > wrote: >> Geert, I assume you will queue this? > > Sure, it's part of the pull request I sent last week ;-) Gah good that you remind me, because in some magic way I managed to miss tha

Re: [git pull] pinctrl: sh-pfc: Updates for v4.9

2016-08-22 Thread Linus Walleij
On Wed, Aug 17, 2016 at 5:05 PM, Geert Uytterhoeven wrote: > Hi Linus, > > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: > > Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kern

Re: [PATCH v4 2/4] mmc: tmio: Add tuning support

2016-08-22 Thread Ulf Hansson
On 27 July 2016 at 06:13, Simon Horman wrote: > From: Ai Kyuse > > Add tuning support for use with SDR104 mode > > Signed-off-by: Ai Kyuse > Signed-off-by: Simon Horman > --- > v4 [Simon Horman] > As suggested by Wolfram Sang: > - Do not perform tuning if host->select_tuning is not set: >

Re: [PATCH] pinctrl: sh-pfc: r8a7795: Add DU support

2016-08-22 Thread Geert Uytterhoeven
Hi Linus, On Mon, Aug 22, 2016 at 2:10 PM, Linus Walleij wrote: > On Tue, Aug 16, 2016 at 10:23 AM, Geert Uytterhoeven > wrote: >> On Fri, Aug 12, 2016 at 11:14 AM, Laurent Pinchart >> wrote: >>> Only the DU parallel RGB output signals are included, HDMI and TCON pins >>> will be added in separ

Re: [PATCH] pinctrl: sh-pfc: r8a7795: Add DU support

2016-08-22 Thread Linus Walleij
On Tue, Aug 16, 2016 at 10:23 AM, Geert Uytterhoeven wrote: > On Fri, Aug 12, 2016 at 11:14 AM, Laurent Pinchart > wrote: >> Only the DU parallel RGB output signals are included, HDMI and TCON pins >> will be added in separate groups. >> >> Signed-off-by: Laurent Pinchart > > Reviewed-by: Geert

[renesas-drivers:topic/salvator-x-hdmi-prototype-v3 14233/14988] drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)

2016-08-22 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/salvator-x-hdmi-prototype-v3 head: 9c8bcea840842aa5160e89e4bfd450021c26f524 commit: c585bda5a818d6c75430e57587c7e529395ddfbf [14233/14988] [media] i2c: adv7482: add adv7482 driver config: i386-allmodconfig

Re: [PATCH] ARM: dts: blanche: add DU support

2016-08-22 Thread Sergei Shtylyov
Hello. On 8/22/2016 10:41 AM, Simon Horman wrote: Define the Blanche board dependent part of the DU device node. Add the device nodes for the Analog Devices ADV7511W HDMI transmitter (connected to DU0) and ADV7123 video DAC (connected to DU1). Add the necessary subnodes to interconnect DU,

Re: [PATCH/RTF 7/7] arm64: dts: r8a7796: salvator-x: enable SDHI0 & 3

2016-08-22 Thread Simon Horman
On Wed, Aug 17, 2016 at 05:52:17PM +0200, Geert Uytterhoeven wrote: > On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman > wrote: > > Enable the exposed SD card slots in the DT of the r8a7796/salvator-x. > > > > Based on work for the r8a7795/salvator-x by Ai Kyuse. > > > > Cc: Ai Kyuse > > Signed-off-

Re: [PATCH/RTF 2/7] clk: renesas: r8a7796: Add SDIF clocks

2016-08-22 Thread Simon Horman
On Wed, Aug 17, 2016 at 03:47:03PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman > wrote: > > From: Ai Kyuse > > > > This patch adds SDIF clocks for R8A7796 SoC. > > > > Signed-off-by: Ai Kyuse > > Signed-off-by: Simon Horman > > --- > > driver

Re: [PATCH/RTF 5/7] arm64: dts: r8a7796: Add GPIO device nodes

2016-08-22 Thread Simon Horman
On Wed, Aug 17, 2016 at 05:41:21PM +0200, Geert Uytterhoeven wrote: > On Wed, Aug 17, 2016 at 1:31 PM, Simon Horman > wrote: > > From: Takeshi Kihara > > > > Add GPIO device nodes to the DT of the r8a7796 SoC. > > > > Signed-off-by: Takeshi Kihara > > Signed-off-by: Simon Horman > > Reviewed-b

Re: [PATCH] [media] rcar-vin: add legacy mode for wrong media bus formats

2016-08-22 Thread Hans Verkuil
On 07/20/2016 02:36 PM, Hans Verkuil wrote: > On 07/20/2016 02:29 PM, Niklas Söderlund wrote: >> Hi Hans, >> >> Thanks for your feedback. >> >> On 2016-07-20 11:48:40 +0200, Hans Verkuil wrote: >>> On 07/08/2016 12:43 PM, Niklas Söderlund wrote: A recent bugfix to adv7180 brought to light that

[PATCH 2/4] usb: gadget: u_ether: add a flag to avoid skb_reserve() calling

2016-08-22 Thread Yoshihiro Shimoda
This patch adds a flag "no_skb_reserve" in struct eth_dev. So, if a peripheral driver sets the quirk_avoids_skb_reserve flag, upper network gadget drivers (e.g. f_ncm.c) can avoid skb_reserve() calling using the flag as well. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/gadget/function/u_eth

[PATCH 3/4] usb: gadget: f_ncm: add support for no_skb_reserve

2016-08-22 Thread Yoshihiro Shimoda
This patch adds to support no_skb_reserve function to improve performance for some platforms. About the detail, please refer to the commit log of "quirk_avoids_skb_reserve" in include/linux/usb/gadget.h. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/gadget/function/f_ncm.c | 2 ++ 1 file chan

[PATCH 4/4] usb: renesas_usbhs: set quirk_avoids_skb_reserve if USB-DMAC is used

2016-08-22 Thread Yoshihiro Shimoda
This patch sets the quirk_avoids_skb_reserve flag to improve performance of a network gadget driver (e.g. f_ncm.c) if USB-DMAC is used. For example (on r8a7795 board + f_ncm.c + iperf udp mode / receiving): - without this patch: 90.3 Mbits/sec - withthis patch: 273 Mbits/sec Signed-off

[PATCH 1/4] usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c

2016-08-22 Thread Yoshihiro Shimoda
Some platforms (e.g. USB-DMAC on R-Car SoCs) has memory alignment restriction. If memory alignment is not match, the usb peripheral driver decides not to use the DMA controller. Then, the performance is not good. In the case of u_ether.c, since it calls skb_reserve() in rx_submit(), it is possible

[PATCH 0/4] usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c

2016-08-22 Thread Yoshihiro Shimoda
This patch set is based on the latest Felipe's usb.git / testing/next branch. (commit id = fcb8eae8d83c12770f8de915df01f7191dc697a3) I submitted this patch set as RFC in last month and nobody said anything. So, I submitted this without RFC :) Changes from RFC version: - rebase on the latest test

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

2016-08-22 Thread Geert Uytterhoeven
On Sat, Aug 20, 2016 at 12:19 AM, Sergei Shtylyov wrote: > Describe 3 instances (VSPS, VSPD0, and VSPD1) of the VSP1V in the R8A7792 > device tree. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- Th

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

2016-08-22 Thread Geert Uytterhoeven
On Sat, Aug 20, 2016 at 12:18 AM, Sergei Shtylyov wrote: > Describe the VSP1V clocks in the R8A7792 device tree. > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- g

Re: [PATCH] ARM: dts: blanche: add DU support

2016-08-22 Thread Geert Uytterhoeven
Hi Simon, On Mon, Aug 22, 2016 at 9:41 AM, Simon Horman wrote: > On Fri, Aug 19, 2016 at 11:42:54PM +0300, Sergei Shtylyov wrote: >> Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts >> === >> --- renesas.orig/arch/arm/boot/dts/r8

Re: [PATCH] thermal: rcar_thermal: don't call thermal_zone_device_unregister when USE_OF_THERMAL

2016-08-22 Thread Zhang Rui
On 一, 2016-08-22 at 03:19 +, Kuninori Morimoto wrote: > From: Bui Duc Phuc > > devm_thermal_zone_of_sensor_register() case doesn't need to call > thermal_zone_device_unregister(). > Otherwise, rcar-thermal can't register thermal zone again after > rebind. > This patch fixes it. > > Signed-of

Re: [PATCH] ARM: dts: blanche: add DU support

2016-08-22 Thread Simon Horman
Hi Sergei, On Fri, Aug 19, 2016 at 11:42:54PM +0300, Sergei Shtylyov wrote: > Define the Blanche board dependent part of the DU device node. > Add the device nodes for the Analog Devices ADV7511W HDMI transmitter > (connected to DU0) and ADV7123 video DAC (connected to DU1). Add the > necessa

Re: [PATCH] ARM: dts: blanche: add SDHI0 support

2016-08-22 Thread Simon Horman
Hi Sergei, On Thu, Aug 18, 2016 at 09:31:54PM +0300, Sergei Shtylyov wrote: > Define the Blanche board dependent part of the SDHI0 (connected to the > micro-SD slot) device node along with the necessary voltage regulator. > > Signed-off-by: Sergei Shtylyov > > --- > This patch is against the '

Re: [PATCH] ARM: dts: blanche: add support for general purpose switches

2016-08-22 Thread Simon Horman
On Wed, Aug 17, 2016 at 10:03:06PM +0300, Sergei Shtylyov wrote: > Add support for the general purpose software switches SW2 and tactile > switches SW24/25 as a virtual keyboard (like it was done with the Lager/ > Koelsch boards). > > Signed-off-by: Sergei Shtylyov Thanks, I have queued this

RE: [PATCH/RFC 0/4] usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c

2016-08-22 Thread Yoshihiro Shimoda
Hi Felipe-san, > From: Felipe Balbi > Sent: Thursday, August 18, 2016 4:35 PM > > Yoshihiro-san, > > Yoshihiro Shimoda writes: > > This patch set is based on the latest Felipe's usb.git / testing/next > > branch. > > (commit id = 15e4292a2d21e9997fdb2b8c014cc461b3f268f0) > > > > This patch set