Re: [PATCH v3 2/4] media: adv7180: add adv7180cp, adv7180st compatible strings

2017-07-03 Thread Ulrich Hecht
On Fri, Jun 30, 2017 at 11:19 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > Hi Ulrich, > > On Fri, May 19, 2017 at 3:07 PM, Ulrich Hecht > <ulrich.hecht+rene...@gmail.com> wrote: >> Used to differentiate between models with 3 and 6 inputs. >> >>

[PATCH] media: adv7180: add missing adv7180cp, adv7180st i2c device IDs

2017-07-03 Thread Ulrich Hecht
Fixes a crash on Renesas R8A7793 Gose board that uses these "compatible" entries. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7180.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c

[PATCH v3 3/4] media: adv7180: Add adv7180cp, adv7180st bindings

2017-05-19 Thread Ulrich Hecht
To differentiate between two classes of chip packages that have different numbers of input ports. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- Documentation/devicetree/bindings/media/i2c/adv7180.txt | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH v3 1/4] ARM: dts: gose: add HDMI input

2017-05-19 Thread Ulrich Hecht
Identical to the setup on Koelsch. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 68 -- 1 file changed, 66 insertions(+),

[PATCH v3 4/4] ARM: dts: gose: add composite video input

2017-05-19 Thread Ulrich Hecht
Adds VIN, decoder and connector. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 59 ++ 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r

[PATCH v3 2/4] media: adv7180: add adv7180cp, adv7180st compatible strings

2017-05-19 Thread Ulrich Hecht
Used to differentiate between models with 3 and 6 inputs. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7180.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index bdbbf8c..78de7dd

[PATCH v3 0/4] r8a7793 Gose video input support

2017-05-19 Thread Ulrich Hecht
VIN2 - modeled HDMI decoder input/output and connector - added "renesas,rcar-gen2-vin" compat strings - removed unnecessary "remote" node and aliases - set ADV7612 interrupt to GP4_2 Ulrich Hecht (4): ARM: dts: gose: add HDMI input media: adv7180: add adv7180cp, adv7180st c

[PATCH v1.5 2/6] v4l: rcar-fcp: Add an API to retrieve the FCP device

2016-12-09 Thread Ulrich Hecht
From: Laurent Pinchart The new rcar_fcp_get_device() function retrieves the struct device related to the FCP device. This is useful to handle DMA mapping through the right device. Signed-off-by: Laurent Pinchart

[PATCH v1.5 0/6] R-Car DU: Fix IOMMU operation when connected to VSP

2016-12-09 Thread Ulrich Hecht
device v4l: vsp1: Add API to map and unmap DRM buffers through the VSP drm: rcar-du: Map memory through the VSP device Ulrich Hecht (2): v4l: vsp1: Provide display list and VB2 queue with FCP device arm64: dts: r8a7796: Connect FCP devices to IPMMU arch/arm64/boot/dts/renesas/r8a7796.dtsi

[PATCH v1.5 6/6] arm64: dts: r8a7796: Connect FCP devices to IPMMU

2016-12-09 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index 52e81bb..f5496d4 100644 --- a/arch/arm6

[PATCH v1.5 1/6] v4l: rcar-fcp: Don't get/put module reference

2016-12-09 Thread Ulrich Hecht
From: Laurent Pinchart Direct callers of the FCP API hold a reference to the FCP module due to module linkage, there's no need to take another one manually. Take a reference to the device instead to ensure that it won't disappear behind the caller's

[PATCH v1.5 3/6] v4l: vsp1: Add API to map and unmap DRM buffers through the VSP

2016-12-09 Thread Ulrich Hecht
From: Laurent Pinchart The display buffers must be mapped for DMA through the device that performs memory access. Expose an API to map and unmap memory through the VSP device to be used by the DU. Signed-off-by: Laurent Pinchart

[PATCH v1.5 5/6] v4l: vsp1: Provide display list and VB2 queue with FCP device

2016-12-09 Thread Ulrich Hecht
Prevents IPMMU trap during boot on r8a7795/6 Salvator-X boards: ipmmu-vmsa febd.mmu: Unhandled faut: status 0x0101 iova 0x7f09a000 Code by Magnus Damm. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/vsp1/vsp1_dl.c| 12 +--- d

[PATCH v1.5 4/6] drm: rcar-du: Map memory through the VSP device

2016-12-09 Thread Ulrich Hecht
From: Laurent Pinchart For planes handled by a VSP instance, map the framebuffer memory through the VSP to ensure proper IOMMU handling. Signed-off-by: Laurent Pinchart ---

[PATCH v2 0/3] r8a7793 Gose video input support

