Re: [PATCH 00/39 v2] ASoC: add simple-card-core and standardize "simple" card

2016-06-29 Thread Kuninori Morimoto
Hi Mark > > These are v2 of simple-card cleanup patches. > > I've said this a few times before but *please* try to make these patch > serieses smaller. A 20 patch series is a large patch series, this is > twice that size... I'm sorry, this was from my misunderstanding. v3 will be more small

Re: [PATCH 06/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_dailink_name()

2016-06-29 Thread Kuninori Morimoto
Hi Mark > > From: Kuninori Morimoto > > > > Current simple-card is creating dai_link->name / dai_link->stream_name. > > These are based on CPU + Codec name. > > It can be "fe.CPU" or "be.Codec" if it was DPCM. > > This patch adds simple card common function

Re: [PATCH 07/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_card_name()

2016-06-29 Thread Kuninori Morimoto
Hi Mark > > + if (!card->name) > > + card->name = card->dai_link->name; > > This will unconditionally defererence dai_link but it's optional - we > can have analogue only cards. This is not new feature. Current simple-card already has it. commit

RE: [PATCH] phy: rcar-gen3-usb2: fix mutex_lock calling in interrupt

2016-06-29 Thread Yoshihiro Shimoda
Hi, > From: Kishon Vijay Abraham I > Sent: Wednesday, June 29, 2016 11:04 PM > > +Chanwoo > > Hi, > > On Monday 27 June 2016 12:06 PM, Yoshihiro Shimoda wrote: > > This patch fixes an issue that the extcon_set_cable_state_() is possible > > to cause "BUG: scheduling while atomic" because this

Re: [PATCH 09/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_clk()

2016-06-29 Thread Kuninori Morimoto
Hi Mark, again > > > + struct clk *clk; > > > + u32 val; > > > + > > > + /* > > > + * Parse dai->sysclk come from "clocks = <>" > > > + * (if system has common clock) > > > + * or "system-clock-frequency = " > > > + * or device's module clock. > > > + */ > > > + clk = of_clk_get(port_np,

Re: [PATCH 09/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_clk()

2016-06-29 Thread Kuninori Morimoto
Hi Mark > > + struct clk *clk; > > + u32 val; > > + > > + /* > > +* Parse dai->sysclk come from "clocks = <>" > > +* (if system has common clock) > > +* or "system-clock-frequency = " > > +* or device's module clock. > > +*/ > > + clk = of_clk_get(port_np, 0); > > +

Re: [PATCH 05/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_tdm()

2016-06-29 Thread Kuninori Morimoto
Hi Mark > > +int asoc_simple_card_parse_tdm(struct device_node *port_np, > > + struct asoc_simple_dai *simple_dai) > > +{ > > + return snd_soc_of_parse_tdm_slot(port_np, > > +_dai->tx_slot_mask, > > +

Re: [PATCH 0/4] R-Car Gen3 DU enablement on Salvator-X board

2016-06-29 Thread Laurent Pinchart
Hi Simon, The FCP DT bindings have been merged upstream, could you apply patches 1/4 and 2/4 from this series to your tree ? I'll retest patch 3/4 and 4/4 and then ask you to apply them as well. On Sunday 24 Apr 2016 03:34:51 Laurent Pinchart wrote: > Hello, > > This patch series enables DU

[GIT PULL FOR renesas-drivers v2] mmc: renesas_sdhi: add R-Car Gen-3 DMA support

2016-06-29 Thread Simon Horman
Hi Geert, please consider pulling a prototype to modularise SDHI DMA to the extent that multiple providers may be built into the same kernel/module and provide SDHI DMA support for R-Car Gen3. As these changes rename files, which may lead to conflicts with mainline, I will entirely understand if

[PATCH/RFC v2 3/5] mmc: tmio: add max_segs and max_blk_count in tmio_mmc_data

2016-06-29 Thread Simon Horman
From: Yoshihiro Shimoda To change each value from related driver (e.g. sh_mobile_sdhi driver), this patch adds these member in the struct tmio_mmc_data. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Ai Kyuse

[PATCH/RFC v2 1/5] mmc: sh_mobile_sdhi, tmio: make dma more modular

2016-06-29 Thread Simon Horman
Refactor DMA support to allow it to be provided by a set of call-backs that are provided by a host driver. The motivation is to allow multiple DMA implementations to be provided and instantiated at run-time. Instantiate the existing DMA implementation from the sh_mobile_sdhi driver which appears

[PATCH/RFC v2 2/5] mmc: sh_mobile_sdhi: rename DMA source file as renesas_sdhi_sysc_dmac.c

2016-06-29 Thread Simon Horman
Rename the source file for DMA for SDHI as a follow-up to attaching DMA code to the SDHI driver rather than the tmio_core driver and prepartation for allowing more than one DMA provider. The name Renesas is chosen as the the SDHI driver is applicable to a wider range of SoCs than SH-Mobile,

[PATCH/RFC v2 5/5] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC

2016-06-29 Thread Simon Horman
From: Yoshihiro Shimoda R-Car Gen3 has a dedicated DMA controller for SDHI module. Since the DMAC is in a part of SDHI module and is not suitable as dmaengine, this patch adds a different code as tmio_mmc_dma_gen3.c. Signed-off-by: Yoshihiro Shimoda

[PATCH/RFC v2 0/5] mmc: renesas_sdhi: add R-Car Gen-3 DMA support

2016-06-29 Thread Simon Horman
Hi, this short series adds support for R-Car Gen-3 Internal DMAC to the SDHI driver. The approach taken is as follows: 1. Refactor the TMIO DMA code so that it is provided by a set of callbacks rather than compiled-in function calls; Refactor the DMA SDHI to use this. 2. Rename

[PATCH 1/2] pinctrl: sh-pfc: fix overly long lines

2016-06-29 Thread Sergei Shtylyov
The PORT_GP_CFG_() macros take up more than 80 columns -- and not for a good reason. Make the header file checkpatch.pl-proof at least in this respect... Signed-off-by: Sergei Shtylyov --- drivers/pinctrl/sh-pfc/sh_pfc.h | 95

[PATCH 0/2] Add Renesas R8A7792 PFC support

2016-06-29 Thread Sergei Shtylyov
Hello. Here's the set of 2 patches against the 'devel' branch of Linus Walleij's 'linux-pinctrl.git' repo. Here we add the PFC support for the Renesas R8A7792 SoC (with a prior header cleanup). [1/2] pinctrl: sh-pfc: fix overly long lines [2/2] pinctrl: sh-pfc: add R8A7792 PFC support WBR,

Re: [PATCH 07/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_card_name()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:01:34AM +, Kuninori Morimoto wrote: > + if (!card->name) > + card->name = card->dai_link->name; This will unconditionally defererence dai_link but it's optional - we can have analogue only cards. signature.asc Description: PGP signature

Re: [PATCH 10/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_endpoint()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:03:00AM +, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > simple-card needs to get its dai name and endpoint node. > This patch makes it simple style standard I'm finding these descriptions very clear and hard to follow,

Applied "ASoC: add new simple-card-utils.c" to the asoc tree

2016-06-29 Thread Mark Brown
The patch ASoC: add new simple-card-utils.c has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Applied "ASoC: simple-card: add new asoc_simple_jack and use it" to the asoc tree

2016-06-29 Thread Mark Brown
The patch ASoC: simple-card: add new asoc_simple_jack and use it has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH 08/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_card_prefix()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:01:58AM +, Kuninori Morimoto wrote: > +int asoc_simple_card_parse_card_prefix(struct snd_soc_card *card, > +struct snd_soc_dai_link *dai_link, > +struct snd_soc_codec_conf *codec_conf, > +

Re: [PATCH 09/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_clk()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:02:22AM +, Kuninori Morimoto wrote: > + struct clk *clk; > + u32 val; > + > + /* > + * Parse dai->sysclk come from "clocks = <>" > + * (if system has common clock) > + * or "system-clock-frequency = " > + * or device's module clock.

Re: [PATCH 00/39 v2] ASoC: add simple-card-core and standardize "simple" card

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 08:56:55AM +, Kuninori Morimoto wrote: > Hi Mark > > These are v2 of simple-card cleanup patches. I've said this a few times before but *please* try to make these patch serieses smaller. A 20 patch series is a large patch series, this is twice that size...

Re: [PATCH 06/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_dailink_name()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:01:09AM +, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current simple-card is creating dai_link->name / dai_link->stream_name. > These are based on CPU + Codec name. > It can be "fe.CPU" or "be.Codec" if it was DPCM. >

Re: [PATCH 05/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_tdm()

2016-06-29 Thread Mark Brown
On Tue, May 31, 2016 at 09:00:40AM +, Kuninori Morimoto wrote: > +int asoc_simple_card_parse_tdm(struct device_node *port_np, > +struct asoc_simple_dai *simple_dai) > +{ > + return snd_soc_of_parse_tdm_slot(port_np, > +

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Paul E. McKenney
On Wed, Jun 29, 2016 at 07:52:06PM +0200, Geert Uytterhoeven wrote: > Hi Paul, > > On Wed, Jun 29, 2016 at 6:44 PM, Paul E. McKenney > wrote: > > On Wed, Jun 29, 2016 at 04:54:44PM +0200, Geert Uytterhoeven wrote: > >> On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney

Re: [git pull] clk: renesas: Updates for v4.8 (take two)

2016-06-29 Thread Stephen Boyd
On 06/29, Geert Uytterhoeven wrote: > > Thanks, but it seems something went wrong: commit d9cce3a8ebb871c5 is not a > merge commit, but the combination of all 7 commits from the pull request? Hmm... weird. I fixed it now. > > > unless you really need it. Just use readl/writel directly. I > >

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Geert Uytterhoeven
Hi Paul, On Wed, Jun 29, 2016 at 6:44 PM, Paul E. McKenney wrote: > On Wed, Jun 29, 2016 at 04:54:44PM +0200, Geert Uytterhoeven wrote: >> On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney >> wrote: >> > On Wed, Jun 22, 2016 at 07:47:42PM

Re: [PATCH 4/4] PM / Runtime: Defer resuming of the device in pm_runtime_force_resume()

2016-06-29 Thread Ulf Hansson
On 28 June 2016 at 18:26, Geert Uytterhoeven wrote: > Hi Ulf, Rafael, > > On Tue, May 17, 2016 at 1:41 PM, Ulf Hansson wrote: >> When the pm_runtime_force_suspend|resume() helpers were invented, we still >> had CONFIG_PM_RUNTIME and CONFIG_PM_SLEEP

Re: [PATCH] ARM: dts: r8a7792: add SMP support

2016-06-29 Thread Sergei Shtylyov
Hello. On 06/21/2016 01:31 AM, Sergei Shtylyov wrote: Add the device tree nodes for the Advanced Power Management Unit (APMU) and the second Cortex-A15 CPU core. Use the "enable-method" prop to point out that the APMU should be used for the SMP support. Signed-off-by: Sergei Shtylyov

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Paul E. McKenney
On Wed, Jun 29, 2016 at 04:54:44PM +0200, Geert Uytterhoeven wrote: > Hi Paul, > > On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney > wrote: > > On Wed, Jun 22, 2016 at 07:47:42PM -0700, Paul E. McKenney wrote: [ . . . ] > > @@ -4720,11 +4720,18 @@ static void

[PATCH] pinctrl: sh-pfc: r8a7795: Add bias pinconf support

2016-06-29 Thread Ulrich Hecht
Implements pull-up and pull-down. On this SoC there is no simple mapping of GP pins to bias register bits, so we need a table. Signed-off-by: Ulrich Hecht --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 254 +-- 1 file changed, 242

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Geert Uytterhoeven
Hi Paul, On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney wrote: > On Wed, Jun 22, 2016 at 07:47:42PM -0700, Paul E. McKenney wrote: >> On Thu, Jun 23, 2016 at 11:37:56AM +0900, Joonsoo Kim wrote: >> > On Wed, Jun 22, 2016 at 05:49:35PM -0700, Paul E. McKenney wrote:

Re: [PATCH] phy: rcar-gen3-usb2: fix mutex_lock calling in interrupt

2016-06-29 Thread Kishon Vijay Abraham I
+Chanwoo Hi, On Monday 27 June 2016 12:06 PM, Yoshihiro Shimoda wrote: > This patch fixes an issue that the extcon_set_cable_state_() is possible > to cause "BUG: scheduling while atomic" because this driver calls > extcon_set_cable_state_() in the interrupt handler and mutex_lock() Doesn't

Re: [PATCH 1/4] pinctrl: sh-pfc: Initial R8A7796 PFC support

2016-06-29 Thread Geert Uytterhoeven
Hi Ulrich, On Tue, Jun 28, 2016 at 11:34 AM, Ulrich Hecht wrote: > From: Takeshi Kihara > > This patch adds initial pinctrl driver to support for the R8A7796 SoC. > > Signed-off-by: Takeshi Kihara >

Re: [PATCH v2 0/5] ARM: dts: renesas: Update console parameters

2016-06-29 Thread Simon Horman
On Tue, Jun 14, 2016 at 04:15:19PM +0200, Geert Uytterhoeven wrote: > Hi Simon, Magnus, > > This patch series updates the console parameters in the DTSes for > various Renesas ARM boards. > > - For all of them, the serial port config is added to > chosen/stdout-path, as per current

Re: [PATCH 4/4] arm64: dts: r8a7795: salvator: add serial console pins

2016-06-29 Thread Geert Uytterhoeven
Hi Ulrich, On Tue, Jun 28, 2016 at 11:34 AM, Ulrich Hecht wrote: > Adds pin control for SCIF2. > > Signed-off-by: Ulrich Hecht > --- > arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 9 + > 1 file changed, 9

Re: [PATCH 3/4] arm64: dts: r8a7796: Add pinctrl device node

2016-06-29 Thread Geert Uytterhoeven
On Tue, Jun 28, 2016 at 11:34 AM, Ulrich Hecht wrote: > From: Takeshi Kihara > > This patch adds pinctrl device node for R8A7796 SoC. > > Signed-off-by: Takeshi Kihara Reviewed-by: Geert Uytterhoeven

Re: [PATCH 2/4] pinctrl: sh-pfc: r8a7796: Add SCIF pins, groups and functions

2016-06-29 Thread Geert Uytterhoeven
On Tue, Jun 28, 2016 at 11:34 AM, Ulrich Hecht wrote: > From: Takeshi Kihara > > This patch adds SCIF{0,1,2,3,4,5} pins, groups and functions to R8A7796 > SoC. > > Signed-off-by: Takeshi Kihara

Re: [PATCH 3/3] arm64: dts: r8a7795: salvator: enable UHS for SDHI 0 & 3

2016-06-29 Thread Wolfram Sang
> Could you kindly share the recent status of the MMC support for RCar3? Esp. > the eMMC support on the Salvator-X? From time to time I get this question > from several people ;) Nothing changed since last time. Meaning that it could work in 4-bit mode (haven't tested it, though, and am on the

[GIT PULL FOR renesas-drivers] mmc: renesas_sdhi: add R-Car Gen-3 DMA support

2016-06-29 Thread Simon Horman
Hi Geert, please consider pulling a prototype to modularise SDHI DMA to the extent that multiple providers may be built into the same kernel/module and provide SDHI DMA support for R-Car Gen3. As these changes rename files, which may lead to conflicts with mainline, I will entirely understand if

Re: [PATCH/RFC 1/6] spi: Document DT bindings for SPI controllers in slave mode

2016-06-29 Thread Geert Uytterhoeven
Hi Rob, On Fri, Jun 24, 2016 at 7:06 PM, Rob Herring wrote: > On Wed, Jun 22, 2016 at 03:42:04PM +0200, Geert Uytterhoeven wrote: >> Signed-off-by: Geert Uytterhoeven >> --- >> Documentation/devicetree/bindings/spi/spi-bus.txt | 31 >>

Re: [Bug]:LAGER: GPIO-KEYS: Warning occurs after unbinding the e6051000.gpio

2016-06-29 Thread Linus Walleij
On Tue, Jun 28, 2016 at 3:41 AM, Hiep Cao Minh wrote: > As I have reported you the issue that related to your released patch. > Could you please consider this issue and tell me how to resolve this > problem? > > This issue still happens on Rcar-H2 and Rcar-M2 (Renesas's SOC)

[GIT PULL FOR renesas-drivers] ARM: dts: r8a779x: use demuxer for I2C

2016-06-29 Thread Simon Horman
Hi Geert, please consider pulling the latest integration of the i2c demuxer for R-Car Gen 2 boards into renesas-drivers. There are still some underlying driver problems that prevent core switching from working. And I expect some revisions to the DT patches once the driver problems are resolved

Re: [PATCH 3/3] arm64: dts: r8a7795: salvator: enable UHS for SDHI 0 & 3

2016-06-29 Thread Dirk Behme
Hi Wolfram, On 06.06.2016 18:08, Wolfram Sang wrote: From: Wolfram Sang Reviewed-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 22

RE: [PATCH 0/2] usb: renesas_usbhs: fix issues on specific situations

2016-06-29 Thread Felipe Balbi
Yoshihiro Shimoda writes: > Hi Felipe, > > Would you review this patch set? both in my queue. -- balbi signature.asc Description: PGP signature

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

2016-06-29 Thread Linus Walleij
On Thu, Jun 23, 2016 at 3:39 PM, Geert Uytterhoeven wrote: > Hi Linus, > > The following changes since commit 1a695a905c18548062509178b98bc91e67510864: > > Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) > > are available in the git repository at: > >

Re: [PATCH v2 2/4] clk: renesas: Add r8a7796 CPG Core Clock Definitions

2016-06-29 Thread Dirk Behme
Hi Geert, On 10.06.2016 08:34, Dirk Behme wrote: Hi Geert, On 09.06.2016 10:54, Geert Uytterhoeven wrote: Hi Dirk, On Thu, Jun 9, 2016 at 10:31 AM, Dirk Behme wrote: On 07.06.2016 10:17, Geert Uytterhoeven wrote: On Tue, Jun 7, 2016 at 9:53 AM, Dirk Behme

Re: [PATCH 0/4] ARM: Renesas: R-Car3: Add product register support

2016-06-29 Thread Dirk Behme
Hi Magnus, On 01.06.2016 07:19, Magnus Damm wrote: Hi Dirk, On Fri, May 27, 2016 at 4:56 PM, Dirk Behme wrote: On 27.05.2016 05:13, Magnus Damm wrote: I don't think anyone disagrees that it makes sense to be able to determine ES version during runtime. The questions

Re: [git pull] clk: renesas: Updates for v4.8 (take two)

2016-06-29 Thread Geert Uytterhoeven
Hi Stephen, On Wed, Jun 29, 2016 at 1:35 AM, Stephen Boyd wrote: > On 06/23, Geert Uytterhoeven wrote: >> The following changes since commit e4e2d7c388350eba8b1dbc2569441ac9b545a8c4: >> >> clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 >> +0200)