Re: [PATCH 2/2] v4l: ctrl: Provide unlocked variant of v4l2_ctrl_grab

2018-09-26 Thread Hans Verkuil
On 09/26/2018 10:09 AM, Sakari Ailus wrote: > Sometimes it may be necessary to grab a control while holding the control > handler's lock. Provide an unlocked variant of v4l2_ctrl_grab for the > purpose --- it's called __v4l2_ctrl_grab. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil

Re: [PATCH v5] media: imx208: Add imx208 camera sensor driver

2018-09-26 Thread Sakari Ailus
Hi Ping-chung, On Wed, Sep 26, 2018 at 02:27:01AM +, Chen, Ping-chung wrote: > Hi Sakari, > > >-Original Message- > >From: Sakari Ailus [mailto:sakari.ai...@linux.intel.com] > >Sent: Wednesday, September 26, 2018 5:55 AM > > >Hi Ping-chung, > > >On Tue, Sep 25, 2018 at 10:17:48AM

Re: [PATCH 1/2] v4l: ctrl: Remove old documentation from v4l2_ctrl_grab

2018-09-26 Thread Hans Verkuil
On 09/26/2018 10:09 AM, Sakari Ailus wrote: > v4l2_ctrl_grab() is documented in the header; there's no need to have a > comment explaining what the function does in the .c file. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Regards, Hans > --- >

RE: [PATCH v5] media: imx208: Add imx208 camera sensor driver

2018-09-26 Thread Yeh, Andy
Hi Sakari, PC, >-Original Message- >From: Sakari Ailus [mailto:sakari.ai...@linux.intel.com] >Sent: Wednesday, September 26, 2018 6:12 PM >To: Chen, Ping-chung >Cc: Ricardo Ribalda Delgado ; Laurent Pinchart >; Sakari Ailus ; >tf...@chromium.org; sylwester.nawro...@gmail.com; linux-media

Re: [ANN] Draft Agenda for the media summit on Thursday Oct 25th in Edinburgh

2018-09-26 Thread Helen Koike
Hi Hans and Mauro, On 9/24/18 11:42 AM, Hans Verkuil wrote: > Hi all, > > We are organizing a media mini-summit on Thursday October 25th in > Edinburgh, Edinburgh International Conference Centre. > > If you plan to attend, please let Mauro know. It is open for all, but > we have a limited

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

2018-09-26 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. Could you please CC me on patches touching the media controller core ? I can send a MAINTAINERS patch to make sure that gets handled automatically. On Wednesday, 1 August 2018 18:55:04 EEST Mauro Carvalho Chehab wrote: > Consumer devices are provided with a

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

2018-09-26 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Wednesday, 1 August 2018 18:55:05 EEST Mauro Carvalho Chehab wrote: > 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 s/tipe/type/ > different entities. > > Signed-off-by:

Re: [ANN] Draft Agenda for the media summit on Thursday Oct 25th in Edinburgh

2018-09-26 Thread Mauro Carvalho Chehab
Em Mon, 24 Sep 2018 19:41:13 +0200 Hans Verkuil escreveu: > On 09/24/2018 07:12 PM, Mauro Carvalho Chehab wrote: > > Em Mon, 24 Sep 2018 16:42:13 +0200 > > Hans Verkuil escreveu: > > > >> Hi all, > >> > >> We are organizing a media mini-summit on Thursday October 25th in > >> Edinburgh,

[GIT PULL for 4.20] Unlocked control grab and imx319 driver

2018-09-26 Thread Sakari Ailus
Hi Mauro, Here's a driver for Sony imx319 sensor and an unlocked version of v4l2_ctrl_grab() which is used by the driver. Please pull. The following changes since commit 985cdcb08a0488558d1005139596b64d73bee267: media: ov5640: fix restore of last mode set (2018-09-17 15:33:38 -0400) are

[PATCH] media: rtl28xxu: add support for Sony CXD2837ER slave demod

2018-09-26 Thread Nikita Gerasimov
Since 2018 some new revisions of RTL2832P based devices having Sony CXD2837ER as a slave demodulator instead of Panasonic MN88473. CXD2837ER handled in DVB_CXD2841ER module but it's has a lack of control. So slave demod has to be reseted by GPIO0 before detecting to woke up CXD2837ER.

Re: [PATCH v3 4/9] media: dt-bindings: tvp5150: Add input port connectors DT bindings

2018-09-26 Thread Rob Herring
On Tue, 18 Sep 2018 15:14:48 +0200, Marco Felsch wrote: > The TVP5150/1 decoders support different video input sources to their > AIP1A/B pins. > > Possible configurations are as follows: > - Analog Composite signal connected to AIP1A. > - Analog Composite signal connected to AIP1B. > -

Re: [PATCH 4/5] v4l: controls: QUERY_EXT_CTRL support for base, prefix and unit

2018-09-26 Thread kbuild test robot
Hi Sakari, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.19-rc5 next-20180926] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH 0/5] Add units to controls

2018-09-26 Thread Helmut Grohne
On Tue, Sep 25, 2018 at 02:30:31PM +0200, Sakari Ailus wrote: > On Tue, Sep 25, 2018 at 01:48:02PM +0200, Helmut Grohne wrote: > > 1. There are a number of controls whose value is not easily described as > >either linear or exponential. I'm faced with at least two controls > >that actually

(sin asunto)

