Re: [PATCH v7] media: platform: Renesas IMR driver

2017-08-17 Thread Hans Verkuil
Hi Sergei, A few high level comments (I'll look at the patch itself later): - There is no MAINTAINERS entry, please add one. - Don't attach the patch, post it inline (ideally with 'git send-email') - Split up the patch into 4 separate patches: bindings, doc changes, driver and MAINTAINERS patch

Re: [PATCH] clk: renesas: rcar-usb2-clock-sel: Add R-Car USB 2.0 clock selector PHY

2017-08-17 Thread Geert Uytterhoeven
On Tue, Jul 25, 2017 at 8:26 AM, Yoshihiro Shimoda wrote: > R-Car USB 2.0 controller can change the clock source from an oscillator > to an external clock via a register. So, this patch adds support > the clock source selector as a clock driver. > > Signed-off-by: Yoshihiro Shimoda > Acked-by: Ro

Re: [PATCH 0/4] clk: renesas: Add R-Car D3 support

2017-08-17 Thread Geert Uytterhoeven
On Thu, Jul 20, 2017 at 2:40 PM, Geert Uytterhoeven wrote: > This patch series adds support for clocks on the R-Car D3 SoC. > > As usual, this is meant to be queued up in clk-renesas-for-v4.14. Done. > Geert Uytterhoeven (4): > clk: renesas: Add r8a77995 CPG Core Clock Definitions > clk: ren

Status of r8a7795 SDHI support?

2017-08-17 Thread Dirk Behme
Hi, since ages I tried recent mainline (v4.13-rc5) on a custom r8a7795 board. What's the status of SDHI support in mainline and/or renesas-drivers (renesas-drivers-2017-08-16-v4.13-rc5)? I tried with the attachment and picked some patches from renesas-drivers-2017-08-16-v4.13-rc5 [1] but it

Re: [renesas-drivers:clk-renesas-for-v4.14 10/11] drivers/clk/renesas/rcar-usb2-clock-sel.c:149:5-17: duplicated argument to && or || (fwd)

2017-08-17 Thread Geert Uytterhoeven
Hi Julia, On Wed, Aug 16, 2017 at 8:59 PM, Julia Lawall wrote: > On line 149, it looks like one extal should instead be xtal. Thank you, that is correct. Fixed. -- Forwarded message -- > Date: Thu, 17 Aug 2017 02:43:28 +0800 > From: kbuild test robot > To: kbu...@01.org > Cc: Julia

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Wolfram Sang
> What's the status of SDHI support in mainline and/or renesas-drivers > (renesas-drivers-2017-08-16-v4.13-rc5)? I use it daily here, even with SDR104 enabled. > sdhci-pltfm: SDHCI platform and OF driver helper Wrong driver? We have SDHI not SDHCI. signature.asc Description: PGP signature

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Geert Uytterhoeven
Hi Dirk, On Thu, Aug 17, 2017 at 9:23 AM, Dirk Behme wrote: > since ages I tried recent mainline (v4.13-rc5) on a custom r8a7795 board. R-Car H3 ES1.x or ES2.0? > I tried with the attachment and picked some patches from > renesas-drivers-2017-08-16-v4.13-rc5 [1] but it doesn't look like any SD

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Dirk Behme
On 17.08.2017 09:33, Geert Uytterhoeven wrote: Hi Dirk, On Thu, Aug 17, 2017 at 9:23 AM, Dirk Behme wrote: since ages I tried recent mainline (v4.13-rc5) on a custom r8a7795 board. R-Car H3 ES1.x or ES2.0? ES2.0 I tried with the attachment and picked some patches from renesas-drivers-2

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Geert Uytterhoeven
Hi Dirk, On Thu, Aug 17, 2017 at 9:44 AM, Dirk Behme wrote: > On 17.08.2017 09:33, Geert Uytterhoeven wrote: >> On Thu, Aug 17, 2017 at 9:23 AM, Dirk Behme >> wrote: >>> since ages I tried recent mainline (v4.13-rc5) on a custom r8a7795 board. >> >> R-Car H3 ES1.x or ES2.0? > > ES2.0 > >>> I tri

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Dirk Behme
On 17.08.2017 09:48, Geert Uytterhoeven wrote: Hi Dirk, On Thu, Aug 17, 2017 at 9:44 AM, Dirk Behme wrote: On 17.08.2017 09:33, Geert Uytterhoeven wrote: On Thu, Aug 17, 2017 at 9:23 AM, Dirk Behme wrote: since ages I tried recent mainline (v4.13-rc5) on a custom r8a7795 board. R-Car H3 E

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

2017-08-17 Thread Simon Horman
On Wed, Aug 16, 2017 at 02:00:37PM +0300, Sergei Shtylyov wrote: > On 08/15/2017 07:00 PM, Simon Horman wrote: > > >Define the generic R8A7745 part of the PFC device node. > > > >Signed-off-by: Sergei Shtylyov > > Reviewed-by: Geert Uytterhoeven > >>> > >>>It looks like the

Re: [PATCH v7] media: platform: Renesas IMR driver

2017-08-17 Thread Hans Verkuil
Hi Sergei, A quick review. I'm concentrating on the mesh ioctl, since that's what sets this driver apart. On 08/04/2017 08:03 PM, Sergei Shtylyov wrote: > Index: media_tree/Documentation/media/v4l-drivers/rcar_imr.rst > === > ---

Re: [PATCH ] gpio: rcar: Add r8a7745 (RZ/G1E) support

2017-08-17 Thread Simon Horman
On Wed, Aug 16, 2017 at 12:12:16PM +0100, Biju Das wrote: > Renesas RZ/G1E (R8A7745) SoC GPIO blocks are identical to the R-Car Gen2 > family. Add support for its GPIO controllers. > > Signed-off-by: Biju Das Acked-by: Simon Horman > --- > This patch is tested against linux-next tag next-20170

Re: [PATCH 3/4] arm: dts: renesas: add cec clock for Koelsch board

2017-08-17 Thread Simon Horman
On Mon, Aug 14, 2017 at 05:34:41PM +0200, Geert Uytterhoeven wrote: > On Sun, Jul 30, 2017 at 3:07 PM, Hans Verkuil wrote: > > From: Hans Verkuil > > Probably the one-line summary should be > > ARM: dts: koelsch: Add CEC clock for HDMI transmitter > > > The adv7511 on the Koelsch board ha

Re: [PATCH] dt-bindings: mmc: sh_mmcif: Document r8a7745 DT bindings

2017-08-17 Thread Simon Horman
On Tue, Aug 15, 2017 at 05:53:27PM +0100, Fabrizio Castro wrote: > Signed-off-by: Fabrizio Castro > Reviewed-by: Chris Paterson Acked-by: Simon Horman > --- > Documentation/devicetree/bindings/mmc/renesas,mmcif.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Do

Re: [PATCH v2 1/8] v4l: vsp1: Protect fragments against overflow

2017-08-17 Thread Kieran Bingham
Hi Laurent, Thanks for your review, On 16/08/17 22:53, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > How about > > if (WARN_ONCE(dlb->num_entries >= dlb->max_entries, > "DLB size exceeded (max %u)", dlb->max_entries)) > return; > >

Re: [PATCH 0/3] arm64: dts: r8a7796: add usb host device nodes

2017-08-17 Thread Simon Horman
On Fri, Aug 04, 2017 at 12:59:19PM +0200, Simon Horman wrote: > On Thu, Aug 03, 2017 at 09:28:41PM +0900, Yoshihiro Shimoda wrote: > > This patch is based on the renesas.git / renesas-devel-20170731v2-v4.13-rc3 > > tag. > > > > For usb2.0 host, we need the following patch: > > https://patchwork.

Re: Status of r8a7795 SDHI support?

2017-08-17 Thread Dirk Behme
On 17.08.2017 09:29, Wolfram Sang wrote: What's the status of SDHI support in mainline and/or renesas-drivers (renesas-drivers-2017-08-16-v4.13-rc5)? I use it daily here, even with SDR104 enabled. On ES2.0? I wonder how if not even the pinmux is there ;) sdhci-pltfm: SDHCI platform and

Re: [PATCH 3/3] arm64: dts: r8a7795: Add USB3.0 host device node

2017-08-17 Thread Simon Horman
On Thu, Aug 03, 2017 at 09:28:44PM +0900, Yoshihiro Shimoda wrote: > Signed-off-by: Yoshihiro Shimoda > --- > arch/arm64/boot/dts/renesas/r8a7796.dtsi | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) I applied this as "arm64: dts: r8a7796: Add USB3.0 host device node" Note the '6'