2016-10-18 Thread Ulrich Hecht
- modeled HDMI decoder input/output and connector - added "renesas,rcar-gen2-vin" compat strings - removed unnecessary "remote" node and aliases - set ADV7612 interrupt to GP4_2 Ulrich Hecht (3): ARM: dts: r8a7793: Enable VIN0-VIN2 ARM: dts: gose: add HDMI input ARM: dts:

[PATCH v2 2/3] ARM: dts: gose: add HDMI input

2016-10-18 Thread Ulrich Hecht
Identical to the setup on Lager. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r

[PATCH v2 1/3] ARM: dts: r8a7793: Enable VIN0-VIN2

2016-10-18 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index a7d11b9..629d3d6 100644 --- a/arch/arm/bo

[PATCH v2 3/3] ARM: dts: gose: add composite video input

2016-10-18 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index a47ea4b..2606021

[PATCH v2 0/2] Renesas Lager/Koelsch HDMI input

2016-10-18 Thread Ulrich Hecht
Hi! This series enables HDMI input on the Lager and Koelsch boards. It sits on renesas-next-20161017-v4.9-rc1. I have tried to address all concerns raised by reviewers (correctly, I hope), see below for details. CU Uli Changes since v1: - modeled decoder inputs/outputs and connectors -

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

2016-10-18 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 | 66 +++-- 1 fil

[PATCH v2 2/2] ARM: dts: koelsch: add HDMI input

2016-10-18 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 Ultich Hecht. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> [uli: removed "renesas," prefixes from pfc nodes] Signed-off-by: Ulrich Hecht <ulric

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

2016-09-22 Thread Ulrich Hecht
Documentation states that the "default-input" property should reside directly in the node of the device. This adjusts the parsing to make the implementation consistent with the documentation. Based on patch by William Towle <william.to...@codethink.co.uk>. Signed-off-

[PATCH v2 0/2] media: adv7604: fix default-input property inconsistencies

2016-09-22 Thread Ulrich Hecht
if the default-input property is missing. - The old code for parsing the property in the endpoint node can be removed. - The rationale for the change should go in the commit message. CU Uli Ulrich Hecht (2): media: adv7604: fix bindings inconsistency for default-input media: adv7604: automatic

[PATCH v2 1/2] media: adv7604: fix bindings inconsistency for default-input

2016-09-22 Thread Ulrich Hecht
The text states that default-input is an endpoint property, but in the example it is a device property. The default input is a property of the chip, not of a particular port, so the example makes more sense. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Reviewed-by: L

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

2016-09-22 Thread Ulrich Hecht
On Fri, Sep 16, 2016 at 11:57 AM, Laurent Pinchart <laurent.pinch...@ideasonboard.com> wrote: > Hi Ulrich, > > Thank you for the patch. Thanks for your review. > > On Friday 16 Sep 2016 11:39:42 Ulrich Hecht wrote: >> Fall back to input 0 if "defaul

[PATCH 3/3] ARM: dts: gose: add composite video input

2016-09-16 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index e22d63c..981f0fe

[PATCH 2/3] ARM: dts: gose: add HDMI input

2016-09-16 Thread Ulrich Hecht
Identical to the setup on Lager. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793-gose.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r

[PATCH 0/2] Renesas Lager/Koelsch HDMI input

2016-09-16 Thread Ulrich Hecht
Hi! This series enables HDMI input on the Lager and Koelsch boards. It sits on renesas-devel-20160913-v4.8-rc6 and also applies to the media tree. Testing this on a Lager board with v4l2-compliance on top of Hans's R-Car branch (https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=rcar) with

[PATCH 1/3] ARM: dts: r8a7793: Enable VIN0, VIN1

2016-09-16 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- arch/arm/boot/dts/r8a7793.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 8d02aac..0898668 100644 --- a/arch/arm/boot/dts/r

[PATCH 0/3] r8a7793 Gose video input support

2016-09-16 Thread Ulrich Hecht
=rcar) plus the "media: adv7604: automatic "default-input" selection" patch. CU Uli Ulrich Hecht (3): ARM: dts: r8a7793: Enable VIN0, VIN1 ARM: dts: gose: add HDMI input ARM: dts: gose: add composite video input arch/arm/boot/dts/r

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

2016-09-16 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 2/2] ARM: dts: koelsch: add HDMI input

2016-09-16 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 2/2] media: adv7604: automatic "default-input" selection

2016-09-16 Thread Ulrich Hecht
am Towle <william.to...@codethink.co.uk>. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/i2c/adv7604.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/a

[PATCH 1/2] media: adv7604: fix bindings inconsistency for default-input

