Re: [PATCH v2 1/4] b2c2: Add option to skip the first 6 pid filters

2015-05-31 Thread Antti Palosaari
On 05/30/2015 09:10 PM, Jemma Denson wrote: The flexcop bridge chip has two banks of hardware pid filters - an initial 6, and on some chip revisions an additional bank of 32. A bug is present on the initial 6 - when changing transponders one of two PAT packets from the old transponder would be i

cron job: media_tree daily build: WARNINGS

2015-05-31 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: Mon Jun 1 04:00:27 CEST 2015 git branch: test git hash: d511eb7d642aaf513fefeb05514dc6177c53c350 gcc versi

Re: [PATCH 2/2] si2157: implement signal strength stats

2015-05-31 Thread Adam Baker
On 29/05/15 22:05, Antti Palosaari wrote: Implement DVBv5 signal strength stats. Returns dBm. Signed-off-by: Antti Palosaari --- Tested-by: Adam Baker I don't have the test gear to verify the absolute levels but the signal level readings were close to those obtained feeding the same signal

[PATCH v1.1 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-05-31 Thread Sakari Ailus
V4L2 async sub-devices are currently matched (OF case) based on the struct device_node pointer in struct device. LED devices may have more than one LED, and in that case the OF node to match is not directly the device's node, but a LED's node. Signed-off-by: Laurent Pinchart Signed-off-by: Sakari

Re: [PATCH 1/5] v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

2015-05-31 Thread Sakari Ailus
Hi Laurent, Thanks for the comments. On Sat, May 23, 2015 at 09:47:28PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Wednesday 20 May 2015 02:04:01 Sakari Ailus wrote: > > V4L2 async sub-devices are currently matched (OF case) based on the struct > > device_no

Re: [PATCH 1/2] si2168: Implement own I2C adapter locking

2015-05-31 Thread Adam Baker
On 29/05/15 22:05, Antti Palosaari wrote: We need own I2C locking because of tuner I2C adapter/repeater. Firmware command is executed using I2C send + reply message. Default I2C adapter locking protects only single I2C operation, not whole send + reply sequence as needed. Due to that, it was poss

[GIT PULL 4.2] tda10071 I2C bindings

2015-05-31 Thread Antti Palosaari
The following changes since commit d511eb7d642aaf513fefeb05514dc6177c53c350: [media] uvcvideo: Remove unneeded device disconnected flag (2015-05-30 12:12:58 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git tda10071_pull for you to fetch changes up to

[PATCH 1/9] videodev2.h: add support for transfer functions

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil In the past the transfer function was implied by the colorspace. However, it is an independent entity in its own right. Add support for explicitly choosing the transfer function. This change will allow us to represent linear RGB (as is used by openGL), and it will make it easi

[PATCH 5/9] vivid: add xfer_func support.

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Add support for the transfer function: create a new control for it, and support it for both capture and output sides. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.h | 1 + drivers/media/platform/vivid/vivid-ctrls.c | 58

[PATCH 3/9] adv7511: add xfer_func support

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Still preliminary, but the information is at least there. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7511.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511.c index 12d9320..9032567 100644 --- a/driver

[PATCH 4/9] am437x-vpfe: add support for xfer_func

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Make this part of the format check. Signed-off-by: Hans Verkuil Cc: Prabhakar Lad --- drivers/media/platform/am437x/am437x-vpfe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/am437x/am437x-vpfe.c b/drivers/media/platform/am43

[PATCH 2/9] DocBook/media: document new xfer_func fields.

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Document the new field and defines to set the transfer function needed to correctly decode the colors of an image. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/pixfmt.xml | 113 + Documentation/DocBook/media/v4l/subdev-formats.x

[PATCH 9/9] vivid.txt: update the vivid documentation

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Document the new Transfer Function control (and fix the documentation for the other colorspace controls which were not quite correct). Mention the support for 4:2:0 and more multiplanar formats. Update the TODO list at the end. Signed-off-by: Hans Verkuil --- Documentation

[PATCH 8/9] cobalt: simplify colorspace code

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Simplify cobalt_g/try_fmt_vid_cap by not setting the colorspace fields in pix again (since v4l2_fill_pix_format does that already), and by using v4l2_fill_mbus_format in cobalt_s_fmt_vid_out which allows the get_fmt call to be dropped as well. Signed-off-by: Hans Verkuil ---

[PATCH 7/9] cobalt: support transfer function

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Add support for the transfer function to the cobalt driver: make sure it is passed on to/retrieved from the sub-device correctly. Signed-off-by: Hans Verkuil --- drivers/media/pci/cobalt/cobalt-driver.h | 1 + drivers/media/pci/cobalt/cobalt-v4l2.c | 6 ++ 2 files chan

[PATCH 6/9] vivid-tpg: precalculate colorspace/xfer_func combinations

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Precalculate all the colorspace/transfer function combinations in order to easily generate the correct colors. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-tpg-colors.c | 478 ++-- drivers/media/platform/vivid/vivid-tpg-colors.h |

[PATCH 0/9] Add support for the colorspace transfer function

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Until now the colorspace define also implied which transfer function should be used (sometimes known - incorrectly - as the gamma). After doing more research it is clear that this should be split off as a separate value. I always left the door open for this since I suspected I

[PATCH 0/3] DocBook media: xmllint/typo fixes

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Hi Mauro, Here are three patches that fix typos and xmllint errors. The first patch fixes typos, the second a large number of xmllint errors and the last fixes a final xmllint error, but it does that by copying most of the v4l2 open/close text and you should check whether I d

[PATCH 3/3] DocBook media: rewrite frontend open/close

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil To fix the last xmllint errors the open and close function reference description was rewritten based on the v4l2 open and close functions. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/dvb/frontend.xml | 281 +++ 1 file changed, 159 inse

[PATCH 2/3] DocBook media: xmllint fixes

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil Fixes a large number of xmllint errors. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/dvb/dvbproperty.xml| 20 - .../media/dvb/fe-diseqc-recv-slave-reply.xml | 2 +- .../DocBook/media/dvb/fe-diseqc-send-burst.xml | 8 +++ ...

[PATCH 1/3] DocBook media: fix typos

2015-05-31 Thread Hans Verkuil
From: Hans Verkuil satellital -> satellite antena -> antenna Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/dvb/dvbproperty.xml| 8 Documentation/DocBook/media/dvb/fe-set-tone.xml| 2 +- Documentation/DocBook/media/dvb/fe-set-voltage.xml | 2 +- Documentation/DocB

[PATCH v3] [media] dvb-frontend: Replace timeval with ktime_t

2015-05-31 Thread Tina Ruchandani
struct timeval uses a 32-bit seconds representation which will overflow in the year 2038 and beyond. This patch replaces the usage of struct timeval with ktime_t which is a 64-bit timestamp and is year 2038 safe. This patch is part of a larger attempt to remove all instances of 32-bit timekeeping v