[PATCH v2 08/14] media: msp3400: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/msp3400-driver.c | 8 drivers/media/i2c/msp3400-driver.h | 8 +++- 2 files

[PATCH v2 14/14] media: v4l2-mc: get rid of global pad indexes

2018-09-15 Thread Mauro Carvalho Chehab
Now that all drivers are using pad signal types, we can get rid of the global static definition, as routes are stablished using the pad signal type. The tuner and IF-PLL pads are now used only by the tuner core, so move the definitions to be there. Acked-by: Hans Verkuil Signed-off-by: Mauro

[PATCH v2 04/14] media: v4l2-mc: add print messages when media graph fails

2018-09-15 Thread Mauro Carvalho Chehab
It is not trivial to debug troubles at media graph build. So, add print messages to help debug what's happening, in the case of an error occurs. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/v4l2-mc.c | 80 +++ 1 file changed, 61 insertions(+), 19

[PATCH v2 13/14] media: mxl111sf: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb-v2/mxl111sf.c | 10 +- drivers/media/usb/dvb-usb-v2/mxl111sf.h | 8

[PATCH v2 10/14] media: tvp5150: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/tvp5150.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-)

[PATCH v2 09/14] media: saa7115: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/saa7115.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff

[PATCH v2 02/14] media: v4l2: taint pads with the signal types for consumer devices

2018-09-15 Thread Mauro Carvalho Chehab
Consumer devices are provided with a wide diferent range of types supported by the same driver, allowing different configutations. In order to make easier to setup media controller links, "taint" pads with the signal type it carries. While here, get rid of DEMOD_PAD_VBI_OUT, as the signal it

[PATCH v2 00/14] Better handle pads for tuning/decoder part of the devices

2018-09-15 Thread Mauro Carvalho Chehab
At PC consumer devices, it is very common that the bridge same driver to be attached to different types of tuners and demods. We need a way for the Kernel to properly identify what kind of signal is provided by each PAD, in order to properly setup the pipelines. The previous approach were to

[PATCH v2 12/14] media: saa7134: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/saa7134/saa7134-core.c | 10 +- drivers/media/pci/saa7134/saa7134.h | 8

[PATCH v2 01/14] media: v4l2: remove VBI output pad

2018-09-15 Thread Mauro Carvalho Chehab
The signal there is the same as the video output (well, except for sliced VBI, but let's simplify the model and ignore it, at least for now - as it is routed together with raw VBI). Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/au8522_decoder.c | 1

[PATCH v2 07/14] media: au8522: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/au8522_decoder.c | 12 ++-- drivers/media/dvb-frontends/au8522_priv.h

[PATCH v2 06/14] media: au0828: use signals instead of hardcoding a pad number

2018-09-15 Thread Mauro Carvalho Chehab
When creating the audio link, use pad signals, instead of hardcoding using the pad index number. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/au0828/au0828-core.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[PATCH v2 03/14] v4l2-mc: switch it to use the new approach to setup pipelines

2018-09-15 Thread Mauro Carvalho Chehab
Instead of relying on a static map for pids, use the new sig_type "taint" type to setup the pipelines with the same tipe between different entities. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/media-entity.c | 26 +++

[PATCH v2 11/14] media: si2157: declare its own pads

2018-09-15 Thread Mauro Carvalho Chehab
As we don't need anymore to share pad numbers with similar drivers, use its own pad definition instead of a global model. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/si2157.c | 15 --- drivers/media/tuners/si2157_priv.h | 9 -

[PATCH v2 05/14] media: dvb: use signals to discover pads

2018-09-15 Thread Mauro Carvalho Chehab
On tuner pads, multiple signals are present. Be sure to get the right PAD by using them. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvbdev.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2 00/14] Better handle pads for tuning/decoder part of the devices

2018-09-15 Thread Mauro Carvalho Chehab
Em Sat, 15 Sep 2018 17:14:15 -0300 Mauro Carvalho Chehab escreveu: > At PC consumer devices, it is very common that the bridge same driver > to be attached to different types of tuners and demods. We need a way > for the Kernel to properly identify what kind of signal is provided by each > PAD,

[PATCH 1/1] v4l: samsung, ov9650: Rely on V4L2-set sub-device names

2018-09-15 Thread Sakari Ailus
v4l2_i2c_subdev_init() sets the name of the sub-devices (as well as entities) to what is fairly certainly known to be unique in the system, even if there were more devices of the same kind. These drivers (m5mols, noon010pc30, ov9650, s5c73m3, s5k4ecgx, s5k6aa) set the name to the name of the