2016-09-16 Thread Ulrich Hecht
The text states that default-input is an endpoint property, but in the example it is a device property. The example makes more sense. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 3 +-- 1 file changed, 1 ins

[PATCH 0/2] media: adv7604: fix default-input property inconsistencies

2016-09-16 Thread Ulrich Hecht
Hi! This is a fix for the inconsistency in the adv7604 bindings regarding the default-input property, clarifying that it should be a property of the device, not the endpoint, and a patch to implement it. CU Uli Ulrich Hecht (2): media: adv7604: fix bindings inconsistency for default-input

[PATCH v9 1/2] rcar-vin: implement EDID control ioctls

2016-09-15 Thread Ulrich Hecht
Adds G_EDID and S_EDID. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 48 + drivers/media/platform/rcar-vin/rcar-vin.h | 2

[PATCH v9 2/2] media: rcar-vin: use sink pad index for DV timings

2016-09-15 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/rcar-vin/rcar-v4l2.c b/drivers/media/platform/rcar-vin/rcar-v4l2.c index f35005c..2

[PATCH v9 0/2] rcar-vin EDID control ioctls

2016-09-15 Thread Ulrich Hecht
ise - rvin_s_dv_timings(): 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: " Ulrich Hecht (2): rcar-vin: implement E

Re: [PATCH v8 0/2] rcar-vin EDID control ioctls

2016-09-15 Thread Ulrich Hecht
On Thu, Sep 15, 2016 at 3:25 PM, Hans Verkuil <hansv...@cisco.com> wrote: > On 09/15/2016 03:24 PM, Ulrich Hecht wrote: >> >> Hi! >> >> This is a spinoff of "Lager/Koelsch board HDMI input support" that >> excludes >> the DT portions, an

[PATCH v8 2/2] rcar-vin: implement EDID control ioctls

2016-09-15 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 | 42 + drivers/media/platform/rcar-vin/rcar-vin.h | 1 + 2 files changed, 43 insertions(+) diff --git a/drivers/media/platfor

[PATCH v8 1/2] media: adv7604: automatic "default-input" selection

2016-09-15 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 v8 0/2] rcar-vin EDID control ioctls

2016-09-15 Thread Ulrich Hecht
- 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: " Ulrich Hecht (2): media: adv7604: automatic "default-input" selection rcar-vin: implement EDI

[PATCH v7 0/2] rcar-vin EDID control ioctls

2016-09-15 Thread Ulrich Hecht
): use vin->src_pad_idx - rvin_dv_timings_cap(): likewise - rvin_s_dv_timings(): 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:

[PATCH v7 1/2] media: adv7604: automatic "default-input" selection

2016-09-15 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

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

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

[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 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

[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 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 2/4] ARM: dts: lager: Add entries for VIN HDMI input support

2016-07-06 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 | 41 - 1 fil

[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 v5 3/4] ARM: dts: koelsch: add HDMI input

2016-07-06 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 Ultich Hecht. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> [uli: removed "renesas," prefixes from pfc nodes] Signed-off-by: Ulrich Hecht <ulric

[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 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 8/8] r8a7791-koelsch.dts: add HDMI input

2016-05-11 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 Ultich Hecht. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> [uli: removed "renesas," prefixes from pfc nodes] Signed-off-by: Ulrich Hecht <ulric

[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 2/8] media: adv7604: automatic "default-input" selection

2016-05-11 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

[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 6/8] media: rcar-vin: initialize EDID data

2016-05-11 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 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

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 -- To unsubscribe from this list: send

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

2016-04-20 Thread Ulrich Hecht
On Mon, Apr 18, 2016 at 12:04 PM, Hans Verkuil wrote: > Hi Ulrich, > > This isn't right: this just overwrites the adv7180 input with an HDMI input. > > I assume the intention is to have support for both adv7180 and HDMI input and > to use VIDIOC_S_INPUT to select between the

Re: [PATCH] r8a7791-koelsch.dts: add HDMI input

2016-04-20 Thread Ulrich Hecht
On Mon, Apr 18, 2016 at 11:38 AM, Hans Verkuil wrote: > Add support in the dts for the HDMI input. Based on the Lager dts > patch from Ultich Hecht. > > Signed-off-by: Hans Verkuil > --- > Ulrich, can you add this patch to your r-car HDMI patch series?

[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 3/7] media: rcar_vin: Use correct pad number in try_fmt

2016-04-14 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 v3 7/7] ARM: dts: lager: Add entries for VIN HDMI input support

2016-04-14 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 | 41 - 1 fil

