Hi Simon,
On Thu, 13 Aug 2015, William Towle wrote:
> (Obsoletes corresponding parts of "HDMI and Composite capture on
> Lager...", published previously)
> To follow:
>[PATCH 1/3] ARM: shmobile: lager dts: Add entries for VIN HDMI input
>[PATCH 2/3]
commit bf9c8227 ("[media] media:
adv7604: ability to read default input port from DT") states that the
"default-input" property should reside directly in the node for
adv7612. Hence, also adjust the parsing to make the implementation
consistent with this.
Signed-off-by: Wi
Add DT entries for vin0, vin0_pins, and adv7612.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 37 ++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
From: Ian Molton
Set the 'default-input' property for ADV7612, enabling image and video
capture without the need to have userspace specifying routing.
(This version places the property in the adv7612 node, in line with
Ian's documentation)
Signed-off-by: Ian Molton
Signed-
Version 2 ... removes some redundant configuration from device nodes,
and provides some supplementary logic for automatic initialisation of
state->pdata.default_input based on the hardware present.
(Obsoletes corresponding parts of "HDMI and Composite capture on
Lager...", published previously
Hi Hans,
On Tue, 11 Aug 2015, Hans Verkuil wrote:
0015-v4l-subdev-Add-pad-config-allocator-and-init.patch
0016-media-soc_camera-rcar_vin-Add-BT.709-24-bit-RGB888-i.patch
0017-media-soc_camera-pad-aware-driver-initialisation.patch
0018-media-rcar_vin-Use-correct-pad-number-in-try_fmt.patch
0019-m
The patch series "HDMI and Composite capture on Lager...", here
https://www.mail-archive.com/linux-media@vger.kernel.org/msg90650.html
...received a request for a re-post of its first two patches with an
additional Cc: to linux...@vger.kernel.org here:
https://www.mail-archive.
Add DT entries for vin0, vin0_pins, and adv7612
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
(for HDMI on Lager) and the converted adv7180.c (for composite)
underneath.
Building rcar_vin gains a dependency on CONFIG_MEDIA_CONTROLLER, in
line with requirements for building the drivers associated with it.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
drivers/media/platfo
hat the comparison works as it used to.
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c
index bfb0b6a..0587d27 100644
--- a/drivers/media/i2c/adv7604.c
+++
From: Rob Taylor
Adapt rcar_vin_querycap() so that cap->bus_info is populated with
something meaningful/unique.
Signed-off-by: Rob Taylor
Signed-off-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/me
From: Rob Taylor
In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-compliance issue.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
Acked-by: Hans Verkuil
---
drivers/media/platform/soc_camera/rcar_vin.c |3 +++
1 file changed, 3 insertions
patch replaces adv7611_read_cable_det() with a functionally
identical copy, commented appropriately.
Earlier submissions [leading to commit 8331d30b] also set .cp_csc,
which is used in a cp_read() call within adv76xx_log_status().
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c | 17 ++
This adds V4L2_MBUS_FMT_RGB888_1X24 input format support
which is used by the ADV7612 chip.
Signed-off-by: Koji Matsuoka
Signed-off-by: Simon Horman
Signed-off-by: Yoshihiro Kaneko
Modified to use MEDIA_BUS_FMT_* constants
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
Acked-by: Hans
Fix rcar_vin_try_fmt's use of an inappropriate pad number when calling
the subdev set_fmt function - for the ADV7612, IDs should be non-zero.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/rcar_vin.c | 17 -
1 file change
From: Rob Taylor
Fix calls to subdev try_fmt function to use valid pad numbers, fixing
the case where subdevs (eg. ADV7612) have valid pad numbers that are
non-zero.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_scale_crop.c |1 +
1 file
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
From: Hans Verkuil
Fill in the std field from the video_device tvnorms field in
enum_input.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_
From: Hans Verkuil
Remove unnecessary check and fix the error code for vb1 drivers.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/so
Add DT entries for vin0, vin0_pins, and adv7612
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
gains a dependency on CONFIG_MEDIA_CONTROLLER, in
line with requirements for building the drivers associated with it.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/Kconfig |1 +
drivers/media/platform/soc_camera/rcar_vin.c |1 +
drivers
Prior to commit f862f57d ("[media] media: i2c: ADV7604: Migrate to
regmap"), the local variable 'val' contained the combined register
reads used in the chipset version ID test. Restore this expectation
so that the comparison works as it used to.
---
drivers/media/i2c/adv7604.c |2 +-
1 file ch
Version 5. Some successful upstreaming and some further modification
means this obsoletes version 4, as seen at:
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/92832
This version of the patch series contains a fix for probing the
ADV7611/ADV7612 chips, a red
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 Pinchart
Acked-by: Vaibhav Hir
From: Hans Verkuil
Remove unnecessary check and fix the error code for vb1 drivers.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/so
From: Rob Taylor
In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-compliance issue.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
Acked-by: Hans Verkuil
---
drivers/media/platform/soc_camera/rcar_vin.c |3 +++
1 file changed, 3 insertions
From: Rob Taylor
Adapt rcar_vin_querycap() so that cap->bus_info is populated with
something meaningful/unique.
Signed-off-by: Rob Taylor
Signed-off-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/me
From: Ian Molton
Adds support to the adv7604 driver for specifying the default input
port in the Device tree. If no value is provided, the driver will be
unable to select an input without help from userspace.
Tested-by: William Towle
Signed-off-by: Ian Molton
Acked-by: Hans Verkuil
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
Add support for the ADV7612 chip as implemented on Renesas' Lager
board to adv7604.c, including lists for formats/colourspace/timing
selection and an IRQ handler.
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c | 102 +--
1 file change
Add DT entries for vin0, vin0_pins, and adv7612
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
From: Ben Dooks
Add a proper of match id for use when the device is being bound via
device tree, to avoid having to use the i2c old-style binding of the
device.
Signed-off-by: Ben Dooks
Signed-off-by: William.Towle
Reviewed-by: Rob Taylor
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180
Version 4. Obsoletes version 3, as seen at:
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/91931
This version has the bus_info field set in rcar_vin.c, where the
value used can be constructed uniquely. Elsewhere a number of small
optimisations have been mad
From: Ian Molton
This documentation accompanies the patch adding support for the ADV7612
dual HDMI decoder / repeater chip.
Signed-off-by: Ian Molton
Reviewed-by: William Towle
Acked-by: Hans Verkuil
---
.../devicetree/bindings/media/i2c/adv7604.txt| 18 ++
1 file
From: Hans Verkuil
Fill in the std field from the video_device tvnorms field in
enum_input.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_
From: Rob Taylor
Fix calls to subdev try_fmt function to use valid pad numbers, fixing
the case where subdevs (eg. ADV7612) have valid pad numbers that are
non-zero.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_scale_crop.c |1 +
1 file
gains a dependency on CONFIG_MEDIA_CONTROLLER, in
line with requirements for building the drivers associated with it.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/Kconfig |1 +
drivers/media/platform/soc_camera/rcar_vin.c |1 +
drivers
Fix rcar_vin_try_fmt's use of an inappropriate pad number when calling
the subdev set_fmt function - for the ADV7612, IDs should be non-zero.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/rcar_vin.c | 20 ++--
1 file change
This adds V4L2_MBUS_FMT_RGB888_1X24 input format support
which is used by the ADV7612 chip.
Signed-off-by: Koji Matsuoka
Signed-off-by: Simon Horman
Signed-off-by: Yoshihiro Kaneko
Modified to use MEDIA_BUS_FMT_* constants
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
Acked-by: Hans
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 Pinchart
Acked-by: Vaibhav Hir
Hi Hans,
I'm not sure if I've asked this before, but shouldn't soc-camera be extended
with support for the DV_TIMINGS ioctls in order to control the adv7604?
It's peculiar that that is not included in this patch series...
Rob tells me he did some work on this, but we don't have it passing
m
gains a dependency on CONFIG_MEDIA_CONTROLLER, in
line with requirements for building the drivers associated with it.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/Kconfig |1 +
drivers/media/platform/soc_camera/rcar_vin.c |1 +
drivers
From: Rob Taylor
Fix calls to subdev try_fmt to use correct pad. Fixes failures with
subdevs that care about having the right pad number set.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_scale_crop.c | 10 ++
1 file changed, 10
Add DT entries for vin0, vin0_pins, and adv7612
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
From: Rob Taylor
In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-complience issue.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
Version 3. Obsoletes version 2, as seen at:
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/91668
Key changes in this version: this has some reworking of the adv7604
driver probe and soc_camera initialisation functions. In addition,
we give rcar_vin.c a depen
Fix rcar_vin_try_fmt to use the correct pad number when calling the
subdev set_fmt. Previously pad number 0 was always used, resulting in
EINVAL if the subdev cares about the pad number (e.g. ADV7612).
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
From: Ben Dooks
Add a proper of match id for use when the device is being bound via
device tree, to avoid having to use the i2c old-style binding of the
device.
Signed-off-by: Ben Dooks
Signed-off-by: William.Towle
Reviewed-by: Rob Taylor
---
drivers/media/i2c/adv7180.c | 11 +++
1
From: Rob Taylor
Adapt soc_camera_querycap() so that cap->bus_info is populated in
addition to cap->driver.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/soc_camera.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/pl
From: Ian Molton
Adds support to the adv7604 driver for specifying the default input
port in the Device tree. If no value is provided, the driver will be
unable to select an input without help from userspace.
Tested-by: William Towle
Signed-off-by: Ian Molton
---
Documentation/devicetree
From: Hans Verkuil
Remove unnecessary check and fix the error code for vb1 drivers.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/so
From: Ian Molton
This documentation accompanies the patch adding support for the ADV7612
dual HDMI decoder / repeater chip.
Signed-off-by: Ian Molton
Reviewed-by: William Towle
---
.../devicetree/bindings/media/i2c/adv7604.txt| 18 ++
1 file changed, 10 insertions
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 Pinchart
Acked-by: Vaibhav Hir
Add support for the ADV7612 chip as implemented on Renesas' Lager
board to adv7604.c, including lists for formats/colourspace/timing
selection and an IRQ handler.
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c | 91 +--
1 file change
This adds V4L2_MBUS_FMT_RGB888_1X24 input format support
which is used by the ADV7612 chip.
Signed-off-by: Koji Matsuoka
Signed-off-by: Simon Horman
Signed-off-by: Yoshihiro Kaneko
Modified to use MEDIA_BUS_FMT_* constants
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers
From: Hans Verkuil
Fill in the std field from the video_device tvnorms field in
enum_input.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_
Add support for the ADV7612 chip as implemented on Renesas' Lager
board to adv7604.c, including lists for formats/colourspace/timing
selection and an IRQ handler.
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c | 83 +--
1 file change
This adds V4L2_MBUS_FMT_RGB888_1X24 input format support
which is used by the ADV7612 chip.
Signed-off-by: Koji Matsuoka
Signed-off-by: Simon Horman
Signed-off-by: Yoshihiro Kaneko
Modified to use MEDIA_BUS_FMT_* constants
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers
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 Pinchart
Acked-by: Vaibhav Hir
Add DT entries for vin0, vin0_pins, and adv7612
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
From: Ian Molton
Adds support to the adv7604 driver for specifying the default input
port in the Device tree. If no value is provided, the driver will be
unable to select an input without help from userspace.
Tested-by: William Towle
Signed-off-by: Ian Molton
---
Documentation/devicetree
From: Rob Taylor
Fill in bus_info field and zero reserved field - v4l2-compliance
complained it wasn't zero (v4l2-compliance.cpp:308 in v4l-utils v1.6.2)
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/soc_camera.c |2 ++
1 file chang
From: Ian Molton
This documentation accompanies the patch adding support for the ADV7612
dual HDMI decoder / repeater chip.
Signed-off-by: Ian Molton
Reviewed-by: William Towle
---
.../devicetree/bindings/media/i2c/adv7604.txt| 18 ++
1 file changed, 10 insertions
Version 2 of the patchset sent last week, ie.
http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/91423
In response to comments, this version has: fixes regarding use of
CONFIG_MEDIA_CONTROLLER defines; an additional line for the RGB888
support patch (required by
Add detection of source pad number for drivers aware of the media
controller API, so that soc_camera/rcar_vin can create device nodes
to support a driver such as adv7604.c (for HDMI on Lager) underneath.
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
drivers/media/platform
Fix rcar_vin_try_fmt to use the correct pad number when calling the
subdev set_fmt. Previously pad number 0 was always used, resulting in
EINVAL if the subdev cares about the pad number (e.g. ADV7612).
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera
From: Ben Dooks
Add a proper of match id for use when the device is being bound via
device tree, to avoid having to use the i2c old-style binding of the
device.
Signed-off-by: Ben Dooks
Signed-off-by: William.Towle
Reviewed-by: Rob Taylor
---
drivers/media/i2c/adv7180.c | 11 +++
1
From: Hans Verkuil
Remove unnecessary check and fix the error code for vb1 drivers.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/so
From: Rob Taylor
In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-complience issue.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
From: Hans Verkuil
Fill in the std field from the video_device tvnorms field in
enum_input.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_
From: Rob Taylor
Fix calls to subdev try_fmt to use correct pad. Fixes failures with
subdevs that care about having the right pad number set.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_scale_crop.c | 17 +
1 file changed
On Mon, 25 May 2015, Guennadi Liakhovetski wrote:
How about this version of this patch:
https://patchwork.linuxtv.org/patch/28098/
? I personally like that one better, it seems clearer to me. This one
first sets a bit to vnmp, then make another check and inverts it, whereas
that version clearly
Pretty print fourcc and code in format debugging statements.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/drivers/media/platform/soc_camera
From: Hans Verkuil
Remove unnecessary check and fix the error code for vb1 drivers.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/so
Add detection of source pad number for drivers aware of the media
controller API, so that soc_camera/rcar_vin can create device nodes
to support a driver such as adv7604.c (for HDMI on Lager) underneath.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera
Fill in bus_info field and zero reserved field.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/soc_camera.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_camera.c
b/drivers/media/platform/soc_camera
Return a usable format (and resolution) from adv7180_set_pad_format()
in the TRY_FORMAT case
Signed-off-by: Rob Taylor
Tested-by: William Towle
---
drivers/media/i2c/adv7180.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers
Add support for the ADV7612 chip as implemented on Renesas' Lager
board to adv7604.c, including lists for formats/colourspace/timing
selection and an IRQ handler.
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c | 83 +--
1 file change
From: Hans Verkuil
Fill in the std field from the video_device tvnorms field in
enum_input.
Signed-off-by: Hans Verkuil
Signed-off-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_camera.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform/soc_camera/soc_
From: Rob Taylor
Some helpful debugging for get_formats use, useful for debugging
v4l2-compliance issues.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/soc_camera.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a
Adds DT entries for vin0_pins, adv7612 and vin0
Signed-off-by: William Towle
Signed-off-by: Rob Taylor
---
arch/arm/boot/dts/r8a7790-lager.dts | 41 ++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch
From: Ian Molton
This documentation accompanies the patch adding support for the ADV7612
dual HDMI decoder / repeater chip.
Signed-off-by: Ian Molton
Reviewed-by: William Towle
---
.../devicetree/bindings/media/i2c/adv7604.txt| 18 ++
1 file changed, 10 insertions
From: Rob Taylor
Fix rcar_vin_try_fmt to use the correct pad number when calling the
subdev set_fmt. Previously pad number 0 was always used, resulting in
EINVAL if the subdev cares about the pad number (e.g. ADV7612).
Signed-off-by: William Towle Taylor
Reviewed-by: Rob Taylor
---
drivers
rcar_vin requires physically contiguous buffer, so shouldn't advertise
support for USERPTR.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pla
From: Ian Molton
Adds support to the adv7604 driver for specifying the default input
port in the Device tree. If no value is provided, the driver will be
unable to select an input without help from userspace.
Tested-by: William Towle
Signed-off-by: Ian Molton
---
Documentation/devicetree
This is our latest test branch for video support on Lager, ported
to kernel 4.1 as per commit 9cae84b32dd52768cf2fd2fcb214c3f570676c4b
("[media] DocBook/media: fix syntax error") on the media-tree master
branch last week.
Single frame and video capture is working with appropriate test
cases fo
When hardware reports interlaced input, correctly set field to
V4L_FIELD_INTERLACED ini adv76xx_fill_format.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/i2c/adv7604.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/i2c
In videobuf_setup reject buffers that are too small for the configured
format. Fixes v4l2-complience issue.
Signed-off-by: Rob Taylor
Reviewed-by: William Towle
---
drivers/media/platform/soc_camera/rcar_vin.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/media/platform
Make sure we're always reporting the current format of the input.
Fixes start of day bugs.
Signed-off-by: Rob Taylor
Signed-off-by: William Towle
---
drivers/media/i2c/adv7604.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7
Set 'default-input' property for ADV7612. Enables image/video capture
without the need to have userspace specifying routing.
Signed-off-by: Ian Molton
Tested-by: William Towle
---
arch/arm/boot/dts/r8a7790-lager.dts |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/ar
From: Koji Matsuoka
Signed-off-by: Koji Matsuoka
Signed-off-by: Simon Horman
Signed-off-by: Yoshihiro Kaneko
Modified to use MEDIA_BUS_FMT_* constants
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/rcar_vin.c | 15 +++
1 file
From: Rob Taylor
Fix calls to subdev try_fmt to use correct pad. Fixes failures with
subdevs that care about having the right pad number set.
Signed-off-by: William Towle
Reviewed-by: Rob Taylor
---
drivers/media/platform/soc_camera/soc_scale_crop.c | 11 +++
1 file changed, 11
From: Ben Dooks
Add a proper of match id for use when the device is being bound via
device tree, to avoid having to use the i2c old-style binding of the
device.
Signed-off-by: Ben Dooks
Signed-off-by: William.Towle
Reviewed-by: Rob Taylor
---
drivers/media/i2c/adv7180.c | 11 +++
1
Hello again all,
Previously I promised to comment further on progress with our work
supporting HDMI input on Lager. After studying commit 4c28078 "[media]
rcar_vin: Add scaling support" on Hans' subdev2 branch, I have come to
the conclusion that the following is actually reasonable behaviour wh
On Wed, 4 Mar 2015, Hans Verkuil wrote:
On 03/04/15 10:51, William Towle wrote:
if (timings->pad >= state->source_pad)
return -EINVAL;
It suffices to comment out this line, but clearly this is not ideal.
Depending on the intended semantics, should it be filtering ou
Hi all,
I would like to develop a point in my previous discussion based on
new findings:
On Thu, 29 Jan 2015, William Towle wrote:
3. Our third problem concerns detecting the resolution of the stream.
Our code works with the obsoleted driver (adv761x.c) in place, but with
our modifications
Hi Jean-Michel and others,
On Thu, 29 Jan 2015, Jean-Michel Hautbois wrote:
First of all, this subject puzzles me... What means WmT ??
That's just my initialism, to differentiate my work from that of
colleagues'. I'll submit without those in due course (and SOBs).
- fmt = v
1 - 100 of 120 matches
Mail list logo