Re: [PATCH] dt-bindings: rcar-dmac: Document r8a77470 support

2018-04-03 Thread Vinod Koul
On Thu, Mar 29, 2018 at 11:11:06AM +0100, Biju Das wrote: > Renesas RZ/G SoC also have the R-Car gen2/3 compatible DMA controllers. > Document RZ/G1C (also known as R8A77470) SoC bindings. Applied, thanks -- ~Vinod

Re: [PATCH] dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks

2018-04-03 Thread Vinod Koul
On Thu, Mar 29, 2018 at 06:53:32PM +0200, Geert Uytterhoeven wrote: > If serial console wake-up is enabled ("echo enabled > > /sys/.../ttySC0/power/wakeup"), and any serial input is received while > the system is suspended, serial port input no longer works after system > resume. > > Note that: >

Re: [PATCH v13 17/33] rcar-vin: cache video standard

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:40 EEST Niklas Söderlund wrote: > At stream on time the driver should not query the subdevice for which > standard are used. Instead it should be cached when userspace sets the > standard and used at stream on time. > >

Re: [PATCH v13 16/33] rcar-vin: simplify how formats are set and reset

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:39 EEST Niklas Söderlund wrote: > With the recent cleanup of the format code to prepare for Gen3 it's > possible to simplify the Gen2 format code path as well. Clean up the > process by defining two functions to handle the set

[PATCH] mmc: tmio: Fix error handling when issuing CMD23

2018-04-03 Thread Wolfram Sang
From: Masaharu Hayakawa If an error was detected when CMD23 was issued, command sequence should be terminated with errors and CMD23 should be issued after retuning. Fixes: 8b22c3c18be5 ("mmc: tmio: add CMD23 support") Signed-off-by: Masaharu Hayakawa

Re: [PATCH v13 12/33] rcar-vin: fix handling of single field frames (top, bottom and alternate fields)

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:35 EEST Niklas Söderlund wrote: > There was never proper support in the VIN driver to deliver ALTERNATING > field format to user-space, remove this field option. The problem is > that ALTERNATING field order requires the

Re: [PATCH v13 15/33] rcar-vin: break out format alignment and checking

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:38 EEST Niklas Söderlund wrote: > Part of the format alignment and checking can be shared with the Gen3 > format handling. Break that part out to a separate function. > > Signed-off-by: Niklas Söderlund

Re: [PATCH v13 22/33] rcar-vin: use different v4l2 operations in media controller mode

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:45 EEST Niklas Söderlund wrote: > When the driver runs in media controller mode it should not directly > control the subdevice instead userspace will be responsible for > configuring the pipeline. To be able to run in this mode

Re: [PATCH v13 23/33] rcar-vin: force default colorspace for media centric mode

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:46 EEST Niklas Söderlund wrote: > The V4L2 specification clearly documents the colorspace fields as being > set by drivers for capture devices. Using the values supplied by > userspace thus wouldn't comply with the API. Until

Re: [PATCH v13 29/33] rcar-vin: add link notify for Gen3

2018-04-03 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Tuesday, 27 March 2018 00:44:52 EEST Niklas Söderlund wrote: > Add the ability to process media device link change requests. Link > enabling is a bit complicated on Gen3, whether or not it's possible to > enable a link depends on what other links already

Re: [PATCH] i2c: rcar: initialize earlier using subsys_initcall()

2018-04-03 Thread Wolfram Sang
> Thus putting an I2C master controller device driver to the same late > init level means that due to the concurrency there will be lots of > probe defers of endpoint device drivers, and making "heavy" device > drivers like rcar-vin to be run in asyncronous probe increases boot > time dispersion

Re: [PATCH] i2c: rcar: initialize earlier using subsys_initcall()

2018-04-03 Thread Vladimir Zapolskiy
Hi Wolfram, On 04/03/2018 06:55 PM, Wolfram Sang wrote: > Hi Vladimir and Eugeniu, > >> The purpose of this patch looks pretty similar to: >> 104522806a7d ("i2c: designware: dw_i2c_init_driver as subsys initcall") >> 74f56c4ad4e4 ("i2c-bfin-twi: move setup to the earlier subsys initcall") >>

Re: [PATCH] i2c: rcar: initialize earlier using subsys_initcall()