Re: [PATCH 0/2] arm64: dts: r8a7796: add USB-DMAC and HSUSB device nodes

2017-08-17 Thread Simon Horman
On Fri, Aug 04, 2017 at 01:00:27PM +0200, Simon Horman wrote: > On Thu, Aug 03, 2017 at 09:29:15PM +0900, Yoshihiro Shimoda wrote: > > This patch is based on the renesas.git / renesas-devel-20170731v2-v4.13-rc3 > > tag. > > > > For usb-dmac, we should wait for the following patch (even if we don'

Re: [PATCH] arm64: dts: renesas: r8a77995: add pfc device node

2017-08-17 Thread Simon Horman
On Thu, Aug 10, 2017 at 10:13:19AM +0200, Simon Horman wrote: > On Wed, Aug 09, 2017 at 09:20:47PM +0900, Yoshihiro Shimoda wrote: > > Signed-off-by: Yoshihiro Shimoda > > --- > > > > This patch set is based on the renesas-drivers.git / > > topic/r8a77995-integration branch and depends on the fo

[git pull] clk: renesas: Updates for v4.14

2017-08-17 Thread Geert Uytterhoeven
Hi Mike, Stephen, The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.14-tag1

Re: [PATCH repost 0/2] ARM: shmobile: document iWave's iW-RainboW-G22D-SODIMM RZ/G1E SODIMM development platform

2017-08-17 Thread Simon Horman
On Thu, Aug 10, 2017 at 10:11:48AM +0200, Simon Horman wrote: > On Wed, Aug 09, 2017 at 12:27:38PM +0100, Fabrizio Castro wrote: > > Hello, > > > > This series aims to add the documentation for the device tree bindings > > of the iWave iW-RainboW-G22D-SODIMM RZ/G1E SODIMM development kit: > > http

Re: [PATCH 0/3] Add SMP support

2017-08-17 Thread Simon Horman
On Fri, Aug 11, 2017 at 09:37:45AM +, Biju Das wrote: > Hello, > > > > -Original Message- > > From: Biju Das > > Sent: 10 August 2017 12:19 > > To: 'Simon Horman' > > Cc: 'Rob Herring' ; 'Mark Rutland' > > ; 'Magnus Damm' ; > > 'Russell King' ; Chris Paterson > > ; 'devicet...@vger.k

Re: [RFT] arm64: dts: renesas: salvator-common: enable SDR104 for SD cards

2017-08-17 Thread Simon Horman
On Mon, Aug 14, 2017 at 05:46:54PM +0200, Wolfram Sang wrote: > Hi Simon, > > On Mon, Aug 14, 2017 at 07:10:23AM +0200, Simon Horman wrote: > > On Tue, Aug 08, 2017 at 08:54:45PM +0200, Wolfram Sang wrote: > > > > > > > As it is an "RFT" I'm happy to apply it if you repost > > > > it or otherwise

Re: [PATCH v7] media: platform: Renesas IMR driver

2017-08-17 Thread Hans Verkuil
On 08/17/17 09:59, Hans Verkuil wrote: > Hi Sergei, > > A quick review. I'm concentrating on the mesh ioctl, since that's what sets > this > driver apart. > > On 08/04/2017 08:03 PM, Sergei Shtylyov wrote: > > > >> Index: media_tree/Documentation/media/v4l-drivers/rcar_imr.rst >>

[PATCH] arm64: renesas: salvator-common: avoid audio_clkout naming conflict

2017-08-17 Thread Simon Horman
From: Kuninori Morimoto clock name of "audio_clkout" is used by Renesas sound driver. This duplicated naming breaks its clock registering/unregistering. Especially, when unbind/bind it can't handle clkout correctly. This patch renames "audio_clkout" to "audio-clkout" to avoid naming conflict. Fi

[GIT PULL] Fourth Round of Renesas ARM Based SoC Fixes for v4.13

2017-08-17 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these fourth round of Renesas ARM based SoC fixes for v4.13. This pull request is based on the second round of such requests, tagged as renesas-fixes2-for-v4.13, which I you have already pulled. It is not based on the third round of fixes as they are n

Re: [GIT PULL] Fourth Round of Renesas ARM Based SoC Fixes for v4.13

2017-08-17 Thread Arnd Bergmann
On Thu, Aug 17, 2017 at 10:56 AM, Simon Horman wrote: > Hi Olof, Hi Kevin, Hi Arnd, > > Please consider these fourth round of Renesas ARM based SoC fixes for v4.13. > > This pull request is based on the second round of > such requests, tagged as renesas-fixes2-for-v4.13, > which I you have already

Re: [PATCH 2/2] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig

2017-08-17 Thread Simon Horman
On Wed, Aug 09, 2017 at 11:04:21AM +0200, Simon Horman wrote: > On Tue, Aug 08, 2017 at 02:04:25PM +0100, Biju Das wrote: > > The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). > > To increase hardware support enable the driver in the > > shmobile_defconfig multiplatform configuration. > > > > Sig

