Re: [PATCH/RFT] arm64: dts: renesas: r8a77990: Enable I2C DMA

2018-11-23 Thread Geert Uytterhoeven
On Sat, Oct 20, 2018 at 11:35 PM Yoshihiro Kaneko wrote: > From: Takeshi Kihara > > This patch enables I2C DMA. > > NOTE: I2C7 DMA is not supported by R-Car Gen3 Hardware User's Manual > Rev.0.80E. > > Signed-off-by: Takeshi Kihara > Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert

Re: [PATCH] mmc: tmio: introduce mask for 'always 1' bits

2018-11-23 Thread Wolfram Sang
> > > > +#define TMIO_STAT_ALWAYS_SET_27BIT(27) /* only known on R-Car > > > > 2+ so far */ > > > > > > The _27 seems to be odd to include in the name, but I assume it > > > was the least bad option you could come up with. > > > > Yes :) I am open for better suggestions. > > Simply

Re: [PATCH] mmc: tmio: introduce mask for 'always 1' bits

2018-11-23 Thread Niklas Söderlund
Hi Wolfram, Thanks for your work. On 2018-11-23 13:57:32 +0100, Simon Horman wrote: > On Thu, Nov 22, 2018 at 03:06:59PM +0100, Wolfram Sang wrote: > > > > > > +#define TMIO_STAT_ALWAYS_SET_27BIT(27) /* only known on R-Car > > > > 2+ so far */ > > > > > > The _27 seems to be odd to

Re: [PATCH 4/4] clk: renesas: r8a77980-cpg-mssr: add RPC clocks

2018-11-23 Thread Geert Uytterhoeven
Hi Sergei, Thanks for your patch! On Thu, Nov 22, 2018 at 7:45 PM Sergei Shtylyov wrote: > Add the RPCSRC internal clock on R-Car V3H (R8A77980) -- it's controlled > by the RPCCKCR.DIV[4:3] on all the R-Car gen3 SoCs except V3M (R8A77970) > but the encoding of this field is different between

Re: [PATCH 3/4] clk: renesas: rcar-gen3-cpg: add RPCD2 clock

2018-11-23 Thread Geert Uytterhoeven
Hi Sergei, On Thu, Nov 22, 2018 at 7:43 PM Sergei Shtylyov wrote: > Add the RPCD2 clock for the R-Car gen3 SoCs -- this clock is en/disabled > via the RPCCKCR register on all the R-Car gen3 SoCs except V3M (R8A77970) > and has a fixed divisor of 2 (applied to the RPC clock). > > Signed-off-by:

Re: [PATCH] mmc: tmio: introduce mask for 'always 1' bits

2018-11-23 Thread Simon Horman
On Thu, Nov 22, 2018 at 03:06:59PM +0100, Wolfram Sang wrote: > > > > +#define TMIO_STAT_ALWAYS_SET_27 BIT(27) /* only known on R-Car 2+ so > > > far */ > > > > The _27 seems to be odd to include in the name, but I assume it > > was the least bad option you could come up with. > > Yes :) I am

Re: [PATCH 2/4] clk: renesas: rcar-gen3-cpg: add RPC clock

2018-11-23 Thread Geert Uytterhoeven
Hi Sergei, On Thu, Nov 22, 2018 at 7:41 PM Sergei Shtylyov wrote: > Add the RPC clock for the R-Car gen3 SoCs -- this clock is controlled by > the RPCCKCR register on all the R-Car gen3 SoCs except V3M (R8A77970). > > Signed-off-by: Sergei Shtylyov Thanks for your patch! > ---

Re: [PATCH/RFT] arm64: dts: renesas: r8a77990: add thermal device support

2018-11-23 Thread Simon Horman
On Wed, Oct 17, 2018 at 11:58:29AM +0200, Simon Horman wrote: > On Mon, Oct 15, 2018 at 11:12:26PM +0900, Yoshihiro Kaneko wrote: > > This patch adds the thermal device node and the thermal-zone for > > the R8A77990 SoC. > > > > Signed-off-by: Yoshihiro Kaneko > Thanks, > > This looks fine to

Re: [PATCH/RFT] arm64: dts: renesas: r8a77990: Enable I2C DMA