2018-04-03 Thread Wolfram Sang
Hi Vladimir and Eugeniu, > The purpose of this patch looks pretty similar to: > 104522806a7d ("i2c: designware: dw_i2c_init_driver as subsys initcall") > 74f56c4ad4e4 ("i2c-bfin-twi: move setup to the earlier subsys initcall") > b8680784875b ("i2c-gpio: Move initialization code to

RE:Siemens touch panel linux-renesas-soc xzzhzwytzjenp7nsfssx

2018-04-03 Thread SIMATIC
Dear Sir/Madam:   How are you today? This is Chris from Kernal Automation company, sending the best wish to you and wishing you all the best. We are a professional industry controller related company from Huizhou China, reselling well known brand original PLC, HMI, Inverter,

Re: [PATCH v13 00/33] rcar-vin: Add Gen3 with media controller

2018-04-03 Thread Laurent Pinchart
Hi Hans, On Tuesday, 3 April 2018 15:30:40 EEST Hans Verkuil wrote: > On 26/03/18 23:44, Niklas Söderlund wrote: > > Hi, > > > > This series adds Gen3 VIN support to rcar-vin driver for Renesas r8a7795, > > r8a7796 and r8a77970. It is based on the media-tree and depends on > > Fabrizio Castro

Re: [PATCH v13 00/33] rcar-vin: Add Gen3 with media controller

2018-04-03 Thread Kieran Bingham
Hi Hans, On 03/04/18 13:30, Hans Verkuil wrote: > On 26/03/18 23:44, Niklas Söderlund wrote: >> Hi, >> >> This series adds Gen3 VIN support to rcar-vin driver for Renesas r8a7795, >> r8a7796 and r8a77970. It is based on the media-tree and depends on >> Fabrizio Castro patches as they touches the

renesas-drivers-2018-04-03-v4.16

2018-04-03 Thread Geert Uytterhoeven
I have pushed renesas-drivers-2018-04-03-v4.16 to https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git This tree is meant to ease development of platform support and drivers for Renesas ARM SoCs. It is created by merging (a) the for-next branches of various subsystem trees and

[PATCH/RFT v3 2/3] dt-bindings: thermal: rcar-thermal: add R8A77995 support

2018-04-03 Thread Yoshihiro Kaneko
Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH/RFT v3 3/3] arm64: dts: renesas: r8a77995: add thermal device support

2018-04-03 Thread Yoshihiro Kaneko
Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi

[PATCH/RFT v3 0/3] thermal: add support for r8a77995

2018-04-03 Thread Yoshihiro Kaneko
This series adds thermal support for r8a77995. R-Car D3 (r8a77995) have a thermal sensor module which is similar to Gen2. Therefore this series adds r8a77995 support to rcar_thermal driver not rcar_gen3_thermal driver. This series is based on the next branch of Zhang Rui's linux tree. v3

[PATCH/RFT v3 1/3] thermal: rcar_thermal: add r8a77995 support

2018-04-03 Thread Yoshihiro Kaneko
Add support for R-Car D3 (r8a77995) thermal sensor. Signed-off-by: Yoshihiro Kaneko --- drivers/thermal/rcar_thermal.c | 154 - 1 file changed, 122 insertions(+), 32 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c

Re: [PATCH v6 1/3] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-04-03 Thread jacopo mondi
Hi Rob, sorry for pointing to you directly :) On Mon, Apr 02, 2018 at 04:36:55PM +0300, Laurent Pinchart wrote: > Hi Vladimir, > > On Tuesday, 27 March 2018 14:03:25 EEST Vladimir Zapolskiy wrote: > > On 03/27/2018 01:10 PM, jacopo mondi wrote: > > > On Tue, Mar 27, 2018 at 12:37:31PM +0300,

Re: [PATCH v13 00/33] rcar-vin: Add Gen3 with media controller

2018-04-03 Thread Hans Verkuil
On 26/03/18 23:44, Niklas Söderlund wrote: > Hi, > > This series adds Gen3 VIN support to rcar-vin driver for Renesas r8a7795, > r8a7796 and r8a77970. It is based on the media-tree and depends on > Fabrizio Castro patches as they touches the order of the compatible > strings in the documentation

Re: [PATCH 4/5] clk: renesas: r8a7792: Fix LB clock divider

2018-04-03 Thread Geert Uytterhoeven
Hi Fabrizio, On Tue, Apr 3, 2018 at 12:17 PM, Fabrizio Castro wrote: >> Subject: [PATCH 4/5] clk: renesas: r8a7792: Fix LB clock divider >> >> The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where >> the LB clock divider depends on the value of

Re: [PATCH v2 3/8] clk: renesas: Add r8a77470 CPG Core Clock Definitions

2018-04-03 Thread Geert Uytterhoeven
Hi Biju, On Wed, Mar 28, 2018 at 9:26 PM, Biju Das wrote: > Add all RZ/G1C Clock Pulse Generator Core Clock Outputs, as listed in > Table 7.2 ("List of Clocks [RZ/G1C]") of the RZ/G1C Hardware User's > Manual. > > Signed-off-by: Biju Das >

