Re: [RFC PATCH 1/2] i2c: sh_mobile: remove platform_data

2017-06-02 Thread Wolfram Sang
On Thu, May 18, 2017 at 11:11:39PM +0200, Wolfram Sang wrote: > No platform currently upstream makes use of this platform_data anymore. > The ones that did are converted to DT meanwhile. So, remove it. The old > platforms likely don't have the 'clks_per_cnt' feature, otherwise it > would have been

Re: [RFC PATCH 2/2] i2c: sh_mobile: drop needless check for of_node

2017-06-02 Thread Wolfram Sang
On Thu, May 18, 2017 at 11:11:40PM +0200, Wolfram Sang wrote: > After removal of platform_data support, we can simplify OF handling. > of_match_device() evaluates to NULL if !CONFIG_OF or if there is no node > pointer for that device, so we can remove the check for the node ptr. > > Signed-off-by:

Re: [PATCH 2/2] i2c: stub: use pr_fmt

2017-06-02 Thread Wolfram Sang
On Tue, May 16, 2017 at 01:21:05PM +0200, Wolfram Sang wrote: > Instead of hard coding "i2c-stub:", let's use the pr_fmt mechanism to > achieve the same more easily. This makes it easier to stay consistent > when adding new messages. Also, remove an unneeded OOM message while we > are here. > > Si

[PATCH 3/4] ARM: dts: iwg20m: Add iWave RZG1M Qseven SOM

2017-06-02 Thread Biju Das
Add support for iWave RZG1M Qseven System On Module. http://www.iwavesystems.com/rz-g1m-qseven-module.html Signed-off-by: Biju Das Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7743-iwg20m.dtsi | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 arch/ar

[PATCH 0/4] ARM: dts: Add iWave RZ/G1M board support

2017-06-02 Thread Biju Das
Hello, This series aims to add iWave RZ/G1M R8A7743 based Qseven SOM and RainboW-G20D- Qseven board support. This series has been tested against linux-next tag next-20170602. Regards, Biju Das (4): of: Add vendor prefix for iWave Systems Technologies Pvt. Ltd ARM: shmobile: document iW

[PATCH 1/4] of: Add vendor prefix for iWave Systems Technologies Pvt. Ltd

2017-06-02 Thread Biju Das
This patch adds vendor prefix for iWave Systems Technologies Pvt. Ltd. Website: http://www.iwavesystems.com/ Signed-off-by: Biju Das Reviewed-by: Chris Paterson --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 4/4] ARM: dts: iwg20d-q7: Add support for iWave G20D-Q7 board based on RZ/G1M

2017-06-02 Thread Biju Das
Add support for iWave RainboW-G20D-Qseven board based on RZ/G1M. Signed-off-by: Biju Das Reviewed-by: Chris Paterson --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 25 + 2 files changed, 26 insertions(+) create mode 100644

[PATCH 2/4] ARM: shmobile: document iW-RainboW-G20D-Qseven-RZG1M board

2017-06-02 Thread Biju Das
Document the iW-RainboW-G20D-Qseven-RZG1M device tree bindings, listing it as a supported board. This allows to use checkpatch.pl to validate .dts files referring to the iW-RainboW-G20D-Qseven-RZG1M board. Signed-off-by: Biju Das Reviewed-by: Chris Paterson --- Documentation/devicetree/binding

[PATCH v2] ARM: dts: r7s72100: add clock bit definitions

2017-06-02 Thread Chris Brandt
Add the remaining bit locations for the module stop clock registers. Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven --- v2: * Added coresight bit * MCPWM -> PWM * SNDGEN[0-3] -> SG[0-3] * ETHABV -> ETHAVB * SPIMBC[0-1] -> SPIBSC[0-1] * Added SSI[0-5] --- include/dt-bindings/clock/r

Re: SDHI clock imbalance

2017-06-02 Thread Ulf Hansson
On 2 June 2017 at 10:47, Geert Uytterhoeven wrote: > Hi Wolfram, Ulf, Simon, > > While investigating suspend/resume for the R-Car Gen3 clock driver, I > noticed a clock imbalance for SDHI on Salvator-X. > > After boot: > > # head -2 /sys/kernel/debug/clk/clk_summary >clock enable_cnt p

Re: SDHI clock imbalance

2017-06-02 Thread Geert Uytterhoeven
Hi Wolfram, On Fri, Jun 2, 2017 at 11:37 AM, Wolfram Sang wrote: >> While investigating suspend/resume for the R-Car Gen3 clock driver, I >> noticed a clock imbalance for SDHI on Salvator-X. > > Thanks for the heads up! Which branch did you use? > renesas-drivers/master? This is important since w

RE: [PATCH 0/5] usb: gadget: udc: renesas_usb3: add DMAC support

2017-06-02 Thread Felipe Balbi
Hi, Yoshihiro Shimoda writes: > Hi Felipe, > >> -Original Message- >> From: Yoshihiro Shimoda >> Sent: Wednesday, April 26, 2017 8:50 PM >> >> This patch set is based on the latest Feribe's usb.git / testing/next branch >> (the commit id = 28ea6be01e2cf244c461a40c8e9593816f894412.) > >

Re: SDHI clock imbalance

2017-06-02 Thread Wolfram Sang
Hi Geert, > While investigating suspend/resume for the R-Car Gen3 clock driver, I > noticed a clock imbalance for SDHI on Salvator-X. Thanks for the heads up! Which branch did you use? renesas-drivers/master? This is important since we had quite some refactoring going on lately. Regards, Wol

SDHI clock imbalance

2017-06-02 Thread Geert Uytterhoeven
Hi Wolfram, Ulf, Simon, While investigating suspend/resume for the R-Car Gen3 clock driver, I noticed a clock imbalance for SDHI on Salvator-X. After boot: # head -2 /sys/kernel/debug/clk/clk_summary clock enable_cnt prepare_cnt rate accuracy phase --