2018-09-26 Thread Mrs. Mavis Wanczyk
-- Good Day, I, Mavis Wanczyk donates $ 5 Million Dollars to you, from part of my Powerball Jackpot Lottery of $ 758 Million Dollars, respond with your details for claims. I await your earliest response and God Bless you. Good luck, Mavis Wanczyk.

[linuxtv-media:request_api 77/77] drivers/staging/media/sunxi/cedrus/cedrus.c:93 cedrus_init_ctrls() error: potential null dereference 'ctx->ctrls'. (kzalloc returns null)

2018-09-26 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git request_api head: 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1 commit: 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1 [77/77] media: platform: Add Cedrus VPU decoder driver smatch warnings: drivers/staging/media/sunxi/cedrus/cedrus.c:93 cedrus_init_ctrls() error:

RE: [PATCH v5] media: imx208: Add imx208 camera sensor driver

2018-09-26 Thread Chen, Ping-chung
Hi, >-Original Message- >From: Yeh, Andy >Sent: Wednesday, September 26, 2018 11:19 PM >To: Sakari Ailus ; Chen, Ping-chung > >Hi Sakari, PC, >sensors that do need >digital gain applied, too --- assuming it'd be >combined with the TRY_EXT_CTRLS rounding flags. >> >> There might be

cron job: media_tree daily build: WARNINGS

2018-09-26 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: Thu Sep 27 05:00:10 CEST 2018 media-tree git hash:4158757395b300b6eb308fc20b96d1d231484413 media_build

Re: [PATCH] media: smiapp: Remove unused loop

2018-09-26 Thread Sakari Ailus
Hi Ricardo, On Wed, Sep 26, 2018 at 08:12:42AM +0200, Ricardo Ribalda Delgado wrote: > The loop seemed to be made to calculate max, but max is not used in that > function. > > Signed-off-by: Ricardo Ribalda Delgado The code has been left there probably when the valid link frequency calculation

Re: [PATCH 1/1] v4l: Remove support for crop default target in subdev drivers

2018-09-26 Thread Sakari Ailus
Hi Helmut, On Tue, Sep 25, 2018 at 08:33:29AM +0200, Helmut Grohne wrote: > On Mon, Sep 24, 2018 at 04:42:27PM +0200, Sakari Ailus wrote: > > --- a/drivers/media/i2c/mt9t112.c > > +++ b/drivers/media/i2c/mt9t112.c > > @@ -888,12 +888,6 @@ static int mt9t112_get_selection(struct v4l2_subdev > >

Re: [PATCH v7] media: add imx319 camera sensor driver

2018-09-26 Thread Bing Bu Cao
On 09/26/2018 03:57 PM, Sakari Ailus wrote: > Hi Bingbu, > > On Wed, Sep 26, 2018 at 10:42:18AM +0800, bingbu@intel.com wrote: >> From: Bingbu Cao >> >> Add a v4l2 sub-device driver for the Sony imx319 image sensor. >> This is a camera sensor using the i2c bus for control and the >> csi-2

[GIT PULL for 4.20] More fixes and cleanups for 4.20

2018-09-26 Thread Sakari Ailus
Hi Mauro, Here are a few cleanups and fixes for 4.20. Sensor drivers as well as sub-device crop target alignment with API documentation. Please pull. The following changes since commit 985cdcb08a0488558d1005139596b64d73bee267: media: ov5640: fix restore of last mode set (2018-09-17 15:33:38

[PATCH 1/2] v4l: ctrl: Remove old documentation from v4l2_ctrl_grab

2018-09-26 Thread Sakari Ailus
v4l2_ctrl_grab() is documented in the header; there's no need to have a comment explaining what the function does in the .c file. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-ctrls.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c

[PATCH 2/2] v4l: ctrl: Provide unlocked variant of v4l2_ctrl_grab

2018-09-26 Thread Sakari Ailus
Sometimes it may be necessary to grab a control while holding the control handler's lock. Provide an unlocked variant of v4l2_ctrl_grab for the purpose --- it's called __v4l2_ctrl_grab. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-ctrls.c | 8

[PATCH 0/2] Unlocked v4l2_ctrl_grab

2018-09-26 Thread Sakari Ailus
Hi folks, This set adds an unlocked variant of v4l2_ctrl_grab(). This is needed when there's a need not to release the control lock for grabbing a control. Used by the imx319 driver, but beneficial on a bunch of other sensor drivers, too --- to grab the *flip controls. Sakari Ailus (2): v4l:

[PATCH] media: smiapp: Remove unused loop

2018-09-26 Thread Ricardo Ribalda Delgado
The loop seemed to be made to calculate max, but max is not used in that function. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/i2c/smiapp/smiapp-core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

Re: [PATCH v7] media: add imx319 camera sensor driver

2018-09-26 Thread Sakari Ailus
Hi Bingbu, On Wed, Sep 26, 2018 at 10:42:18AM +0800, bingbu@intel.com wrote: > From: Bingbu Cao > > Add a v4l2 sub-device driver for the Sony imx319 image sensor. > This is a camera sensor using the i2c bus for control and the > csi-2 bus for data. > > This driver supports following

Capturing camera frames from an i.MX51 board.

2018-09-26 Thread Antonio Tringali
Dear linux-media Developers, I was assigned the task to port a recent kernel (4.18.6, downloaded from kernel.org) to an old imx51-babbage style board. It works with a 2.6.36 kernel. I know, i.MX51 is "mature" in NXP lingo. Not supported anymore in my mind, but work is work. The i.MX51