Re: [PATCH 11/13] v4l: vsp1: Determine partition requirements for scaled images

2016-09-15 Thread Niklas Söderlund
On 2016-09-14 23:00:33 +0300, Laurent Pinchart wrote: > Hi Niklas, > > On Wednesday 14 Sep 2016 21:27:33 Niklas Söderlund wrote: > > On 2016-09-14 02:17:04 +0300, Laurent Pinchart wrote: > > > From: Kieran Bingham > > > > > > The partition algorithm needs to

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

2016-09-15 Thread Ulrich Hecht
Hi! This is a spinoff of "Lager/Koelsch board HDMI input support" that excludes the DT portions, and that works without the unmerged subdevice abstraction layer. This revision improves over v7 from earlier today in that it does not break analog input devices... CU Uli Changes since v7: - do

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 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, and that works without the unmerged subdevice abstraction >>

[PATCH v6 0/2] Add GS1662 driver

2016-09-15 Thread Charles-Antoine Couret
These patches add a driver for GS1662 component, a video serializer which supports CEA and SDI timings. To perform that, we need to determine SDI definition and some flags. The associated documentation will be into another patchset to be Sphinx comaptible. This patchset add: * redefine

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

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

2016-09-15 Thread Ulrich Hecht
Fall back to input 0 if "default-input" property is not present. Additionally, documentation in commit bf9c82278c34 ("[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

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-15 Thread Hans Verkuil
On 09/15/2016 03:19 PM, Andrey Utkin wrote: > On Thu, Sep 15, 2016 at 03:15:53PM +0200, Hans Verkuil wrote: >> It could be related to the fact that a PCI write may be delayed unless >> it is followed by a read (see also the comments in >> drivers/media/pci/ivtv/ivtv-driver.h). > > Thanks for

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-15 Thread Hans Verkuil
It could be related to the fact that a PCI write may be delayed unless it is followed by a read (see also the comments in drivers/media/pci/ivtv/ivtv-driver.h). That was probably the reason for the pci_read_config_word in the reg_write code. Try putting that back (and just that). Regards,

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-15 Thread Andrey Utkin
On Thu, Sep 15, 2016 at 03:15:53PM +0200, Hans Verkuil wrote: > It could be related to the fact that a PCI write may be delayed unless > it is followed by a read (see also the comments in > drivers/media/pci/ivtv/ivtv-driver.h). Thanks for explanation! > That was probably the reason for the

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

2016-09-15 Thread Hans Verkuil
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, and that works without the unmerged subdevice abstraction layer. Are you going to post another patch series for the DT portions? Regards, Hans

[PATCH v6 1/2] SDI: add flag for SDI formats and SMPTE 125M definition

2016-09-15 Thread Charles-Antoine Couret
Adding others generic flags, which could be used by many components like GS1662. Signed-off-by: Charles-Antoine Couret --- drivers/media/v4l2-core/v4l2-dv-timings.c | 11 +++ include/uapi/linux/v4l2-dv-timings.h | 12

[PATCH v6 2/2] Add GS1662 driver, a video serializer

2016-09-15 Thread Charles-Antoine Couret
You can read datasheet here: http://www.c-dis.net/media/871/GS1662_Datasheet.pdf It's a component which supports HD and SD CEA or SDI formats to SDI output. It's configured through SPI bus. GS1662 driver is implemented as v4l2 subdev. Signed-off-by: Charles-Antoine Couret

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

2016-09-15 Thread Hans Verkuil
Hi Ulrich, A patch series on top of my tree with Niklas' patches already merged: https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=rcar would be ideal. Since otherwise I have to resolve a conflict. Regards, Hans On 09/15/2016 03:59 PM, Niklas Söderlund wrote: > Hi Ulrich, > >

Re: [PATCH] [media] MAINTAINERS: Add entry for the Renesas VIN driver

2016-09-15 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Thursday 15 Sep 2016 14:18:36 Niklas Söderlund wrote: > The driver is maintained and supported, document it as such. > > Signed-off-by: Niklas Söderlund Acked-by: Laurent Pinchart

Re: [PATCH] [media] MAINTAINERS: Add entry for the Renesas VIN driver

2016-09-15 Thread Simon Horman
On Thu, Sep 15, 2016 at 03:22:38PM +0300, Laurent Pinchart wrote: > Hi Niklas, > > Thank you for the patch. > > On Thursday 15 Sep 2016 14:18:36 Niklas Söderlund wrote: > > The driver is maintained and supported, document it as such. > > > > Signed-off-by: Niklas Söderlund

solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-15 Thread Andrey Utkin
Hi Krzysztof, Me and one more solo6010 board user experience machine lockup when solo6x10 module is loaded on kernel series starting with 4.3 (despite solo6110 board probes just fine on all kernels). That is, 3.16, 3.18, 4.1 and 4.2 are tested and fine, and 4.3, 4.4, and others up to current

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-15 Thread One Thousand Gnomes
On Thu, 15 Sep 2016 16:19:52 +0300 Andrey Utkin wrote: > On Thu, Sep 15, 2016 at 03:15:53PM +0200, Hans Verkuil wrote: > > It could be related to the fact that a PCI write may be delayed unless > > it is followed by a read (see also the comments in > >

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

2016-09-15 Thread Niklas Söderlund
Hi Ulrich, Thanks for your patch. Can you append another patch ontop of this one whit the following change: diff --git a/drivers/media/platform/rcar-vin/rcar-v4l2.c b/drivers/media/platform/rcar-vin/rcar-v4l2.c index ac26738..7ba728d 100644 --- a/drivers/media/platform/rcar-vin/rcar-v4l2.c

[GIT PULL FOR v4.9] Add SPI GS1662 driver

2016-09-15 Thread Hans Verkuil
The following changes since commit c3b809834db8b1a8891c7ff873a216eac119628d: [media] pulse8-cec: fix compiler warning (2016-09-12 06:42:44 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git gs1662 for you to fetch changes up to

Re: [PATCH 0/3] Add Mediatek JPEG Decoder

2016-09-15 Thread Rick Chang
Hi Hans, I have perceived the problem. I'm afraid there may be some firewalls in my environment.To prevent too much repost mails, I will check my environment with our expert first.Sorry for the inconvenient. Best Regards, Rick On Thu, 2016-09-15 at 09:43 +0200, Hans Verkuil wrote: > Hi Rick, >

Re: [PATCH v6 2/2] Add GS1662 driver, a video serializer

2016-09-15 Thread Hans Verkuil
Can you make a follow-up patch adding an entry to the MAINTAINERS file? Thanks! Hans On 09/15/2016 03:51 PM, Charles-Antoine Couret wrote: > You can read datasheet here: > http://www.c-dis.net/media/871/GS1662_Datasheet.pdf > > It's a component which supports HD and SD CEA or SDI

[PATCH v7 0/2] Add GS1662 driver

2016-09-15 Thread Charles-Antoine Couret
These patches add a driver for GS1662 component, a video serializer which supports CEA and SDI timings. To perform that, we need to determine SDI definition and some flags. The associated documentation will be into another patchset to be Sphinx comaptible. This patchset add: * driver in

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

2016-09-15 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Thursday 15 Sep 2016 15:24:08 Ulrich Hecht wrote: > Adds G_EDID and S_EDID. > > Signed-off-by: Ulrich Hecht > --- > drivers/media/platform/rcar-vin/rcar-v4l2.c | 42 ++ >

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

2016-09-15 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Thursday 15 Sep 2016 15:24:07 Ulrich Hecht wrote: > Fall back to input 0 if "default-input" property is not present. > > Additionally, documentation in commit bf9c82278c34 ("[media] > media: adv7604: ability to read default input port from DT") states >

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

2016-09-15 Thread Hans Verkuil
On 09/15/2016 06:47 PM, Laurent Pinchart wrote: > Hi Ulrich, > > Thank you for the patch. > > On Thursday 15 Sep 2016 15:24:08 Ulrich Hecht wrote: >> Adds G_EDID and S_EDID. >> >> Signed-off-by: Ulrich Hecht >> --- >>

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

2016-09-15 Thread Hans Verkuil
I've added patch v8 1/2 here as well. All I need is a correct patch 2/2 on top of this. If you can do this tomorrow morning, then it will get into 4.9. Hans On 09/15/2016 04:02 PM, Hans Verkuil wrote: > Hi Ulrich, > > A patch series on top of my tree with Niklas' patches already

[PATCH] media Kconfig: improve the spi integration

2016-09-15 Thread Hans Verkuil
The SPI driver looked a bit lonely in the config menu, and it didn't support the autoselect. Shift things around a bit so it looks more logical. Signed-off-by: Hans Verkuil --- Note: this patch sits on top of the gs1662 patch series. --- drivers/media/Kconfig | 8

[PATCH v3] V4L2: Add documentation for SDI timings and related flags

2016-09-15 Thread Charles-Antoine Couret
Describe new needed constants defined by SDI format. Signed-off-by: Charles-Antoine Couret --- Documentation/media/uapi/v4l/vidioc-enuminput.rst | 31 +- .../media/uapi/v4l/vidioc-g-dv-timings.rst | 15 +++ 2 files

[PATCH v7 2/2] Add GS1662 driver, a video serializer

2016-09-15 Thread Charles-Antoine Couret
You can read datasheet here: http://www.c-dis.net/media/871/GS1662_Datasheet.pdf It's a component which supports HD and SD CEA or SDI formats to SDI output. It's configured through SPI bus. GS1662 driver is implemented as v4l2 subdev. Signed-off-by: Charles-Antoine Couret

[PATCH v7 1/2] SDI: add flag for SDI formats and SMPTE 125M definition

2016-09-15 Thread Charles-Antoine Couret
Adding others generic flags, which could be used by many components like GS1662. Signed-off-by: Charles-Antoine Couret --- drivers/media/v4l2-core/v4l2-dv-timings.c | 11 +++ include/uapi/linux/v4l2-dv-timings.h | 12

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

2016-09-15 Thread Hans Verkuil
On 09/15/2016 07:33 PM, Ulrich Hecht wrote: > Hi! > > This revision sits on top of Hans's rcar branch and adds pad sanity checks > for g_edid and s_edid, the sink pad fix for the DV timings suggested by > Niklas, and documents sink_pad_idx. Good night! > > CU > Uli > > > Changes since v8: >

[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 Acked-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 48 + drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++ 2 files

[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 --- 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..2bbe6d4

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

2016-09-15 Thread Laurent Pinchart
Hi Hans, On Thursday 15 Sep 2016 19:01:06 Hans Verkuil wrote: > On 09/15/2016 06:47 PM, Laurent Pinchart wrote: > > On Thursday 15 Sep 2016 15:24:08 Ulrich Hecht wrote: > >> Adds G_EDID and S_EDID. > >> > >> Signed-off-by: Ulrich Hecht > >> --- > >> > >>

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

2016-09-15 Thread Niklas Söderlund
On 2016-09-15 19:01:06 +0200, Hans Verkuil wrote: > > > On 09/15/2016 06:47 PM, Laurent Pinchart wrote: > > Hi Ulrich, > > > > Thank you for the patch. > > > > On Thursday 15 Sep 2016 15:24:08 Ulrich Hecht wrote: > >> Adds G_EDID and S_EDID. > >> > >> Signed-off-by: Ulrich Hecht

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

2016-09-15 Thread Ulrich Hecht
Hi! This revision sits on top of Hans's rcar branch and adds pad sanity checks for g_edid and s_edid, the sink pad fix for the DV timings suggested by Niklas, and documents sink_pad_idx. Good night! CU Uli Changes since v8: - dumped merged default-input patch - added pad sanity check - added

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

2016-09-15 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Thursday 15 Sep 2016 19:33:23 Ulrich Hecht wrote: > Adds G_EDID and S_EDID. > > Signed-off-by: Ulrich Hecht > Acked-by: Niklas Söderlund Acked-by: Laurent Pinchart

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

2016-09-15 Thread Laurent Pinchart
Hi Ulrich, Thank you for the patch. On Thursday 15 Sep 2016 19:33:24 Ulrich Hecht wrote: > Signed-off-by: Ulrich Hecht With a commit message explaining why this is needed, Acked-by: Laurent Pinchart > --- >

Re: mceusb xhci issue?

2016-09-15 Thread Alan Stern
On Sat, 10 Sep 2016, Wade Berrier wrote: > On Thu Aug 11 16:18, Alan Stern wrote: > > I never received any replies to this message. Should the patch I > > suggested be merged? > > > > Hello, > > I applied this updated patch to the fedora23 4.7.2 kernel and the mceusb > transceiver works as

Re: mceusb xhci issue?

2016-09-15 Thread Alan Stern
Mauro: I just took a look at the mceusb.c source file under drivers/media/rc/. The probe routine checks that ep_in != NULL, but it doesn't check ep_out. This can lead to a NULL-pointer dereference later on, crashing the driver. Such a crash was reported here:

[PATCH v1.1 4/5] smiapp: Use runtime PM

2016-09-15 Thread Sakari Ailus
Use runtime PM to manage power. The s_power() core sub-device callback is removed as it is no longer needed. The power management of the sensor is changed so that it is no longer dependent on open file descriptors on sub-device or use_count in the media entity but solely will be powered on as

Re: mceusb xhci issue?

2016-09-15 Thread Wade Berrier
On Thu Sep 15 15:13, Alan Stern wrote: > On Sat, 10 Sep 2016, Wade Berrier wrote: > > > On Thu Aug 11 16:18, Alan Stern wrote: > > > I never received any replies to this message. Should the patch I > > > suggested be merged? > > > > > > > Hello, > > > > I applied this updated patch to the

[GIT PULL FOR v4.9] R-Car VSP1 fixes and features

2016-09-15 Thread Laurent Pinchart
Hi Mauro, Here's my (if all goes well last) pull request for the VSP1 driver for v4.9. As discussed over IRC I've dropped the rotation patch as it's still requires discussions. The rest should not be controversial, it's a bunch of fixes (mostly for race conditions), a bit of refactoring,

cron job: media_tree daily build: ERRORS

2016-09-15 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Fri Sep 16 04:00:16 CEST 2016 git branch: test git hash: c3b809834db8b1a8891c7ff873a216eac119628d gcc

Re: [v4l-utils PATCH v1.3 2/2] media-ctl: Print information related to a single entity

2016-09-15 Thread Sakari Ailus
On 09/15/16 11:10, Laurent Pinchart wrote: > Reviewed-by: Laurent Pinchart Thanks! pushed to master. -- Sakari Ailus sakari.ai...@linux.intel.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to

Re: [PATCH 0/3] Add Mediatek JPEG Decoder

2016-09-15 Thread Hans Verkuil
Hi Rick, I'm not sure why, but for some reason this patch series never made it to the linux-media mailinglist. Can you repost? Regards, Hans On 09/14/2016 08:36 AM, Rick Chang wrote: This series of patches provide a v4l2 driver to control Mediatek JPEG hw for decoding JPEG image

Re: [STLinux Kernel] [PATCH v3 0/4] STIH CEC driver

2016-09-15 Thread Peter Griffin
Hi Benjamin, On Thu, 15 Sep 2016, Benjamin Gaignard wrote: > version 3: > - remove rx_msg and use local variable instead > - change configuration flag from VIDEO_STIH_CEC to VIDEO_STI_HDMI_CEC > For the series: - Acked-by: Peter Griffin regards, Peter. -- To

[PATCH v3 4/4] add maintainer for stih-cec driver

2016-09-15 Thread Benjamin Gaignard
Signed-off-by: Benjamin Gaignard --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0bbe4b1..f541117 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10281,6 +10281,13 @@ S: Maintained F:

[PATCH v3 1/4] bindings for stih-cec driver

2016-09-15 Thread Benjamin Gaignard
Add bindings documentation for stih-cec driver. Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/media/stih-cec.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644

[PATCH v3 2/4] add stih-cec driver

2016-09-15 Thread Benjamin Gaignard
This patch implement CEC driver for stih4xx platform. Driver compliance has been test with cec-ctl and cec-compliance tools. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile | 1 +

[PATCH v3 3/4] add stih-cec driver into DT

2016-09-15 Thread Benjamin Gaignard
Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stih407-family.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index d294e82..9f88086 100644 ---

[PATCH v3 0/4] STIH CEC driver

2016-09-15 Thread Benjamin Gaignard
version 3: - remove rx_msg and use local variable instead - change configuration flag from VIDEO_STIH_CEC to VIDEO_STI_HDMI_CEC version 2: - fix typo in comments - in DT move stih-cec driver from stih410.dtsi to stih407-family.dtsi Those patches implement HDMI CEC driver for stih4xx SoCs. I

[v4l-utils PATCH v1.3 2/2] media-ctl: Print information related to a single entity

2016-09-15 Thread Sakari Ailus
Add a possibility to printing all information related to a given entity by using both -p and -e options. This may be handy sometimes if only a single entity is of interest and there are many entities. Signed-off-by: Sakari Ailus --- utils/media-ctl/media-ctl.c | 32

Re: [v4l-utils PATCH v1.2 2/2] media-ctl: Print information related to a single entity

2016-09-15 Thread Sakari Ailus
On 09/15/16 01:05, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Wednesday 14 Sep 2016 17:29:39 Sakari Ailus wrote: >> Add a possibility to printing all information related to a given entity by >> using both -p and -e options. This may be handy sometimes if only a

Re: [v4l-utils PATCH v1.3 2/2] media-ctl: Print information related to a single entity

2016-09-15 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Thursday 15 Sep 2016 09:40:39 Sakari Ailus wrote: > Add a possibility to printing all information related to a given entity by > using both -p and -e options. This may be handy sometimes if only a single > entity is of interest and there are many entities.

Re: [PATCH 2/2] [media] Input: synaptics-rmi4: disallow impossible configuration

2016-09-15 Thread Nick Dyer
On Mon, Sep 12, 2016 at 05:30:33PM +0200, Arnd Bergmann wrote: > The newly added debug mode for the synaptics-rmi4 driver relies on > the v4l2 interface and vb2_vmalloc, but those might be configured > as loadable modules when the driver itself is built-in, resulting > in a link failure: > >

[PATCH] v4l: vsp1: Disable VYUY on Gen3

2016-09-15 Thread Laurent Pinchart
The VYUY format isn't supported on Gen3 hardware, disable it. Gen2 hardware supports VYUY in practice even though the documentation doesn't advertise it, so keep it for Gen2 devices. Signed-off-by: Laurent Pinchart ---

Re: [PATCH 1/2] [media] Input: atmel_mxt: disallow impossible configuration

2016-09-15 Thread Nick Dyer
On Mon, Sep 12, 2016 at 05:30:32PM +0200, Arnd Bergmann wrote: > The newnly added debug mode for the atmel_mxt_ts driver relies on > the v4l2 interface and vb2_vmalloc, but those might be configured > as loadable modules when the driver itself is built-in, resulting > in a link failure: > >

[PATCH] Input: v4l-touch - add copyright lines

2016-09-15 Thread Nick Dyer
Hi Hans- Please could you apply this patch to your media_tree/touch branch before it goes to v4.9 if possible. Thanks Add copyright lines for Zodiac who paid for the V4L touch work. Signed-off-by: Nick Dyer --- drivers/input/rmi4/rmi_f54.c | 1 +

Re: [PATCH] [v4l-utils] libv4l2subdev: Propagate format deep in the topology

2016-09-15 Thread Sakari Ailus
Hi Helen, Thanks for the patch! On Tue, Sep 13, 2016 at 05:09:58PM -0300, Helen Koike wrote: > The format was only being propagated to the subdevices directly > connected to the node being changed. > Continue propagating the format to all the subdevices in the video pipe. > > Signed-off-by:

Re: [PATCH v2] V4L2: Add documentation for SDI timings and related flags

2016-09-15 Thread Hans Verkuil
On 09/07/2016 11:26 AM, Charles-Antoine Couret wrote: > Le 12/08/2016 à 15:17, Hans Verkuil a écrit : >> On 08/04/2016 05:39 PM, Charles-Antoine Couret wrote: >> >> A commit log is missing here. > > Yeah I will fix that. > >>> diff --git a/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst

[GIT PULL FOR v4.9] Various fixes, enhancements

2016-09-15 Thread Hans Verkuil
The following changes since commit c3b809834db8b1a8891c7ff873a216eac119628d: [media] pulse8-cec: fix compiler warning (2016-09-12 06:42:44 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.9e for you to fetch changes up to

Re: [PATCH v1 1/2] st-hva: encoding summary at instance release

2016-09-15 Thread Hans Verkuil
Hi Jean-Christophe, I think it would be better to add a Kconfig option to explicitly enable this encoding/performance summary. Wouldn't debugfs be more appropriate for this? Especially given the next patch. Regards, Hans On 09/12/2016 06:01 PM, Jean-Christophe Trotin wrote: > This

[PATCH 0/5] smiapp: Runtime PM support

2016-09-15 Thread Sakari Ailus
Hi, This set adds runtime PM support for the smiapp driver. The old s_power() callback is made redundant and removed as a result. These patches go on top of my other patches in the "[PATCH v2 00/17] More smiapp cleanups, fixes" which I just sent to linux-media. The patches can also be found

[PATCH 5/5] smiapp: Implement support for autosuspend

2016-09-15 Thread Sakari Ailus
Delay suspending the device by 1000 ms by default. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 1/5] smiapp: Drop BUG_ON() in suspend path

2016-09-15 Thread Sakari Ailus
Checking that the mutex is not acquired is unnecessary for user processes are stopped by this point. Drop the check. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 4/5] smiapp: Use runtime PM

2016-09-15 Thread Sakari Ailus
Use runtime PM to manage power. The s_power() core sub-device callback is removed as it is no longer needed. The power management of the sensor is changed so that it is no longer dependent on open file descriptors on sub-device or use_count in the media entity but solely will be powered on as

[PATCH 3/5] smiapp: Set use suspend and resume ops for other functions

2016-09-15 Thread Sakari Ailus
Use the suspend and resume ops for freeze, thaw, poweroff and restore callbacks as well. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 2/5] smiapp: Set device for pixel array and binner

2016-09-15 Thread Sakari Ailus
The dev field of the v4l2_subdev was left NULL for the pixel array and binner sub-devices. Fix this. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[GIT PULL FOR v4.9] MediaTek video decoder and MDP drivers

2016-09-15 Thread Hans Verkuil
Hi Mauro, This adds the mediatek video decoder and MDP driver. This patch series depends on a bunch of fixes that are currently pending for 4.8: a21cb70 vcodec:mediatek: Refine VP8 encoder driver 84b313f vcodec:mediatek: Refine H264 encoder driver 55673f3 vcodec:mediatek: change H264 profile

Re: [PATCH v1 2/2] st-hva: add debug file system

2016-09-15 Thread Hans Verkuil
Same thing here: this should be enabled in a Kconfig option. That new Kconfig option should depend on DEBUG_FS as well. BTW (independent of these two patches): I think it would be easier to maintain if you make a Kconfig file in the sti directory, rather than adding them to the Kconfig in

[PATCH v2 14/17] smiapp: Remove useless newlines and other small cleanups

2016-09-15 Thread Sakari Ailus
The code probably has been unindented at some point but rewrapping has not been done. Do it now. Also remove a useless memory allocation failure message. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 33 +

[PATCH v2 09/17] smiapp: Read frame format earlier

2016-09-15 Thread Sakari Ailus
The information gathered during frame format reading will be required earlier in the initialisation when it was available. Also return an error if frame format cannot be obtained. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 8 ++--

[PATCH v2 01/17] smiapp: Move sub-device initialisation into a separate function

2016-09-15 Thread Sakari Ailus
Simplify smiapp_init() by moving the initialisation of individual sub-devices to a separate function. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 108 +++-- 1 file changed, 49 insertions(+), 59 deletions(-)

[PATCH v2 08/17] smiapp: Merge smiapp_init() with smiapp_probe()

2016-09-15 Thread Sakari Ailus
The smiapp_probe() is the sole caller of smiapp_init(). Unify the two. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 425 - 1 file changed, 205 insertions(+), 220 deletions(-) diff --git

[PATCH v2 04/17] smiapp: Split off sub-device registration into two

2016-09-15 Thread Sakari Ailus
Remove the loop in sub-device registration and create each sub-device explicitly instead. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 82 +++--- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git

[PATCH v2 11/17] smiapp: Use SMIAPP_PADS when referring to number of pads

2016-09-15 Thread Sakari Ailus
Replace plain value 2 with SMIAPP_PADS when referring to the number of pads. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp.h

[PATCH v2 17/17] smiapp-pll: Don't complain aloud about failing PLL calculation

2016-09-15 Thread Sakari Ailus
Don't complain about a failure to compute the pre_pll divisor. The function is used to determine whether a particular combination of bits per sample value and a link frequency can be used, in which case there are lots of unnecessary driver messages. During normal operation the failure generally

[PATCH v2 03/17] smiapp: Initialise media entity after sensor init

2016-09-15 Thread Sakari Ailus
This allows determining the number of pads in the entity based on the sensor. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 00/17] More smiapp cleanups, fixes

2016-09-15 Thread Sakari Ailus
Hi all, This set further cleans up the smiapp driver and prepares for later changes. More fixes and cleanups since v1. -- Kind regards, Sakari -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v2 07/17] smiapp: Always initialise the sensor in probe

2016-09-15 Thread Sakari Ailus
Initialise the sensor in probe. The reason why it wasn't previously done in case of platform data was that the probe() of the driver that provided the clock through the set_xclk() callback would need to finish before the probe() function of the smiapp driver. The set_xclk() callback no longer

[PATCH v2 12/17] smiapp: Obtain frame layout from the frame descriptor

2016-09-15 Thread Sakari Ailus
Besides the image data, SMIA++ compliant sensors also provide embedded data in form of registers used to capture the image. Store this information for later use in frame descriptor and routing. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c

[PATCH v2 06/17] smiapp: Remove unnecessary BUG_ON()'s

2016-09-15 Thread Sakari Ailus
Instead, calculate how much is needed and then allocate the memory dynamically. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 24 ++-- drivers/media/i2c/smiapp/smiapp.h | 8 ++-- 2 files changed, 20

[PATCH v2 05/17] smiapp: Provide a common function to obtain native pixel array size

2016-09-15 Thread Sakari Ailus
The same pixel array size is required for the active format of each sub-device sink pad and try format of each sink pad of each opened file handle as well as for the native size rectangle. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 39

[PATCH v2 13/17] smiapp: Improve debug messages from frame layout reading

2016-09-15 Thread Sakari Ailus
Provide more debugging information on reading the frame layout. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH v2 10/17] smiapp: Unify setting up sub-devices