2018-11-23 Thread Simon Horman
On Wed, Nov 21, 2018 at 01:02:57PM +0100, Simon Horman wrote: > On Sun, Oct 21, 2018 at 06:35:26AM +0900, Yoshihiro Kaneko wrote: > > From: Takeshi Kihara > > > > This patch enables I2C DMA. > > > > NOTE: I2C7 DMA is not supported by R-Car Gen3 Hardware User's Manual > > Rev.0.80E. > > > >

Re: [PATCH] arm64: dts: renesas: r8a7796: Add CMT device nodes

2018-11-23 Thread Simon Horman
On Wed, Nov 21, 2018 at 10:27:41AM +, Biju Das wrote: > Hi Simon, > > Thanks for the feedback. > > > -Original Message- > > From: Simon Horman > > Sent: 21 November 2018 10:24 > > To: Biju Das > > Cc: Rob Herring ; Mark Rutland > > ; Magnus Damm ; > >

Re: [PATCH] arm64: dts: renesas: r8a7796: add SSIU support for sound

2018-11-23 Thread Simon Horman
On Wed, Nov 21, 2018 at 11:58:59PM +, Kuninori Morimoto wrote: > > Hi Simon > > > > From: Kuninori Morimoto > > > > > > rsnd driver supports SSIU now, let's use it. > > > Then, BUSIF DMA settings on rcar_sound,ssi (= rxu, txu) are > > > no longer needed. > > > To avoid git merge timing

Re: [PATCH v2] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node

2018-11-23 Thread Simon Horman
On Fri, Nov 23, 2018 at 10:21:39AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Nov 21, 2018 at 1:12 PM Simon Horman > wrote: > > > > From: Takeshi Kihara > > > > This patch adds I2C-DVFS device node for the R8A77990 SoC. > > > > v2 > > * Drop aliases update as in upstream it is

Re: [PATCH] gpio: rcar: reference device instead of platform device

2018-11-23 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 9:19 PM Vladimir Zapolskiy wrote: > The change simplifies dereferences to the mediated struct device, also > it allows to limit the scope of the platform device usage to probe and > remove functions only. > > Non-functional change. > > Signed-off-by: Vladimir Zapolskiy

Re: [PATCH 1/4] clk: renesas: rcar-gen3-cpg: factor out cpg_reg_modify()

2018-11-23 Thread Geert Uytterhoeven
On Thu, Nov 22, 2018 at 7:39 PM Sergei Shtylyov wrote: > There's quite often repeated sequence of a CPG register read-modify-write, > so it seems worth factoring it out into a function -- this saves 68 bytes > of the object code already (AArch64 gcc 4.8.5) and will save more with the > next

Re: [PATCH 1/2] i2c: sh_mobile: document support for r8a77990 (R-Car E3)

2018-11-23 Thread Geert Uytterhoeven
On Wed, Nov 21, 2018 at 1:11 PM Simon Horman wrote: > Document support for the IIC code for the r8a77990 (R-Car E3). > > It is not considered compatible with existing fallback bindings > due to the documented absence of automatic transmission registers. > > Signed-off-by: Simon Horman

Re: [PATCH 2/2] i2c: sh_mobile: add support for r8a77990 (R-Car E3)

2018-11-23 Thread Geert Uytterhoeven
On Wed, Nov 21, 2018 at 1:11 PM Simon Horman wrote: > Add support for the IIC code for the r8a77990 (R-Car E3). > > It is not considered compatible with existing fallback bindings > due to the documented absence of automatic transmission registers. > > These registers are currently not used by

Re: [PATCH v2] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node

2018-11-23 Thread Geert Uytterhoeven
Hi Simon, On Wed, Nov 21, 2018 at 1:12 PM Simon Horman wrote: > > From: Takeshi Kihara > > This patch adds I2C-DVFS device node for the R8A77990 SoC. > > v2 > * Drop aliases update as in upstream it is not required to configure the > BD9571 PMIC for DDR backup, nor is the use of i2c are

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

2018-11-23 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) 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.21-tag1 for you to

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

2018-11-23 Thread Geert Uytterhoeven
Hi Mike, Stephen, The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) 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.21-tag1

Re: [PATCH v7 0/2] pinctrl: Add RZ/A2 pin and gpio driver

2018-11-23 Thread Geert Uytterhoeven
Hi Chris, On Thu, Nov 15, 2018 at 5:15 PM Chris Brandt wrote: > The pin controller in the RZ/A2 is nothing like the pin controller in > the RZ/A1. That's a good thing! This pin controller is much more simple > and easier to configure. > > So, this driver is faily simple (I hope). Thanks, qeuing