[RESEND PATCH 1/1] v4l: samsung, ov9650: Rely on V4L2-set sub-device names

2018-09-15 Thread Sakari Ailus
v4l2_i2c_subdev_init() sets the name of the sub-devices (as well as entities) to what is fairly certainly known to be unique in the system, even if there were more devices of the same kind. These drivers (m5mols, noon010pc30, ov9650, s5c73m3, s5k4ecgx, s5k6aa) set the name to the name of the

Re: [PATCH v3 0/5] Fix OV5640 exposure & gain

2018-09-15 Thread Sakari Ailus
Hi Jacopo, Hugues, On Fri, Sep 14, 2018 at 06:07:12PM +0200, jacopo mondi wrote: > Hi Sakari, > > On Tue, Sep 11, 2018 at 03:48:16PM +0200, Hugues Fruchet wrote: > > This patch serie fixes some problems around exposure & gain in OV5640 > > driver. > > As you offered to collect this series and

Re: [RFC] media-ctl: rework and merge mc_nextgen_test features

2018-09-15 Thread Mauro Carvalho Chehab
Em Sat, 15 Sep 2018 10:31:07 +0200 Hans Verkuil escreveu: > Hi Laurent, Mauro, > > We currently have two competing utilities for controlling media devices: > media-ctl and mc_nextgen_test, each with features that the other doesn't > have. That's obviously not good. Hi Hans, My goal with this

cron job: media_tree daily build: WARNINGS

2018-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: Sun Sep 16 04:00:17 CEST 2018 media-tree git hash:78cf8c842c111df656c63b5d04997ea4e40ef26a media_build

[PATCH v4l-utils 1/2] keytable: keymap for Network Dish

2018-09-15 Thread Sean Young
BPF keymap, see: https://www.mythtv.org/wiki/DISHNetworkLIRCConfiguration Cc: VDR User Signed-off-by: Sean Young --- .../rc_keymaps_userspace/dish_network.toml| 62 +++ 1 file changed, 62 insertions(+) create mode 100644

[PATCH v4l-utils 2/2] keytable: keymap for Windows Remote Keyboard for MCE

2018-09-15 Thread Sean Young
This keymap differs from rc6_mce in that it also enables the mce_kbd protocol. Signed-off-by: Sean Young --- .../rc_keymaps_userspace/mce_keyboard.toml| 75 +++ 1 file changed, 75 insertions(+) create mode 100644 utils/keytable/rc_keymaps_userspace/mce_keyboard.toml diff

[RFC] media-ctl: rework and merge mc_nextgen_test features

2018-09-15 Thread Hans Verkuil
Hi Laurent, Mauro, We currently have two competing utilities for controlling media devices: media-ctl and mc_nextgen_test, each with features that the other doesn't have. That's obviously not good. I would like to work on adding the missing pieces for the new G_TOPOLOGY API to media-ctl. As part

Re: cx23885 - regression between 4.17.x and 4.18.x

2018-09-15 Thread David R
Any bisection would take ages, as I need to run for approaching a week to be sure. There are only 3 commits that are possible. commit 95f408bbc4e4d46c75da3d2558dd835e56ac7720 Author: Brad Love Date:   Tue May 8 17:20:18 2018 -0400     media: cx23885: Ryzen DMA related RiSC engine stall fixes

[GIT PULL FOR v4.20] R-Car VSP1 changes

2018-09-15 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 78cf8c842c111df656c63b5d04997ea4e40ef26a: media: drxj: fix spelling mistake in fall-through annotations (2018-09-12 11:21:52 -0400) are available in the Git repository at: git://linuxtv.org/pinchartl/media.git tags/vsp1-next-20180914 for you

Re: [PATCH v5 5/6] media: Add controls for JPEG quantization tables

2018-09-15 Thread Paul Kocialkowski
Hi, On Mon, 2018-09-10 at 10:25 -0300, Ezequiel Garcia wrote: > Hi Hans, > > Thanks for the review. > > On Mon, 2018-09-10 at 14:42 +0200, Hans Verkuil wrote: > > On 09/06/2018 12:00 AM, Ezequiel Garcia wrote: > > > From: Shunqian Zheng > > > > > > Add V4L2_CID_JPEG_QUANTIZATION compound