[PATCH v3 3/3] ARM: dts: iwg23s-sbc: Add support for iWave G23S-SBC based on RZ/G1C

2018-04-03 Thread Biju Das
Add support for iWave iW-RainboW-G23S single board computer based on RZ/G1C. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- V1->V2: * Incorporated review comments

[PATCH v3 0/3] Add r8a77470/iW-RainboW-G23S single board computer support

2018-04-03 Thread Biju Das
Hello, This series adds support for Rensas RZ/G1C (r8a77470) SoC and RZ/G1C based iW-RainboW-G23S single board computer. The series introduces a cpg-mssr clock/power gating module, a power/reset controller for the SoC. power areas for RZ/G1C are similar to RZ/G1E. Few functionalities have

[PATCH v3 1/3] serial: sh-sci: Document r8a77470 bindings

2018-04-03 Thread Biju Das
RZ/G1C (R8A77470) SoC also has the R-Car gen2 compatible SCIF and HSCIF ports, so document the SoC specific bindings. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven

[PATCH v3 2/3] ARM: dts: r8a77470: Initial SoC device tree

2018-04-03 Thread Biju Das
The initial R8A77470 SoC device tree including CPU0, GIC, timer, SYSC, RST, CPG, and the required clock descriptions. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven ---

Re: [PATCH/RFT v2 1/3] thermal: rcar_thermal: add r8a77995 support

2018-04-03 Thread Yoshihiro Kaneko
Hi Geert-san, 2018-03-30 18:25 GMT+09:00 Geert Uytterhoeven : > Hi Kaneko-san, > > On Fri, Mar 30, 2018 at 5:13 AM, Yoshihiro Kaneko > wrote: >> Add support for R-Car D3 (r8a77995) thermal sensor. >> >> Signed-off-by: Yoshihiro Kaneko

Re: [PATCH/RFT v2 0/3] thermal: add support for r8a77995

2018-04-03 Thread Yoshihiro Kaneko
Hi Simon-san, 2018-03-30 22:49 GMT+09:00 Simon Horman : > On Fri, Mar 30, 2018 at 12:13:00PM +0900, Yoshihiro Kaneko wrote: >> This series adds thermal support for r8a77995. >> R-Car D3 (r8a77995) have a thermal sensor module which is similar to Gen2. >> Therefore this series

RE: [PATCH 5/5] clk: renesas: r8a7794: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
Hello Geert, > Subject: [PATCH 5/5] clk: renesas: r8a7794: Fix LB clock divider > > The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where > the LB clock divider depends on the value of the MD18 pin. > > On R-Car E2, the LB clock divider is fixed to 24. Hence model the clock > as

RE: [PATCH 3/5] clk: renesas: r8a7791/r8a7793: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
> Subject: [PATCH 3/5] clk: renesas: r8a7791/r8a7793: Fix LB clock divider > > The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where > the LB clock divider depends on the value of the MD18 pin. > > On R-Car M2-W and M2-N, the LB clock divider is fixed to 24. Hence > model the

RE: [PATCH 4/5] clk: renesas: r8a7792: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
Hello Geert > Subject: [PATCH 4/5] clk: renesas: r8a7792: Fix LB clock divider > > The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where > the LB clock divider depends on the value of the MD18 pin. > > On R-Car V2H, the LB clock divider is fixed to 24. Hence model the > clock as

RE: [PATCH 2/5] clk: renesas: r8a7745: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
> Subject: [PATCH 2/5] clk: renesas: r8a7745: Fix LB clock divider > > The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where > the LB clock divider depends on the value of the MD18 pin. > > On RZ/G1E, the LB clock divider is fixed to 24. Hence model the clock > as a fixed factor

RE: [PATCH 1/5] clk: renesas: r8a7743: Fix LB clock divider

2018-04-03 Thread Fabrizio Castro
> Subject: [PATCH 1/5] clk: renesas: r8a7743: Fix LB clock divider > > The CLK_TYPE_GEN2_LB clock type is meant for SoCs like R-Car H2, where > the LB clock divider depends on the value of the MD18 pin. > > On RZ/G1M, the LB clock divider is fixed to 24. Hence model the clock > as a fixed factor

RE: [PATCH v2 6/8] ARM: dts: r8a77470: Initial SoC device tree

2018-04-03 Thread Biju Das
Hi Simon & Geert, Thanks for feedback. > On Wed, Mar 28, 2018 at 08:26:14PM +0100, Biju Das wrote: > > The initial R8A77470 SoC device tree including CPU0, GIC, timer, SYSC, > > RST, CPG, and the required clock descriptions. > > > > Signed-off-by: Biju Das > >