RE: [PATCH 2/2] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig

2017-08-17 Thread Biju Das
> -Original Message- > From: Simon Horman [mailto:ho...@verge.net.au] > Sent: 17 August 2017 10:01 > To: Biju Das > Cc: Rob Herring ; Mark Rutland > ; Magnus Damm ; > Russell King ; Chris Paterson > ; devicet...@vger.kernel.org; linux-renesas- > s...@vger.kernel.org; linux-arm-ker...@list

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

2017-08-17 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/sh-pfc-for-v4.14-tag1 for you to

Re: [PATCH 0/4] arm64: dts: renesas: Add Support for R-Car D3 and Draak

2017-08-17 Thread Geert Uytterhoeven
Hi Simon, On Thu, Jul 27, 2017 at 5:16 PM, Simon Horman wrote: > On Thu, Jul 20, 2017 at 02:54:33PM +0200, Geert Uytterhoeven wrote: >> This patch series adds minimal support for the R-Car D3 SoC and the >> Draak development board, allowing to boot from a ramdisk using a serial >> console. >> >>

[ANNOUNCE] Renesas tree closed for v4.14

2017-08-17 Thread Simon Horman
Hi, I would like to stop accepting non-bug-fix patches for v4.14 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.13-rc6, the deadline set by the ARM SoC maintainers. As patches should ideally progress from the renesas tr