[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 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

[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 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 v2 8/9] ARM: shmobile: lager dts: Add entries for VIN HDMI input support

2016-03-02 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 v2 9/9] ARM: shmobile: lager dts: specify default-input for ADV7612

2016-03-02 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 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 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 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 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 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 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 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 0/2] adv7604: .get_selection support

2015-12-22 Thread Ulrich Hecht
with the rcar_vin driver together with Hans Verkuil's "v4l2: remove g/s_crop and cropcap from video ops" patch: https://git.linuxtv.org/hverkuil/media_tree.git/commit/?h=rmcrop=9ff32166c29d1323db090d638da27ea652d1d4d8 CU Uli Ulrich Hecht (2): media: adv7604: implement get_selecti

[PATCH v2] adv7604: add direct interrupt handling

2015-12-22 Thread Ulrich Hecht
When probed from device tree, the i2c client driver can handle the interrupt on its own. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com> --- This revision implements the suggested style chang

[PATCH v2 1/2] media: adv7604: implement get_selection

2015-12-22 Thread Ulrich Hecht
The rcar_vin driver relies on this. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index be5980c..8ad5c28

[PATCH v2 2/2] media: adv7604: update timings on change of input signal

2015-12-22 Thread Ulrich Hecht
Without this, .get_selection will always return the boot-time state. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 8

Re: [PATCH 0/3] adv7604: .g_crop and .cropcap support

2015-12-14 Thread Ulrich Hecht
On Mon, Dec 14, 2015 at 2:02 PM, Hans Verkuil <hverk...@xs4all.nl> wrote: > On 12/14/2015 01:55 PM, Ulrich Hecht wrote: >> On Mon, Dec 14, 2015 at 11:33 AM, Hans Verkuil <hverk...@xs4all.nl> wrote: >>> OK, my http://git.linuxtv.org/hverkuil/media_tree.git/log

Re: [PATCH 0/3] adv7604: .g_crop and .cropcap support

2015-12-14 Thread Ulrich Hecht
On Mon, Dec 14, 2015 at 11:33 AM, Hans Verkuil wrote: > OK, my http://git.linuxtv.org/hverkuil/media_tree.git/log/?h=rmcrop branch > now has a > rebased patch to remove g/s_crop. Only compile-tested. It's just the one > patch that you > need. Thank you, that works perfectly

[PATCH 1/3] media: adv7604: implement g_crop

2015-12-11 Thread Ulrich Hecht
The rcar_vin driver relies on this. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 129009f..d30e7cc 100644 --- a/d

[PATCH] adv7604: add direct interrupt handling

2015-12-11 Thread Ulrich Hecht
When probed from device tree, the i2c client driver can handle the interrupt on its own. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/med

[PATCH 0/3] adv7604: .g_crop and .cropcap support

2015-12-11 Thread Ulrich Hecht
Hi! The rcar_vin driver relies on these methods. The third patch makes sure that they return up-to-date data if the input signal has changed since initialization. CU Uli Ulrich Hecht (3): media: adv7604: implement g_crop media: adv7604: implement cropcap media: adv7604: update timings

[PATCH 2/3] media: adv7604: implement cropcap

2015-12-11 Thread Ulrich Hecht
Used by the rcar_vin driver. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index d30e7cc..1bfa9f3 100644 --- a/d

[PATCH 3/3] media: adv7604: update timings on change of input signal

2015-12-11 Thread Ulrich Hecht
Without this, g_crop will always return the boot-time state. Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7604.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index 1bfa9f3..d

[PATCH] media: adv7180: increase delay after reset to 5ms

2015-11-10 Thread Ulrich Hecht
takes approximately 2 ms. However, it is recommended to wait 5 ms before any further I2C writes are performed." Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com> --- drivers/media/i2c/adv7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/adv

Re: [PATCH/RFT 0/7] HDMI capture on Lager

2015-10-27 Thread Ulrich Hecht
On Mon, Oct 19, 2015 at 4:54 PM, Hans Verkuil <hansv...@cisco.com> wrote: > On 10/19/2015 04:07 PM, Ulrich Hecht wrote: >> This series is supposed to serve as a basis for testing the HDMI input on >> the Lager board. It is based on the series by William Towle, dropping the

[PATCH 6/6] media: soc_camera: rcar_vin: Add r8a7794 device support

2014-07-25 Thread Ulrich Hecht
From: Koji Matsuoka koji.matsuoka...@renesas.com Signed-off-by: Koji Matsuoka koji.matsuoka...@renesas.com Cc: linux-media@vger.kernel.org --- drivers/media/platform/soc_camera/rcar_vin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/soc_camera/rcar_vin.c

  1   2   >