[RFC 3/4] ARM: dts: r8a7790: lager: use demuxer for IIC2/I2C2

2016-05-30 Thread Simon Horman
Create a seperate bus for HDMI related I2C slaves. Based on work by Wolfram Sang. Cc: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7790-lager.dts | 126 +--- 1 file changed, 73

[RFC 0/4] ARM: dts: r8a7790: lager: use demuxer for I2C

2016-05-30 Thread Simon Horman
or assistance in testing would be gratefully received. For reference a boot log is provided below. This series is based on renesas-devel-20160530-v4.7-rc1. To aid review it is provided in git at: git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/i2c-demux I also intend to add demux

Re: [PATCH 11/49] ASoC: simple-card-core: add asoc_simple_card_parse_card_widgets()

2016-05-30 Thread Kuninori Morimoto
Hi Mark, again > > > +int asoc_simple_card_parse_card_widgets(struct snd_soc_card *card, > > > + char *prefix) > > > +{ > > > + struct device_node *np = card->dev->of_node; > > > + char prop[128]; > > > + int ret = 0; > > > + > > > + snprintf(prop, sizeof(prop),

Re: [PATCH 15/49] ASoC: simple-card-core: add asoc_simple_card_init_jack()

2016-05-30 Thread Kuninori Morimoto
Hi Mark > > From: Kuninori Morimoto > > > > simple-card is supporting jack/gpio. > > This patch makes this method simple style standard. > > There was some recent discussion about a more complete core binding > for this based on the work that Dylan Reid had

Re: [PATCH 14/49] ASoC: simple-card-core: add asoc_simple_card_parse_dpcm()

2016-05-30 Thread Kuninori Morimoto
Hi Mark > > From: Kuninori Morimoto > > > > simple-card like driver is supporting DPCM FE/BE. > > This patch makes this method simple style standard. > > DPCM is very much an implementation detail of the current stack, > providing helpers that promote its use

[PATCH v2 0/3] soc: renesas: rcar-sysc: Add support for R-Car M3-W power areas

2016-05-30 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series adds support for the power areas exposed by the System Controller on the Renesas R-Car M3-W SoC. This is a prerequisite for enabling devices (e.g. VSP and FCP) that reside in power areas. /sys/kernel/debug/pm_genpd/pm_genpd_summary output: domain

[PATCH v2 1/3] soc: renesas: rcar-sysc: Document r8a7796 support

2016-05-30 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Acked-by: Rob Herring --- v2: - Add Acked-by. --- Documentation/devicetree/bindings/power/renesas,rcar-sysc.txt | 1 + 1 file changed, 1 insertion(+)

[PATCH v2 2/3] soc: renesas: Add r8a7796 SYSC PM Domain Binding Definitions

2016-05-30 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- v2: - Add Acked-by. --- include/dt-bindings/power/r8a7796-sysc.h | 36 1 file changed, 36 insertions(+) create mode 100644

Re: [PATCH 14/49] ASoC: simple-card-core: add asoc_simple_card_parse_dpcm()

2016-05-30 Thread Mark Brown
On Fri, May 20, 2016 at 09:48:07AM +, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > simple-card like driver is supporting DPCM FE/BE. > This patch makes this method simple style standard. DPCM is very much an implementation detail of the current

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

2016-05-30 Thread Dirk Behme
Hi Geert, On 30.05.2016 18:28, Geert Uytterhoeven wrote: Add all R-Car M3-W Clock Pulse Generator Core Clock Outputs, as listed in Table 8.2b ("List of Clocks [R-Car M3-W]") of the R-Car Gen3 datasheet (rev. 0.51 + Errata for Rev051 Mar 31 2016). Note that internal CPG clocks (S0, S1, S2, S3,

[PATCH v2 4/4] clk: renesas: cpg-mssr: Add support for R-Car M3-W

2016-05-30 Thread Geert Uytterhoeven
Initial support for R-Car M3-W (r8a7796), including basic core clocks, and SCIF2 (console) and INTC-AP (GIC) module clocks. Signed-off-by: Geert Uytterhoeven Tested-by: Simon Horman --- v2: - Add Tested-by. --- drivers/clk/renesas/Kconfig

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

2016-05-30 Thread Geert Uytterhoeven
Add all R-Car M3-W Clock Pulse Generator Core Clock Outputs, as listed in Table 8.2b ("List of Clocks [R-Car M3-W]") of the R-Car Gen3 datasheet (rev. 0.51 + Errata for Rev051 Mar 31 2016). Note that internal CPG clocks (S0, S1, S2, S3, SDSRC, and SSPSRC) are not included, as they are used as

Re: [PATCH 05/49] ASoC: add new simple-card-core.c

2016-05-30 Thread Mark Brown
On Fri, May 20, 2016 at 09:42:25AM +, Kuninori Morimoto wrote: > future. Maybe it want to use simple-card like feature / function. > Because of these background, this patch tries to create > new simple-card-core, and provides common function to each drivers. > 1st is

Re: [RFC 08/21] drm: rcar-du: Add DPLL support

2016-05-30 Thread Dirk Behme
On 30.05.2016 18:00, Ulrich Hecht wrote: From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 97

Applied "ASoC: rsrc-card: remove unused dai_num" to the asoc tree

2016-05-30 Thread Mark Brown
The patch ASoC: rsrc-card: remove unused dai_num 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

[RFC 21/21] arm64: defconfig: add VIDEO_RENESAS_FCP

2016-05-30 Thread Ulrich Hecht
From: Kuninori Morimoto DRM_RCAR_VSP requests VIDEO_RENESAS_VSP1, and VIDEO_RENESAS_VSP1 requests VIDEO_RENESAS_FCP. But VIDEO_RENESAS_FCP is not set on defconfig. This patch adds it. Otherwise kernel goes to Oops. Signed-off-by: Kuninori Morimoto

[RFC 20/21] arm64: dts: r8a7795: add HDMI support to DU

2016-05-30 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi

[RFC 19/21] arm64: configs: Enable R-Car DU related config

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- arch/arm64/configs/defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git

[RFC 18/21] arm64: dts: salvator-x: Add DU pins, HDMI connectors and encoder

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht [geert: Re-add removed extal_clk] [geert: Modify existing du node instead of moving it around] [geert: Use generic pinctrl properties] Signed-off-by:

[RFC 17/21] arm64: dts: r8a7795: Add HDMI encoder support

2016-05-30 Thread Ulrich Hecht
Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[RFC 13/21] drm: rcar-du: Fix display max size to 4096x2160 size

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC 16/21] pinctrl: sh-pfc: r8a7795: Add HDMI CEC support

2016-05-30 Thread Ulrich Hecht
Adds DU pinmux support to r8a7795 SoC. Based on work by Takeshi Kihara. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 27 +++ 1 file changed, 27

[RFC 15/21] pinctrl: sh-pfc: r8a7795: Add DU support

2016-05-30 Thread Ulrich Hecht
Adds DU pinmux support to r8a7795 SoC. Based on work by Takeshi Kihara. Signed-off-by: Ulrich Hecht Signed-off-by: Geert Uytterhoeven --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 86 1 file changed, 86

[RFC 14/21] v4l: vsp1: Change VSP1 LIF linebuffer FIFO

2016-05-30 Thread Ulrich Hecht
This patch changes to VSPD hardware recommended value. Purpose is highest pixel clock without underruns. In the default R-Car Linux BSP config this value is wrong and therefore there are many underruns. Signed-off-by: Takashi Saito Signed-off-by: Koji Matsuoka

[RFC 12/21] drm: rcar-du: Add pixel format support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka This patch supports pixel format of RGB332, ARGB, XRGB, BGR888, RGB888, BGRA, BGRX, YVYU and NV61. VYUY format is not supported by H/W. Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven

[RFC 10/21] drm: rcar-du: Fix VSP plane number per devices

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.h | 3 ++-

[RFC 11/21] drm: rcar-du: Fix VSP feed plane number

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka VSP feeds plane1 and plane3 with R-Car Gen3. Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 4 +++- 1 file changed, 3

[RFC 08/21] drm: rcar-du: Add DPLL support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 97 - drivers/gpu/drm/rcar-du/rcar_du_crtc.h |

[RFC 01/21] drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder

2016-05-30 Thread Ulrich Hecht
From: Archit Taneja The hdmi output in rcar-du uses the i2c slave encoder interface to link to the adv7511 encoder chip. The kms driver creates encoder and connector entities that internally uses the drm_encoder_slave_funcs ops provided by the slave encoder driver.

[RFC 03/21] media: vsp1: Set format to RPF input source

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka The output format of the RPF must be unified in RGB or YCbCr by specification of the H/W. To unify the output format in RGB in driver, if the input format is YCbCr, the output format must be converted to RGB by CSC (Color Space Conversion). The

[RFC 04/21] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2016-05-30 Thread Ulrich Hecht
From: Vladimir Zapolskiy The change adds support of internal HDMI I2C master controller, this subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. The main purpose of this functionality is to support reading EDID from an HDMI monitor on boards,

[RFC 02/21] drm: i2c: adv7511: Convert to drm_bridge

2016-05-30 Thread Ulrich Hecht
From: Archit Taneja We don't want to use the old i2c slave encoder interface anymore. Remove that and make the i2c driver create a drm_bridge entity instead. Converting to bridges helps because the kms drivers don't need to exract encoder slave ops from this driver and

[RFC 07/21] drm: rcar-du: Add dw_hdmi driver startup

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka The HDMI driver in the R-Car Gen3 uses dw_hdmi driver. Signed-off-by: Koji Matsuoka [geert: Select DRM_DW_HDMI on non-r8a7795 to fix shmobile_defconfig build] Signed-off-by: Geert Uytterhoeven

[RFC 09/21] drm: rcar-du: Fix display registers for R-Car Gen3

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- drivers/gpu/drm/rcar-du/rcar_du_group.c | 5 +

[RFC 05/21] drm: bridge/dw_hdmi: Fix R-Car Gen3 device support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/bridge/dw-hdmi.c | 158 ++- include/drm/bridge/dw_hdmi.h | 9

[RFC 06/21] drm: rcar-du: Add R8A7795 device support

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 4 +++- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 14 --

[RFC 00/21] Renesas r8a7795/Salvator-X HDMI output prototype

2016-05-30 Thread Ulrich Hecht
Hi! This is a prototype of HDMI output support for the Renesas r8a7795 SoC and Salvator-X board. It is based on the renesas-devel-20160516-v4.6 tree and includes the bridge API conversion patches to the adv7511 and rcar-du drivers written by Archit Taneja. The obvious issue with this series is

Re: [PATCH 01/49] ASoC: simple-card: remove duplicate header

2016-05-30 Thread Mark Brown
On Fri, May 20, 2016 at 09:38:39AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > simple-card.h includes soc.h, and soc.h includes soc-dai.h > Let's remove these header. It's not automatically good to remove headers, one common reason for

Re: [PATCH net-next] ravb: Add ESF in RCR for enabling separation filter

2016-05-30 Thread Sergei Shtylyov
On 05/29/2016 11:25 PM, Yoshihiro Kaneko wrote: From: Masaru Nagai This patch adds enabling separation filter(ESF) is setting value of B'11. This setting filter for separating AVB stream frames from non-AVB stream frames is enabled. Non-matching frames from a

Re: [PATCH net-next] ravb: Add SET_RUNTIME_PM_OPS macro

2016-05-30 Thread Sergei Shtylyov
Hello. On 05/29/2016 11:25 PM, Yoshihiro Kaneko wrote: From: Kazuya Mizuguchi Use SET_RUNTIME_PM_OPS macro instead of assigning a member of dev_pm_ops directly. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko

Re: [PATCH 3/4] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-05-30 Thread Kieran Bingham
Hi Geert, On 28/05/16 20:03, Geert Uytterhoeven wrote: > Hi Kieran, > > On Fri, May 27, 2016 at 7:19 PM, Kieran Bingham > wrote: >> The example misses the power-domains usage, and documentation that the >> property is used by the node. >> >> Signed-off-by: Kieran

Re: [PATCH 2/4] dt-bindings: Update Renesas R-Car FCP DT binding

2016-05-30 Thread Kieran Bingham
Hi Geert! On 28/05/16 20:06, Geert Uytterhoeven wrote: > Hi Kieran, > > On Fri, May 27, 2016 at 7:19 PM, Kieran Bingham > wrote: >> The FCP driver, can also support the FCPF variant for FDP1 compatible >> processing. >> >> Signed-off-by: Kieran Bingham

Re: R8A7795 FDP1 clock parentage

2016-05-30 Thread Kieran Bingham
Hi Morimoto-san, On 30/05/16 07:32, Kuninori Morimoto wrote: >>> Just to add to this request, could you ask the HW engineers to confirm >>> the clock parents for the FCPF (0,1,2) as well please? >>> >>> They too are currently listed as R8A7795_CLK_S2D1, however now that I am >>> trying to enable

Re: R8A7795 FDP1 clock parentage

2016-05-30 Thread Kuninori Morimoto
Hi Kieran > > Just to add to this request, could you ask the HW engineers to confirm > > the clock parents for the FCPF (0,1,2) as well please? > > > > They too are currently listed as R8A7795_CLK_S2D1, however now that I am > > trying to enable the FCPF and read registers from it - the VCR is