[PATCH] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig

2017-08-17 Thread Simon Horman
From: Biju Das The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). To increase hardware support enable the driver in the shmobile_defconfig multiplatform configuration. Signed-off-by: Biju Das Signed-off-by: Simon Horman --- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insertio

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

2017-08-17 Thread Simon Horman
Hi Olof, Hi Kevin, Hi Arnd, Please consider these second round of Renesas ARM based SoC defconfig updates for v4.14. This pull request is based on the previous round of such requests, tagged as renesas-defconfig-for-v4.14, which you have already pulled. The following changes since commit 52078

Re: [GIT PULL] Fourth Round of Renesas ARM Based SoC Fixes for v4.13

2017-08-17 Thread Simon Horman
On Thu, Aug 17, 2017 at 11:01:05AM +0200, Arnd Bergmann wrote: > On Thu, Aug 17, 2017 at 10:56 AM, Simon Horman > wrote: > > Hi Olof, Hi Kevin, Hi Arnd, > > > > Please consider these fourth round of Renesas ARM based SoC fixes for v4.13. > > > > This pull request is based on the second round of >

Re: [PATCH 0/4] arm64: dts: renesas: Add Support for R-Car D3 and Draak

2017-08-17 Thread Simon Horman
On Thu, Aug 17, 2017 at 11:47:33AM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Jul 27, 2017 at 5:16 PM, Simon Horman wrote: > > On Thu, Jul 20, 2017 at 02:54:33PM +0200, Geert Uytterhoeven wrote: > >> This patch series adds minimal support for the R-Car D3 SoC and the > >> Draak deve

