[PATCH 5/5] ASoC: audio-graph-card: use asoc_simple_card_clk_xxx()

2017-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto Current simple-card-utils sets asoc_simple_dai::clk via asoc_simple_card_parse_clk(). Current simple card drivers are using it directly for clk_enable/disable. Encapsulation is one of simple card util's purpose. Let's use

[PATCH 4/5] ASoC: audio-graph-scu-card: use asoc_simple_card_clk_xxx()

2017-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto Current simple-card-utils sets asoc_simple_dai::clk via asoc_simple_card_parse_clk(). Current simple card drivers are using it directly for clk_enable/disable. Encapsulation is one of simple card util's purpose. Let's use

[PATCH 2/5 v2] ASoC: simple-card: use asoc_simple_card_clk_xxx()

2017-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto Current simple-card-utils sets asoc_simple_dai::clk via asoc_simple_card_parse_clk(). Current simple card drivers are using it directly for clk_enable/disable. Encapsulation is one of simple card util's purpose. Let's use

[PATCH 1/5 v2] ASoC: simple_card_utils: add asoc_simple_card_clk_xxx()

2017-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto Current simple-card-utils sets asoc_simple_dai::clk via asoc_simple_card_parse_clk(). Current simple card drivers are using it directly for clk_enable/disable. Encapsulation is one of simple card util's purpose. Let's encapsulate it.

[PATCH] ASoC: rsnd: add detail explanation of L/R conversion timing

2017-06-08 Thread Kuninori Morimoto
From: Kuninori Morimoto Renesas Sound device *Hardware* L/R and Linux *Software* L/R are inverted. Because of this background, it needs to convert L/R. Then, DVC needs *Hardware* L/R, and Linux needs *Software* L/R. Because Playback/Capture needs different

Re: [PATCH 1/5] ASoC: simple_card_utils: add asoc_simple_card_clk_enable/disable()

2017-06-08 Thread Kuninori Morimoto
Hi Mark > > +#define asoc_simple_card_clk_enable(dai) clk_prepare_enable((dai)->clk) > > +#define asoc_simple_card_clk_disable(dai) clk_disable_unprepare((dai)->clk) > > Could we make these static inline functions instead please? It > shouldn't make any difference to the generated code but

Re: [PATCH v4] v4l: subdev: tolerate null in media_entity_to_v4l2_subdev

2017-06-08 Thread Sakari Ailus
Hi Mauro, On Thu, Jun 08, 2017 at 03:00:22PM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 7 Jun 2017 10:52:07 +0100 > Kieran Bingham escreveu: > > > From: Kieran Bingham > > > > Return NULL, if a null entity is parsed for it's

Re: [PATCH v4] v4l: subdev: tolerate null in media_entity_to_v4l2_subdev

2017-06-08 Thread Mauro Carvalho Chehab
Em Wed, 7 Jun 2017 10:52:07 +0100 Kieran Bingham escreveu: > From: Kieran Bingham > > Return NULL, if a null entity is parsed for it's v4l2_subdev > > Signed-off-by: Kieran Bingham Could

Re: [PATCH 1/5] ASoC: simple_card_utils: add asoc_simple_card_clk_enable/disable()

2017-06-08 Thread Mark Brown
On Wed, Jun 07, 2017 at 12:29:05AM +, Kuninori Morimoto wrote: > +#define asoc_simple_card_clk_enable(dai) clk_prepare_enable((dai)->clk) > +#define asoc_simple_card_clk_disable(dai) clk_disable_unprepare((dai)->clk) Could we make these static inline functions instead please? It shouldn't

Re: [PATCH] ARM: shmobile: Update R-Car Gen3 ULCB board part numbers

2017-06-08 Thread Simon Horman
On Wed, Jun 07, 2017 at 05:12:03PM -0500, Rob Herring wrote: > On Thu, Jun 01, 2017 at 12:34:29PM +0200, Geert Uytterhoeven wrote: > > The board part numbers for the R-Car H3 and M3 ULCB boards corresponded > > to versions predating mass production. Update them for mass production. > > > > Note

Re: [PATCH 6/7] [media] soc_camera: rcar_vin: use proper name for the R-Car SoC