2016-09-15 Thread Sakari Ailus
The initialisation of the source sub-device is somewhat different as it's not created by the smiapp driver itself. Remove redundancy in initialising the two kind of sub-devices. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 5 + 1

[PATCH v2 15/17] smiapp: Obtain correct media bus code for try format

2016-09-15 Thread Sakari Ailus
The media bus code obtained for try format may have been a code that the sensor did not even support. Use a supported code with the current pixel order. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 4 +--- 1 file changed, 1 insertion(+),

[PATCH v2 16/17] smiapp: Drop a debug print on frame size and bit depth

2016-09-15 Thread Sakari Ailus
The first time the sensor is powered on, the information is not yet available. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[GIT PULL FOR v4.9] Add stih CEC driver

2016-09-15 Thread Hans Verkuil
The following changes since commit c3b809834db8b1a8891c7ff873a216eac119628d: [media] pulse8-cec: fix compiler warning (2016-09-12 06:42:44 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git stcec for you to fetch changes up to

[PATCH v2 02/17] smiapp: Explicitly define number of pads in initialisation

2016-09-15 Thread Sakari Ailus
Define the number of pads explicitly in initialising the sub-devices. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

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

2016-09-15 Thread Ulrich Hecht
Hi! This is a spinoff of "Lager/Koelsch board HDMI input support" that excludes the DT portions, and that works without the unmerged subdevice abstraction layer. CU Uli Changes since v6: - work without subdev abstraction layer - split off DT parts, to be handled separately Changes since v5: -

[PATCH] [media] MAINTAINERS: Add entry for the Renesas VIN driver

2016-09-15 Thread Niklas Söderlund
The driver is maintained and supported, document it as such. Signed-off-by: Niklas Söderlund --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a12cd60..a4b5283 100644 --- a/MAINTAINERS +++

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

2016-09-15 Thread Ulrich Hecht
Fall back to input 0 if "default-input" property is not present. Additionally, documentation in commit bf9c82278c34 ("[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