[PATCH] dt-bindings: watchdog: renesas-wdt: Add support for the r8a77995 wdt

2017-08-17 Thread Geert Uytterhoeven
Document support for the Watchdog Timer (WDT) Controller in the Renesas R-Car D3 (r8a77995) SoC. No driver update is needed. Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/watchdog/renesas-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicet

[PATCH] dt-bindings: serial: sh-sci: Add support for r8a77995 (H)SCIF

2017-08-17 Thread Geert Uytterhoeven
Document support for the (H)SCIF serial ports in the Renesas R-Car D3 (r8a77995) SoC. No driver update is needed. Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/

[PATCH] arm64: dts: r8a7795-es1: Drop extra zero from usb unit address

2017-08-17 Thread Geert Uytterhoeven
With W=1: arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dtb: Warning (simple_bus_reg): Node /soc/usb@ee040 simple-bus unit address format error, expected "ee04" arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dtb: Warning (simple_bus_reg): Node /soc/usb@ee040 simple-bus

[PATCH] arm64: defconfig: Enable Renesas R8A77995 SoC

2017-08-17 Thread Geert Uytterhoeven
Enable support for the Renesas R-Car D3 SoC. Signed-off-by: Geert Uytterhoeven --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b0cc318abea8fae7..ccca96ff8a19bf89 100644 --- a/arch/arm64/configs

Re: [PATCH v2 3/8] v4l: vsp1: Convert display lists to use new fragment pool

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:26 Kieran Bingham wrote: > Adapt the dl->body0 object to use an object from the fragment pool. > This greatly reduces the pressure on the TLB for IPMMU use cases, as > all of the lists use a single allocation for the main body. > >

Re: [PATCH v2 2/8] v4l: vsp1: Provide a fragment pool

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:25 Kieran Bingham wrote: > Each display list allocates a body to store register values in a dma > accessible buffer from a dma_alloc_wc() allocation. Each of these > results in an entry in the TLB, and a large number of display list

Re: [PATCH] clk: cs2000: Add cs2000_set_saved_rate

2017-08-17 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Jul 21, 2017 at 10:16 PM, Stephen Boyd wrote: > On 04/20, Yoshihiro Kaneko wrote: >> From: Gaku Inami >> >> This patch adds the common function to reset the clk rate in order to >> be able to use it in other cases. >> >> Signed-off-by: Gaku Inami >> Signed-off-by: Hiroyuki Y

Re: [RFC PATCH 1/3] watchdog: renesas_wdt: consistently use RuntimePM for clock management

2017-08-17 Thread Geert Uytterhoeven
On Wed, Jul 26, 2017 at 11:54 PM, Wolfram Sang wrote: > On Renesas R-Car archs, RuntimePM does all the clock handling. So, use > it consistently to enable/disable the clocks. Also make sure that clocks > are really enabled around clk_get_rate(). clk_summary looks proper now: > > cl

Re: [RFC PATCH 2/3] watchdog: renesas_wdt: make 'clk' a variable local to probe()

2017-08-17 Thread Geert Uytterhoeven
On Wed, Jul 26, 2017 at 11:54 PM, Wolfram Sang wrote: > It is not needed outside probe() anymore. > > Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.or

Re: [PATCH v2 4/8] v4l: vsp1: Use reference counting for fragments

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:27 Kieran Bingham wrote: > Extend the display list body with a reference count, allowing bodies to > be kept as long as a reference is maintained. This provides the ability > to keep a cached copy of bodies which will not change, so

Re: [PATCH repost] serial: sh-sci: use of_property_read_bool()

2017-08-17 Thread Geert Uytterhoeven
On Sun, Aug 13, 2017 at 9:11 PM, Sergei Shtylyov wrote: > Use more compact of_property_read_bool() call for a boolean property > instead of of_find_property() call in sci_parse_dt(). > > Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH v2] ARM: debug-ll: Add support for r8a7745

2017-08-17 Thread Geert Uytterhoeven
On Wed, Aug 16, 2017 at 12:20 PM, Fabrizio Castro wrote: > Enable low-level debugging support for RZ/G1E (r8a7745). RZ/G1E uses > SCIF4 for the debug console. > > Signed-off-by: Fabrizio Castro > Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH ] gpio: rcar: Add r8a7745 (RZ/G1E) support