2017-06-08 Thread Wolfram Sang
> Btw, I'm seeing only patches 6 and 7 here at media ML (and patchwork). > As those are trivial changes, I'll just apply what I have. Perfect, thanks! signature.asc Description: PGP signature

[PATCH] arm64: dts: salvator-x: Add missing index to PWM pinctrl subnode name

2017-06-08 Thread Geert Uytterhoeven
R-Car Gen3 SoCs contain multiple PWM modules. Hence to avoid conflicts, pinctrl subnodes for PWM should include indices referring to their instances. Fixes: b33be33670217533 ("arm64: dts: salvator-x: Add panel backlight support") Signed-off-by: Geert Uytterhoeven ---

Re: [PATCH v2] ARM: dts: armadillo800eva: Split LCD mux and gpio

2017-06-08 Thread Simon Horman
On Fri, Jun 02, 2017 at 08:53:26AM +0300, Laurent Pinchart wrote: > Hi Geert, > > Thank you for the patch. > > On Thursday 01 Jun 2017 12:27:00 Geert Uytterhoeven wrote: > > Configuration of the lcd0 pinmux group and GPIO hog for the external > > GPIO mux are done using a single device node,

Re: [PATCH] arm64: defconfig: enable Simple Sound Card support

2017-06-08 Thread Simon Horman
On Tue, Jun 06, 2017 at 02:33:47AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > commit 7fa72cca39a0 ("ASoC: rsnd: add HDMI output support") > exchanged Renesas Sound driver's Kconfig selection > from SND_SIMPLE_CARD to SND_SIMPLE_CARD_UTILS,

[PATCH/RFC 5/5] mmc: renesas-sdhi: remove gen3 support from sysc dmac driver

2017-06-08 Thread Simon Horman
Gen3 SoCs are now supported by the internal dmac variant of the SDHI driver. Remove them from the sys dmac variant where only PIO mode is supported. Signed-off-by: Simon Horman --- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 21 - 1 file changed,

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

2017-06-08 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 2/5] mmc: sh_mobile_sdhi: set max_segs and max_blk_count values R-Car Gen3

2017-06-08 Thread Simon Horman
To avoid complicate code in own dma code for gen3, this patch adds set max_segs to 1. Then, the tmio driver will get requests as sg_len = 1 only. In the performance point of view, the CONFIG_MMC_BLOCK_BOUNCE should be set. Otherwise, mmc block layer will set 4-kbyte each as a request.

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

2017-06-08 Thread Simon Horman
Hi, this series adds support for the internal DMAC used by r8a779[56] SoCs. This is achieved by adding a new variant of the SDHI driver for this DMA controller with compat strings for the r8a779[56] SoCs. Compat strings for these SoCs are also removed from the existing SYS DMAC variant of the

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

2017-06-08 Thread Simon Horman
On Thu, Jun 08, 2017 at 03:09:21PM +0200, Simon Horman wrote: > Hi, > > this series adds support for the internal DMAC used by r8a779[56] SoCs. > This is achieved by adding a new variant of the SDHI driver for this > DMA controller with compat strings for the r8a779[56] SoCs. > Compat strings for

[PATCH/RFC 5/5] mmc: renesas-sdhi: remove gen3 support from sysc dmac driver

2017-06-08 Thread Simon Horman
Gen3 SoCs are now supported by the internal dmac variant of the SDHI driver. Remove them from the sys dmac variant where only PIO mode is supported. Signed-off-by: Simon Horman --- drivers/mmc/host/renesas_sdhi_sys_dmac.c | 21 - 1 file changed,

[PATCH/RFC 3/5] mmc: sh_mobile_sdhi: add some SoC specific data for R-Car Gen3

2017-06-08 Thread Simon Horman
To avoid complicate code in own dma code for gen3, this patch adds set max_segs to 1. Then, the tmio driver will get requests as sg_len = 1 only. In the performance point of view, the CONFIG_MMC_BLOCK_BOUNCE should be set. Otherwise, mmc block layer will set 4-kbyte each as a request.

[PATCH/RFC 3/5] mmc: tmio: add complete to DMA ops

2017-06-08 Thread Simon Horman
Add complete to DMA ops to allow DMAC implementation dependent handling of DMA completion. Signed-off-by: Simon Horman --- drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/tmio_mmc_core.c | 10 -- 2 files changed, 9 insertions(+), 2 deletions(-)

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

