Re: [RESEND PATCH v5 1/2] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-06-03 Thread Ulrich Hecht
On Fri, Jun 3, 2016 at 8:42 AM, Ramesh Shanmugasundaram wrote: > Hi Uli, > > Thanks for the review > >> Thank you for your patch. >> >> On Thu, Jun 2, 2016 at 11:45 AM, Ramesh Shanmugasundaram >> wrote: >> [...] >> >

Re: [PATCH v6 1/2] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-06-13 Thread Ulrich Hecht
x08 + \ > + (0x80 * (x))) > +#define RCANFD_F_RFDF(x, df) (RCANFD_F_RFOFFSET + 0x0c + \ > +(0x80 * (x)) + (0x04 * (df))) > + > +/* RSCFDnCFDCFXXk -> RCANFD_F_CFXX(ch, k) */ > +#define RCANFD_F_CFOFFSET (0x3400) > +#define RCANFD_F_CFID(ch, idx) (RCANFD_F_CFOFFSET + (0x180 * (ch)) + > \ > +(0x80 * (idx))) > +#define RCANFD_F_CFPTR(ch, idx)(RCANFD_F_CFOFFSET + 0x04 + \ > +(0x180 * (ch)) + (0x80 * (idx))) > +#define RCANFD_F_CFFDCSTS(ch, idx) (RCANFD_F_CFOFFSET + 0x08 + \ > +(0x180 * (ch)) + (0x80 * (idx))) > +#define RCANFD_F_CFDF(ch, idx, df) (RCANFD_F_CFOFFSET + 0x0c + \ > +(0x180 * (ch)) + (0x80 * (idx)) + \ > +(0x04 * (df))) > + > +/* RSCFDnCFDTMXXp -> RCANFD_F_TMXX(p) */ > +#define RCANFD_F_TMID(p) (0x4000 + (0x20 * (p))) > +#define RCANFD_F_TMPTR(p) (0x4004 + (0x20 * (p))) > +#define RCANFD_F_TMFDCTR(p)(0x4008 + (0x20 * (p))) > +#define RCANFD_F_TMDF(p, b)(0x400c + (0x20 * (p)) + (0x04 * (b))) > + > +/* RSCFDnCFDTHLACCm */ > +#define RCANFD_F_THLACC(m) (0x6000 + (0x04 * (m))) > +/* RSCFDnCFDRPGACCr */ > +#define RCANFD_F_RPGACC(r) (0x6400 + (0x04 * (r))) [...] Apart from that, all register addresses, offsets, bit positions and masks check out. With the two issues fixed: Reviewed-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> CU Uli

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

2016-05-30 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a