2017-08-17 Thread Geert Uytterhoeven
On Wed, Aug 16, 2017 at 1:12 PM, Biju Das wrote: > Renesas RZ/G1E (R8A7745) SoC GPIO blocks are identical to the R-Car Gen2 > family. Add support for its GPIO controllers. > > Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uy

Re: [PATCH 04/14] pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group

2017-08-17 Thread Geert Uytterhoeven
Hi Kaneko-san, Kihara-san, On Sun, Jul 23, 2017 at 6:32 PM, Yoshihiro Kaneko wrote: > I'm very sorry that for the long delay in my reply. No problem. Likewise, I've been on holidays. > 2017-07-13 18:12 GMT+09:00 Geert Uytterhoeven : >> On Wed, Jul 12, 2017 at 6:55 PM, Yoshihiro Kaneko >> wrot

[PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

2017-08-17 Thread Biju Das
The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). To increase hardware support enable the driver in the multi_v7_defconfig multiplatform configuration. Signed-off-by: Biju Das --- This patch is tested against linux-next tag next-20170817 as well as renesas-dev tag renesas-devel-20170815-v4.13

[RFC PATCH v4 3/6] i2c: add docs to clarify DMA handling

2017-08-17 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- Documentation/i2c/DMA-considerations | 50 1 file changed, 50 insertions(+) create mode 100644 Documentation/i2c/DMA-considerations diff --git a/Documentation/i2c/DMA-considerations b/Documentation/i2c/DMA-considerations new

[RFC PATCH v4 2/6] i2c: add helpers to ease DMA handling

2017-08-17 Thread Wolfram Sang
One helper checks if DMA is suitable and optionally creates a bounce buffer, if not. The other function returns the bounce buffer and makes sure the data is properly copied back to the message. Signed-off-by: Wolfram Sang --- drivers/i2c/i2c-core-base.c | 45 +

[RFC PATCH v4 1/6] i2c: add a message flag for DMA safe buffers

2017-08-17 Thread Wolfram Sang
I2C has no requirement that the buffer of a message needs to be DMA safe. In case it is, it can now be flagged, so drivers wishing to do DMA can use the buffer directly. Signed-off-by: Wolfram Sang --- include/uapi/linux/i2c.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/l

[RFC PATCH v4 0/6] i2c: document DMA handling and add helpers for it

2017-08-17 Thread Wolfram Sang
So, after revisiting old mail threads, taking part in a similar discussion on the USB list, and implementing a not-convincing solution before, here is what I cooked up to document and ease DMA handling for I2C within Linux. Please have a look at the documentation introduced in patch 3 for details.

[RFC PATCH v4 6/6] i2c: dev: mark RDWR buffers as DMA_SAFE

2017-08-17 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- drivers/i2c/i2c-dev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index 6f638bbc922db4..bbc7aadb4c899d 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c @@ -280,6 +280,8 @@ static noinline int i2c

[RFC PATCH v4 5/6] i2c: rcar: skip DMA if buffer is not safe

2017-08-17 Thread Wolfram Sang
This HW is prone to races, so it needs to setup new messages in irq context. That means we can't alloc bounce buffers if a message buffer is not DMA safe. So, in that case, simply fall back to PIO. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-rcar.c | 2 +- 1 file changed, 1 insertion(

[RFC PATCH v4 4/6] i2c: sh_mobile: use helper to decide if DMA is useful

2017-08-17 Thread Wolfram Sang
This ensures that we fall back to PIO if the message length is too small for DMA being useful. Otherwise, we use DMA. A bounce buffer might be applied by the helper if the original message buffer is not DMA safe. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-sh_mobile.c | 8 ++-- 1

[PATCH ] ARM: dts: iwg22d-sodimm: Add pinctl support for scif4

2017-08-17 Thread Biju Das
Adding pinctrl support for scif4 interface. Signed-off-by: Biju Das --- This patch depends upon the below patch series [PATCH 0/2] ARM: dts: Add iWave RZ/G1E board support http://www.spinics.net/lists/devicetree/msg190513.html This patch is tested against renesas-dev tag renesas-devel-20170815