2017-06-08 Thread Simon Horman
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. Clearing of DM_CM_INFO1 after DMA thanks to Dirk Behme Cc: Dirk Behme

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

2017-06-08 Thread Simon Horman
Hi, this series adds support for the internal DMAC used by r8a779[56] SoCs. This is achieved by adding a new variant of the SDHI driver for this DMA controller with compat strings for the r8a779[56] SoCs. Compat strings for these SoCs are also removed from the existing SYS DMAC variant of the

[PATCH/RFC 2/5] mmc: sh_mobile_sdhi: set max_segs and max_blk_count values R-Car Gen3

2017-06-08 Thread Simon Horman
To avoid complicate code in own dma code for gen3, this patch adds set max_segs to 1. Then, the tmio driver will get requests as sg_len = 1 only. In the performance point of view, the CONFIG_MMC_BLOCK_BOUNCE should be set. Otherwise, mmc block layer will set 4-kbyte each as a request.

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

2017-06-08 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 2/5] mmc: tmio: add complete to DMA ops

2017-06-08 Thread Simon Horman
Add complete to DMA ops to allow DMAC implementation dependent handling of DMA completion. Signed-off-by: Simon Horman --- drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/tmio_mmc_core.c | 10 -- 2 files changed, 9 insertions(+), 2 deletions(-)

Re: [PATCH v2 0/3] Add R8A7743/SK-RZG1M PFC support

2017-06-08 Thread Sergei Shtylyov
Hello! On 06/07/2017 08:52 PM, Geert Uytterhoeven wrote: Here's the set of 3 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170420-v4.11-rc7' tag. We're adding the R8A7743 PFC node and then describing the pins for SCIF0 and Ether devices declared earlier. These patches

Re: [PATCH 6/7] [media] soc_camera: rcar_vin: use proper name for the R-Car SoC

2017-06-08 Thread Mauro Carvalho Chehab
Em Mon, 29 May 2017 14:02:02 +0200 Wolfram Sang escreveu: > >Why "soc_camera:" in the subject? > > I used 'git log $file' and copied the most recent entry. Do I need to > resend? > No need to resend. I'll fix it when applying the patch. Btw, I'm seeing only patches

RE: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support

2017-06-08 Thread Ramesh Shanmugasundaram
> Em Thu, 8 Jun 2017 09:42:43 + > Ramesh Shanmugasundaram escreveu: > > > > Subject: Re: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support > > > > > > Em Wed, 31 May 2017 09:44:53 +0100 > > > Ramesh Shanmugasundaram

Re: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support

2017-06-08 Thread Mauro Carvalho Chehab
Em Thu, 8 Jun 2017 09:42:43 + Ramesh Shanmugasundaram escreveu: > > Subject: Re: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support > > > > Em Wed, 31 May 2017 09:44:53 +0100 > > Ramesh Shanmugasundaram

RE: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support

2017-06-08 Thread Ramesh Shanmugasundaram
> Subject: Re: [PATCH v6 3/7] media: i2c: max2175: Add MAX2175 support > > Em Wed, 31 May 2017 09:44:53 +0100 > Ramesh Shanmugasundaram escreveu: > > > +++ b/Documentation/media/v4l-drivers/max2175.rst > > @@ -0,0 +1,60 @@ > > +Maxim Integrated MAX2175 RF

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

2017-06-08 Thread Geert Uytterhoeven
Hi Chris, On Thu, Jun 8, 2017 at 10:50 AM, Chris Paterson wrote: >> > --- a/arch/arm/Kconfig.debug >> > +++ b/arch/arm/Kconfig.debug >> > @@ -895,12 +895,13 @@ choice >> > via SCIF2 on Renesas R-Car H1 (R8A7779). >> > >> > config

[PATCH] ARM: debug-ll: Add support for r8a7743

2017-06-08 Thread Chris Paterson
Enable low-level debugging support for RZ/G1M (r8a7743). RZ/G1M uses SCIF0 for the debug console, like most of the R-Car Gen2 SoCs. Signed-off-by: Chris Paterson --- arch/arm/Kconfig.debug | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git