[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 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 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 <ulrich.hecht+rene...@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot

[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 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 00/21] Renesas r8a7795/Salvator-X HDMI output prototype

2016-05-30 Thread Ulrich Hecht
isplay max size to 4096x2160 size arm64: dts: salvator-x: Add DU pins, HDMI connectors and encoder arm64: configs: Enable R-Car DU related config Kuninori Morimoto (1): arm64: defconfig: add VIDEO_RENESAS_FCP Ulrich Hecht (5): v4l: vsp1: Change VSP1 LIF linebuffer FIFO pinctrl: sh-pfc: r8

[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 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 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 <ulrich.hecht+rene...@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 27 +++ 1 file

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

2016-05-30 Thread Ulrich Hecht
From: Koji Matsuoka <koji.matsuoka...@renesas.com> Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> [geert: Re-add removed extal_clk] [geert: Modify existing du node instead of moving it around] [geert: Use generic pinctrl properties

[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 <ulrich.hecht+rene...@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 86 1 file

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

2016-05-30 Thread Ulrich Hecht
tsuoka <koji.matsuoka...@renesas.com> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/media/platform/vsp1/vsp1_lif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dri

[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

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

2016-05-31 Thread Ulrich Hecht
On Mon, May 30, 2016 at 5:59 PM, Ulrich Hecht <ulrich.hecht+rene...@gmail.com> wrote: > 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 Actually, it is based on renes

Re: [RESEND PATCH v5 1/2] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-06-02 Thread Ulrich Hecht
Thank you for your patch. On Thu, Jun 2, 2016 at 11:45 AM, Ramesh Shanmugasundaram wrote: [...] > diff --git a/drivers/net/can/rcar/rcar_canfd.c > b/drivers/net/can/rcar/rcar_canfd.c > new file mode 100644 > index 000..e198732 > --- /dev/null > +++

DRM/KMS automated tests

2016-05-31 Thread Ulrich Hecht
Hi! I have cobbled together a bunch of scripts to test the atomic updates API, based around kms++; see here: https://github.com/uli/kmsxx/tree/autotest Instructions on how to set up the environment can be found here: http://elinux.org/User:Uli/Tests:KMS Currently, tests try various sensible

Re: [PATCH v4 06/13] ARM: shmobile: apmu: Move #ifdef CONFIG_SMP to cover more functions

2016-06-17 Thread Ulrich Hecht
nit shmobile_smp_apmu_prepare_cpus(unsigned int > max_cpus, > apmu_parse_cfg(apmu_init_cpu, apmu_config, num); > } > > -#ifdef CONFIG_SMP > int shmobile_smp_apmu_boot_secondary(unsigned int cpu, struct task_struct > *idle) > { > /* For this particular CPU register boot vector */ > -- > 1.9.1 > Reviewed-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> CU Uli

[PATCH] adv7604: fix SPA register location for ADV7612

2016-01-19 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 3787f81..f78d36c 100644 --- a/drivers

[PATCH 0/4] R8A7795/Salvator-X PWM support

2016-01-19 Thread Ulrich Hecht
Hi! This is straight from the BSP, adjusted for MSTP clock and PFC differences. CU Uli Harunobu Kurokawa (1): arm64: defconfig : add PWM driver support Ryo Kodama (2): PWM: Add ARCH_RENESAS support arm64: dts: r8a7795: Add PWM device nodes Takeshi Kihara (1): pinctrl: sh-pfc:

[PATCH 1/4] pinctrl: sh-pfc: r8a7795: Add PWM support

2016-01-19 Thread Ulrich Hecht
From: Takeshi Kihara <takeshi.kihara...@renesas.com> This patch adds PWM[0-6] pinmux support to r8a7795 SoC. Signed-off-by: Takeshi Kihara <takeshi.kihara...@renesas.com> [uli: adapted to mainline PFC driver] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> ---

[PATCH 4/4] arm64: dts: r8a7795: Add PWM device nodes

2016-01-19 Thread Ulrich Hecht
From: Ryo Kodama <ryo.kodama...@renesas.com> Signed-off-by: Ryo Kodama <ryo.kodama...@renesas.com> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa...@renesas.com> [uli: adapted to new MSTP clock scheme] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> ---

[PATCH 2/4] PWM: Add ARCH_RENESAS support

2016-01-19 Thread Ulrich Hecht
From: Ryo Kodama add ARCH_RENESAS in order to support R-Car Gen3 Signed-off-by: Ryo Kodama Signed-off-by: Harunobu Kurokawa --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3/4] arm64: defconfig : add PWM driver support

2016-01-19 Thread Ulrich Hecht
From: Harunobu Kurokawa <harunobu.kurokawa...@renesas.com> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa...@renesas.com> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/

[PATCH 0/4] Initial r8a7796 PFC support

2016-06-28 Thread Ulrich Hecht
R8A7796 PFC support pinctrl: sh-pfc: r8a7796: Add SCIF pins, groups and functions arm64: dts: r8a7796: Add pinctrl device node Ulrich Hecht (1): arm64: dts: r8a7795: salvator: add serial console pins .../bindings/pinctrl/renesas,pfc-pinctrl.txt |1 + arch/arm64/boot/dts/renesas/r8a7796

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

2016-06-28 Thread Ulrich Hecht
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 --- drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 276 +++ 1 file changed, 276

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

2016-06-28 Thread Ulrich Hecht
Adds pin control for SCIF2. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts b/arch/arm64/boot/dts/renesas/r

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

2016-06-28 Thread Ulrich Hecht
That should have said r8a7796, of course... :( CU Uli On Tue, Jun 28, 2016 at 11:34 AM, Ulrich Hecht <ulrich.hecht+rene...@gmail.com> wrote: > Adds pin control for SCIF2. > > Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> > --- > arch/arm64/boot/dts/ren

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

2016-06-28 Thread Ulrich Hecht
From: Takeshi Kihara This patch adds pinctrl device node for R8A7796 SoC. Signed-off-by: Takeshi Kihara --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [RFC/PATCH] [media] rcar-vin: add Renesas R-Car VIN IP core

2016-02-23 Thread Ulrich Hecht
On Mon, Feb 22, 2016 at 3:36 PM, Niklas Söderlund wrote: > Unfortunate the rework I have done clashes with your HDMI series Ulrich. > If you wish I can rework the parts of your series that touches rcar-vin > and post them as a separate series after v2? Let me know

Re: [RFC/PATCH] [media] rcar-vin: add Renesas R-Car VIN IP core

2016-02-22 Thread Ulrich Hecht
On Sun, Feb 14, 2016 at 5:55 PM, Niklas Söderlund wrote: > Also I > could only get frames if the video signal on the composite IN was NTSC, > but this also applied to the soc_camera driver, it might be my test > setup. I think it is. For me, PAL works just

[PATCH v2] adv7604: fix SPA register location for ADV7612

2016-02-17 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- As suggested by Lars-Peter, this applies the change to the ADV7611 case as well. drivers/media/i2c/adv7604.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH/RFC 0/9] Lager board HDMI input support

2016-02-17 Thread Ulrich Hecht
shmobile: lager dts: specify default-input for ADV7612 Laurent Pinchart (1): v4l: subdev: Add pad config allocator and init Ulrich Hecht (5): adv7604: fix SPA register location for ADV7612 media: rcar_vin: Use correct pad number in try_fmt media: rcar-vin: pad-aware driver initialisation

[PATCH/RFC 9/9] ARM: shmobile: lager dts: specify default-input for ADV7612

2016-02-17 Thread Ulrich Hecht
Molton <ian.mol...@codethink.co.uk> Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7790-lager.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/r8a7790-lager.

[PATCH/RFC 6/9] media: rcar-vin: add DV timings support

2016-02-17 Thread Ulrich Hecht
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS, and QUERY_DV_TIMINGS. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-dma.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/d

[PATCH/RFC 3/9] adv7604: fix SPA register location for ADV7612

2016-02-17 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 2097c48..1680c0e

[PATCH/RFC 8/9] ARM: shmobile: lager dts: Add entries for VIN HDMI input support

2016-02-17 Thread Ulrich Hecht
From: William Towle <william.to...@codethink.co.uk> Add DT entries for vin0, vin0_pins, and adv7612. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: added interrupt, renamed endpoint] Signed-of

[PATCH/RFC 5/9] media: rcar-vin: pad-aware driver initialisation

2016-02-17 Thread Ulrich Hecht
on CONFIG_MEDIA_CONTROLLER, in line with requirements for building the drivers associated with it. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+re

[PATCH 4/6] arm64: dts: salvator-x: enable PWM

2016-03-09 Thread Ulrich Hecht
Enables PWM1 (brightness control) and PWM2 (PMIC switching frequency synchronization). Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 23 ++ 1 file changed, 23 insertions(+) diff --git a/arch/arm6

[PATCH 6/6] clk: shmobile: r8a7795: add PWM clock

2016-03-09 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-mssr.c index b2198aef..9de458a 100644 --- a/drivers/clk/r

[PATCH] ARM: dts: r8a7793: Add MMCIF0

2016-03-18 Thread Ulrich Hecht
Same as on r8a7794. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 63f811d..33413e8 100644 --- a/arch/ar

[PATCH 0/2] ARM: dts: r8a7773/gose: enable SATA

2016-03-19 Thread Ulrich Hecht
Hi! This enables SATA on the Gose board. CU Uli Ulrich Hecht (2): ARM: dts: r8a7793: Add SATA controller node ARM: dts: gose: Enable SATA controller arch/arm/boot/dts/r8a7793-gose.dts | 4 arch/arm/boot/dts/r8a7793.dtsi | 16 2 files changed, 20 insertions

[PATCH 3/4] ARM: dts: r8a7779: Add HSCIF0/1 device nodes

2016-03-18 Thread Ulrich Hecht
Based on Rev. 1.00 of the R-Car H1 datasheet. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7779.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi

Re: [PATCH 3/6] arm64: dts: r8a7795: Add PWM device nodes

2016-03-29 Thread Ulrich Hecht
On Thu, Mar 24, 2016 at 2:52 PM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > Hi Ulrich, > > On Wed, Mar 9, 2016 at 5:55 PM, Ulrich Hecht > <ulrich.hecht+rene...@gmail.com> wrote: [...] >> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi >> b/arch

[PATCH 1/2] ARM: dts: r8a7793: Add SDHI controllers

2016-03-19 Thread Ulrich Hecht
Same as on r8a7791. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index b7f32d3..009ce38

[PATCH 0/4] ARM: dts: r8a777[89]: HSCIF support

2016-03-19 Thread Ulrich Hecht
Hi! This adds HSCIF nodes to the r8a7778 and r8a7779 device trees. (And the relevant clocks on r8a7778, which are already there on r8a7779.) CU Uli Ulrich Hecht (4): ARM: dts: r8a7778: Add HSCIF0/1 clocks ARM: dts: r8a7778: Add HSCIF0/1 device nodes ARM: dts: r8a7779: Add HSCIF0/1 device

[PATCH 4/4] serial: sh-sci: add r8a7778/9 HSCIF DT bindings

2016-03-19 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- Documentation/devicetree/bindings/serial/renesas,sci-serial.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/renesas,sci-serial.txt b/Documentation/devicetree/bindings/

[PATCH 1/2] ARM: dts: r8a7793: Add SATA controller node

2016-03-19 Thread Ulrich Hecht
Adds SATA device node to r8a7793.dtsi. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 3ebe7d4..a

Re: [PATCH 0/4] ARM: dts: r8a777[89]: HSCIF support

2016-03-19 Thread Ulrich Hecht
On Thu, Mar 17, 2016 at 9:06 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > Hi Ulrich, > > On Wed, Mar 16, 2016 at 6:10 PM, Ulrich Hecht > <ulrich.hecht+rene...@gmail.com> wrote: >> This adds HSCIF nodes to the r8a7778 and r8a7779 device trees. >> (And t

[PATCH 2/2] ARM: dts: gose: Enable SDHI controllers

2016-03-19 Thread Ulrich Hecht
Includes regulator and pin assignments. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 119 + 1 file changed, 119 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r

[PATCH v2 7/9] media: rcar-vin: initialize EDID data

2016-03-02 Thread Ulrich Hecht
Initializes the decoder subdevice with a fixed EDID blob. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-dma.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-dm

[PATCH v2 6/9] media: rcar-vin: add DV timings support

2016-03-02 Thread Ulrich Hecht
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS, and QUERY_DV_TIMINGS. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-dma.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/d

[PATCH v2 4/9] media: rcar_vin: Use correct pad number in try_fmt

2016-03-02 Thread Ulrich Hecht
l <hans.verk...@cisco.com> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-dma.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rca

[PATCH v2 1/9] v4l: subdev: Add pad config allocator and init

2016-03-02 Thread Ulrich Hecht
From: Laurent Pinchart Add a new subdev operation to initialize a subdev pad config array, and a helper function to allocate and initialize the array. This can be used by bridge drivers to implement try format based on subdev pad operations. Signed-off-by: Laurent

[PATCH v2 5/9] media: rcar-vin: pad-aware driver initialisation

2016-03-02 Thread Ulrich Hecht
on CONFIG_MEDIA_CONTROLLER, in line with requirements for building the drivers associated with it. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+re

[PATCH v2 0/9] Lager board HDMI input support

2016-03-02 Thread Ulrich Hecht
an Molton (1): ARM: shmobile: lager dts: specify default-input for ADV7612 Laurent Pinchart (1): v4l: subdev: Add pad config allocator and init Ulrich Hecht (5): adv7604: fix SPA register location for ADV7612 media: rcar_vin: Use correct pad number in try_fmt media: rcar-vin: pad-aware d

[PATCH v2 3/9] adv7604: fix SPA register location for ADV7612

2016-03-02 Thread Ulrich Hecht
SPA location LSB register is at 0x70. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 2097c48..1680c0e

[PATCH v2 2/9] media: adv7604: automatic "default-input" selection

2016-03-02 Thread Ulrich Hecht
plementation consistent with this. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v3 6/6] clk: shmobile: r8a7795: add PWM clock

2016-03-31 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a779

[PATCH v3 4/6] arm64: dts: salvator-x: enable PWM

2016-03-31 Thread Ulrich Hecht
Enables PWM1 (brightness control) and PWM2 (PMIC switching frequency synchronization). Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Acked-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 23 ++

[PATCH v3 2/6] arm64: defconfig : add PWM driver support

2016-03-31 Thread Ulrich Hecht
From: Harunobu Kurokawa <harunobu.kurokawa...@renesas.com> Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa...@renesas.com> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Acked-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm64/configs/

[PATCH v3 5/6] pwm: add R-Car H3 device tree bindings

2016-03-31 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Acked-by: Geert Uytterhoeven <geert+rene...@glider.be> --- Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm

[PATCH v3] ARM: dts: r8a7793: Add MMCIF0

2016-04-29 Thread Ulrich Hecht
Same as on r8a7791. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- This version addresses the issues found by Geert and Simon (thank you): - change back to one DMA controller - use GIC_SPI - add max-frequency CU Uli arch/arm/boot/dts/r8a7793.dtsi | 13 +

[PATCH v4 0/8] Lager/Koelsch board HDMI input support

2016-05-11 Thread Ulrich Hecht
removed "adv7604: fix SPA register location for ADV7612" (picked up) - changed prefix of dts patch to "ARM: dts: lager: " Hans Verkuil (1): r8a7791-koelsch.dts: add HDMI input Laurent Pinchart (1): v4l: subdev: Add pad config allocator and init Ulrich Hecht (4): med

[PATCH v4 3/8] media: rcar_vin: Use correct pad number in try_fmt

2016-05-11 Thread Ulrich Hecht
l <hans.verk...@cisco.com> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar

[PATCH v4 4/8] media: rcar-vin: pad-aware driver initialisation

2016-05-11 Thread Ulrich Hecht
on CONFIG_MEDIA_CONTROLLER, in line with requirements for building the drivers associated with it. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+re

[PATCH v4 7/8] ARM: dts: lager: Add entries for VIN HDMI input support

2016-05-11 Thread Ulrich Hecht
ink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: added interrupt, renamed endpoint, merged default-input] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7790-lager.dts | 39 + 1 fil

[PATCH v4 5/8] media: rcar-vin: add DV timings support

2016-05-11 Thread Ulrich Hecht
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS, and QUERY_DV_TIMINGS. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 82 + 1 file changed, 82 insertions(+) diff --git a/d

[PATCH v4 1/8] v4l: subdev: Add pad config allocator and init

2016-05-11 Thread Ulrich Hecht
From: Laurent Pinchart Add a new subdev operation to initialize a subdev pad config array, and a helper function to allocate and initialize the array. This can be used by bridge drivers to implement try format based on subdev pad operations. Signed-off-by: Laurent

[PATCH v2 0/2] ARM: dts: r8a7793/gose: enable SDHI

2016-04-18 Thread Ulrich Hecht
This enables SDHI on the Gose board, including pins and regulators. This revision includes the missing dma-names and power-domains entries spotted by Sergei and Simon. CU Uli Ulrich Hecht (2): ARM: dts: r8a7793: Add SDHI controllers ARM: dts: gose: Enable SDHI controllers arch/arm/boot

[PATCH v2 2/2] ARM: dts: gose: Enable SDHI controllers

2016-04-18 Thread Ulrich Hecht
Includes regulator and pin assignments. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 119 + 1 file changed, 119 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r

[PATCH v2 1/2] ARM: dts: r8a7793: Add SDHI controllers

2016-04-18 Thread Ulrich Hecht
Same as on r8a7791. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 6843f46..a

Re: [PATCH v3 6/7] media: rcar-vin: initialize EDID data

2016-04-20 Thread Ulrich Hecht
On Mon, Apr 18, 2016 at 12:13 PM, Hans Verkuil wrote: > Where does this EDID come from? I'm just wondering if it has been > adjusted for the capabilities of the adv. It's from the cobalt driver, with only the vendor ID changed. CU Uli

[PATCH v3 6/7] media: rcar-vin: initialize EDID data

2016-04-14 Thread Ulrich Hecht
Initializes the decoder subdevice with a fixed EDID blob. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 46 + 1 file changed, 46 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-v4l

[PATCH v3 0/7] Lager board HDMI input support

2016-04-14 Thread Ulrich Hecht
one patch and adjusts its subject line slightly. CU Uli Changes since v2: - rebased on top of rcar-vin driver v4 - removed "adv7604: fix SPA register location for ADV7612" (picked up) - changed prefix of dts patch to "ARM: dts: lager: " Laurent Pinchart (1): v4l: subdev: Add pad con

[PATCH v3 1/7] v4l: subdev: Add pad config allocator and init

2016-04-14 Thread Ulrich Hecht
From: Laurent Pinchart Add a new subdev operation to initialize a subdev pad config array, and a helper function to allocate and initialize the array. This can be used by bridge drivers to implement try format based on subdev pad operations. Signed-off-by: Laurent

[PATCH v3 4/7] media: rcar-vin: pad-aware driver initialisation

2016-04-14 Thread Ulrich Hecht
on CONFIG_MEDIA_CONTROLLER, in line with requirements for building the drivers associated with it. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: adapted to rcar-vin rewrite] Signed-off-by: Ulrich Hecht <ulrich.hecht+re

[PATCH v3 5/7] media: rcar-vin: add DV timings support

2016-04-14 Thread Ulrich Hecht
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS, and QUERY_DV_TIMINGS. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 69 + 1 file changed, 69 insertions(+) diff --git a/d

[PATCH v3 2/7] media: adv7604: automatic "default-input" selection

2016-04-14 Thread Ulrich Hecht
parsing to make the implementation consistent with this. Signed-off-by: William Towle <william.to...@codethink.co.uk> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drive

Re: [PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-08-15 Thread Ulrich Hecht
On Sat, Aug 13, 2016 at 3:30 PM, Hans Verkuil <hverk...@xs4all.nl> wrote: > On 07/22/2016 11:09 AM, Ulrich Hecht wrote: >> Adds G_EDID and S_EDID. >> >> Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> >> --- >> dri

Re: [PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-08-15 Thread Ulrich Hecht
On Mon, Aug 15, 2016 at 10:48 AM, Hans Verkuil <hverk...@xs4all.nl> wrote: > On 08/15/2016 10:37 AM, Ulrich Hecht wrote: >> On Sat, Aug 13, 2016 at 3:30 PM, Hans Verkuil <hverk...@xs4all.nl> wrote: >>> On 07/22/2016 11:09 AM, Ulrich Hecht wrote: >>>> Ad

[PATCH] spi: sh-msiof: request and set cs-gpio direction to output

2016-07-18 Thread Ulrich Hecht
Required for the CS signal to actually be visible to the device. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/spi/spi-sh-msiof.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/s

[PATCH v5 0/4] Lager/Koelsch board HDMI input support

2016-07-06 Thread Ulrich Hecht
ngs(): update vin->format - add Koelsch support Changes since v2: - rebased on top of rcar-vin driver v4 - removed "adv7604: fix SPA register location for ADV7612" (picked up) - changed prefix of dts patch to "ARM: dts: lager: " Hans Verkuil (1): ARM: dts: koelsch: add HDMI input

[PATCH v5 1/4] media: adv7604: automatic "default-input" selection

2016-07-06 Thread Ulrich Hecht
or adv7612. Hence, also adjust the parsing to make the implementation consistent with this. Based on patch by William Towle <william.to...@codethink.co.uk>. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 5 - 1 file changed, 4 insertio

[PATCH v5 4/4] rcar-vin: implement EDID control ioctls

2016-07-06 Thread Ulrich Hecht
Adds G_EDID and S_EDID. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-v4l2.c b/drivers/media/platform/rcar-vin/rcar-

[PATCH v6 3/4] ARM: dts: koelsch: add HDMI input

2016-07-22 Thread Ulrich Hecht
From: Hans Verkuil <hverk...@xs4all.nl> Add support in the dts for the HDMI input. Based on the Lager dts patch from Ulrich Hecht. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> [uli: removed "renesas," prefixes from pfc nodes] Signed-off-by: Ulrich Hecht <ulric

[PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-07-22 Thread Ulrich Hecht
Adds G_EDID and S_EDID. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-v4l2.c b/drivers/media/platform/rc

[PATCH v6 0/4] Lager/Koelsch board HDMI input support

2016-07-22 Thread Ulrich Hecht
: " Hans Verkuil (1): ARM: dts: koelsch: add HDMI input Ulrich Hecht (2): media: adv7604: automatic "default-input" selection rcar-vin: implement EDID control ioctls William Towle (1): ARM: dts: lager: Add entries for VIN HDMI input support arch/arm/boo

[PATCH v6 1/4] media: adv7604: automatic "default-input" selection

2016-07-22 Thread Ulrich Hecht
or adv7612. Hence, also adjust the parsing to make the implementation consistent with this. Based on patch by William Towle <william.to...@codethink.co.uk>. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 5 - 1 file changed, 4 insertio

[PATCH v6 2/4] ARM: dts: lager: Add entries for VIN HDMI input support

2016-07-22 Thread Ulrich Hecht
ink.co.uk> Signed-off-by: Rob Taylor <rob.tay...@codethink.co.uk> [uli: added interrupt, renamed endpoint, merged default-input] Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7790-lager.dts | 39 + 1 fil

  1   2   3   4   5   >