Re: [PATCH v2 8/8] v4l: vsp1: Reduce display list body size

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:31 Kieran Bingham wrote: > The display list originally allocated a body of 256 entries to store all > of the register lists required for each frame. > > This has now been separated into fragments for constant stream setup, and > run

[PATCH 0/2] ARM: dtsi: r8a7745: iwg22m: Add eMMC support

2017-08-17 Thread Fabrizio Castro
This series adds eMMC support to r8a7745 SoC and iW-RainboW-G22M-SM SoM. Testing has been made on top of Renesas's devel branch. The patches contained in this series depend on the following patches: [1/2] ARM: dts: iwg22m: Add iWave RZG1E SODIMM SOM - https://patchwork.kernel.org/patch/9901619/

[PATCH 1/2] ARM: dts: r8a7745: Add MMC interface support

2017-08-17 Thread Fabrizio Castro
Add MMC interface support for r8a7745 SoC. Signed-off-by: Fabrizio Castro --- arch/arm/boot/dts/r8a7745.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index aff90df..e17289f 100644 --- a/arch/arm/boot/dts

[PATCH 2/2] ARM: dtsi: iwg22m: Add eMMC support

2017-08-17 Thread Fabrizio Castro
Add eMMC support for iW-RainboW-G22M-SM. Signed-off-by: Fabrizio Castro --- arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi index 9dbd854..afb1148

Re: [PATCH v2 6/8] v4l: vsp1: Adapt entities to configure into a body

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:29 Kieran Bingham wrote: > Currently the entities store their configurations into a display list. > Adapt this such that the code can be configured into a body fragment > directly, allowing greater flexibility and control of the cont

Re: [PATCH v2 7/8] v4l: vsp1: Move video configuration to a cached dlb

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:30 Kieran Bingham wrote: > We are now able to configure a pipeline directly into a local display > list body. Take advantage of this fact, and create a cacheable body to > store the configuration of the pipeline in the video object.

Re: [PATCH v2 5/8] v4l: vsp1: Refactor display list configure operations

2017-08-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Monday 14 Aug 2017 16:13:28 Kieran Bingham wrote: > The entities provide a single .configure operation which configures the > object into the target display list, based on the vsp1_entity_params > selection. > > This restricts us to a single function protot

Re: [PATCH ] mmc: renesas_sdhi: Add r8a7743/5 support

2017-08-17 Thread Rob Herring
On Mon, Aug 14, 2017 at 12:39:26PM +0100, Biju Das wrote: > Add support for r8a7743/5 SoC. Renesas RZ/G1[ME] (R8A7743/5) SDHI > is identical to the R-Car Gen2 family. > > Signed-off-by: Biju Das > --- > This patch is compiled and tested againt linux next tag > next-20170811. This patch depend on

Re: [PATCH v7] media: platform: Renesas IMR driver

2017-08-17 Thread Sergei Shtylyov
Hello! On 08/17/2017 10:59 AM, Hans Verkuil wrote: A quick review. I'm concentrating on the mesh ioctl, since that's what sets this driver apart. OK, waiting for the detailed review... Index: media_tree/Documentation/media/v4l-drivers/rcar_imr.rst

Re: [PATCH] dt-bindings: mmc: sh_mmcif: Document r8a7745 DT bindings

2017-08-17 Thread Rob Herring
On Tue, Aug 15, 2017 at 05:53:27PM +0100, Fabrizio Castro wrote: > Signed-off-by: Fabrizio Castro > Reviewed-by: Chris Paterson > --- > Documentation/devicetree/bindings/mmc/renesas,mmcif.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Rob Herring

Re: [PATCH ] gpio: rcar: Add r8a7745 (RZ/G1E) support

2017-08-17 Thread Rob Herring
On Wed, Aug 16, 2017 at 12:12:16PM +0100, Biju Das wrote: > Renesas RZ/G1E (R8A7745) SoC GPIO blocks are identical to the R-Car Gen2 > family. Add support for its GPIO controllers. > > Signed-off-by: Biju Das > --- > This patch is tested against linux-next tag next-20170816 as well as > gpio-dev