Re: [GIT PULL for 4.15] More sensor driver patches

2017-10-25 Thread Leon Luo
submitted V9 add an entry in MAINTAINERS fix a bug in probe Regards, Leon Luo 1130 Cadillac CT Milpitas, CA 95035 Phone: (510)371-1169 Fax: (408) 217-1960 Email: le...@leopardimaging.com www.leopardimaging.com On Wed, Oct 25, 2017 at 3:24 AM, Sakari Ailus wrote: > On Tue, Oct 17, 2017 at 10:34:

Re: [PATCH 0/2] Fix s5p-mfc lock contention in request firmware paths

2017-10-25 Thread Shuah Khan
On 10/25/2017 04:28 PM, Marian Mihailescu wrote: > Hi Shuah, > > For MFC patch, you can delete the "dev" variable since it's not being > used anymore and results in a compile warning. > > - struct s5p_mfc_dev *dev = ctx->dev; > > Cheers, > Marian Oops. I thought I handled that. I will fix that

[PATCH v9 1/2] media:imx274 device tree binding file

2017-10-25 Thread Leon Luo
The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo Acked-by: Sören Brinkmann Acked-by: Rob Herring --- v9: - add an entry in MAINTAINERS v8: - no changes v7: - no changes v6: - no changes v5: - add 'port' and 'endpoint' information v4: - no changes v3: - remove r

[PATCH v9 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-10-25 Thread Leon Luo
The imx274 is a Sony CMOS image sensor that has 1/2.5 image size. It supports up to 3840x2160 (4K) 60fps, 1080p 120fps. The interface is 4-lane MIPI CSI-2 running at 1.44Gbps each. This driver has been tested on Xilinx ZCU102 platform with a Leopard LI-IMX274MIPI-FMC camera board. Support for the

cron job: media_tree daily build: WARNINGS

2017-10-25 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 Oct 26 05:00:15 CEST 2017 media-tree git hash:61065fc3e32002ba48aa6bc3816c1f6f9f8daf55 media_build gi

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Tomasz Figa
Hi Laurent, On Thu, Oct 26, 2017 at 12:48 AM, Laurent Pinchart wrote: > Hello, > > On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: >> On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: >> > On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: [snip] >> > Both r

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Tomasz Figa
Hi Sakari, On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: > Hi Alexandre, > > On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: >> Hi everyone, >> [snip] > > Still it shouldn't be forgotten that if the framework is geared towards > helping drivers "running one job at a tim

[PATCH v6 3/3] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-10-25 Thread Yong Zhi
This patch adds CIO2 CSI-2 device driver for Intel's IPU3 camera sub-system support. Signed-off-by: Yong Zhi Signed-off-by: Hyungwoo Yang Signed-off-by: Rajmohan Mani Signed-off-by: Vijaykumar Ramya --- drivers/media/pci/Kconfig|2 + drivers/media/pci/Makefile

[PATCH v6 2/3] doc-rst: add IPU3 raw10 bayer pixel format definitions

2017-10-25 Thread Yong Zhi
The formats added by this patch are: V4L2_PIX_FMT_IPU3_SBGGR10 V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_IPU3_SRGGB10 Signed-off-by: Hyungwoo Yang Signed-off-by: Yong Zhi --- Documentation/media/uapi/v4l/pixfmt-rgb.rst| 1 + .../media/uapi/v4l/p

[PATCH v6 1/3] videodev2.h, v4l2-ioctl: add IPU3 raw10 color format

2017-10-25 Thread Yong Zhi
Add IPU3 specific formats: V4L2_PIX_FMT_IPU3_SBGGR10 V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_IPU3_SRGGB10 Signed-off-by: Yong Zhi --- drivers/media/v4l2-core/v4l2-ioctl.c | 4 include/uapi/linux/videodev2.h | 6 ++ 2 files

[PATCH v6 0/3] add IPU3 CIO2 CSI2 driver

2017-10-25 Thread Yong Zhi
The CIO2 driver exposes V4L2, V4L2 sub-device and Media controller interfaces to the user space. This series was tested on Kaby Lake based platform with 2 sensor configurations, media topology was pasted at end for reference. Link to user space implementation: https://chromium.googlesource.com/c

WinTV-HVR-2205 Analog support in Linux

2017-10-25 Thread Rajil Saraswat
Hi, The linux tv page [1] does not mention whether the analog side of the card is supported under linux or not. I would like to use the Composite port on the card. Please can you let me the current driver status for the analog ports on the card. Thanks Rajil [1] https://www.linuxtv.org/wiki/

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Laurent Pinchart
Hi Hans, On Wednesday, 25 October 2017 19:19:27 EEST Hans Verkuil wrote: > On 10/25/2017 05:48 PM, Laurent Pinchart wrote: > > Hello, > > > > On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: > >> On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: > >>> On Thu, Sep 28, 2017 a

Re: [PATCH 0/2] Fix s5p-mfc lock contention in request firmware paths

2017-10-25 Thread Marian Mihailescu
Hi Shuah, For MFC patch, you can delete the "dev" variable since it's not being used anymore and results in a compile warning. - struct s5p_mfc_dev *dev = ctx->dev; Cheers, Marian On Thu, Oct 26, 2017 at 7:54 AM, Shuah Khan wrote: > On 10/06/2017 03:30 PM, Shuah Khan wrote: >> This patch serie

Re: [PATCH 0/2] Fix s5p-mfc lock contention in request firmware paths

2017-10-25 Thread Shuah Khan
On 10/06/2017 03:30 PM, Shuah Khan wrote: > This patch series fixes inefficiencies and lock contention in the request > firmware paths. > > Shuah Khan (2): > media: s5p-mfc: check for firmware allocation before requesting > firmware > media: s5p-mfc: fix lock confection - request_firmware(

Re: [PATCH] media: pvrusb2: Convert timers to use timer_setup()

2017-10-25 Thread Mike Isely
Ack'ed (separate formal reply) -Mike On Wed, 25 Oct 2017, Kees Cook wrote: > Eek, sorry, this uses timer_setup_on_stack() which is only in -next. > If you can Ack this, I can carry it in the timer tree. > > Thanks! > > -Kees > > On Tue, Oct 24, 2017 at 5:22 PM, Kees Cook wrote: > > In pre

Re: [PATCH] media: pvrusb2: Convert timers to use timer_setup()

2017-10-25 Thread Mike Isely
Acked-By: Mike Isely On Tue, 24 Oct 2017, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: Mike Isely > Cc: Mauro Carvalh

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Hans Verkuil
On 10/25/2017 05:48 PM, Laurent Pinchart wrote: > Hello, > > On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: >> On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: >>> On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: Hi everyone, Here is a new

Re: [PATCH] media: ov9650: remove unnecessary terminated entry in menu items array

2017-10-25 Thread Sakari Ailus
On Thu, Oct 26, 2017 at 12:22:14AM +0900, Akinobu Mita wrote: > Hi Sakari, > > 2017-10-25 19:23 GMT+09:00 Sakari Ailus : > > On Tue, Oct 24, 2017 at 02:30:26AM +0900, Akinobu Mita wrote: > >> The test_pattern_menu[] array has two valid items and a null terminated > >> item. So the control's maxim

Re: [RFC PATCH 0/9] V4L2 Jobs API WIP

2017-10-25 Thread Laurent Pinchart
Hello, On Monday, 23 October 2017 11:45:01 EEST Alexandre Courbot wrote: > On Thu, Oct 19, 2017 at 11:43 PM, Sakari Ailus wrote: > > On Thu, Sep 28, 2017 at 06:50:18PM +0900, Alexandre Courbot wrote: > >> Hi everyone, > >> > >> Here is a new attempt at the "request" (which I propose to rename "j

Re: [PATCH] media: ov9650: remove unnecessary terminated entry in menu items array

2017-10-25 Thread Akinobu Mita
Hi Sakari, 2017-10-25 19:23 GMT+09:00 Sakari Ailus : > On Tue, Oct 24, 2017 at 02:30:26AM +0900, Akinobu Mita wrote: >> The test_pattern_menu[] array has two valid items and a null terminated >> item. So the control's maximum value which is passed to >> v4l2_ctrl_new_std_menu_items() should be on

Re: [RFC v4 13/17] [media] vb2: add in-fence support to QBUF

2017-10-25 Thread Brian Starkey
Hi Gustavo, On Fri, Oct 20, 2017 at 07:50:08PM -0200, Gustavo Padovan wrote: From: Gustavo Padovan Receive in-fence from userspace and add support for waiting on them before queueing the buffer to the driver. Buffers are only queued to the driver once they are ready. A buffer is ready when its

Re: [PATCH] media: pvrusb2: Convert timers to use timer_setup()

2017-10-25 Thread Kees Cook
Eek, sorry, this uses timer_setup_on_stack() which is only in -next. If you can Ack this, I can carry it in the timer tree. Thanks! -Kees On Tue, Oct 24, 2017 at 5:22 PM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch

Re: [PATCH v4 04/21] doc: media/v4l-drivers: Add Qualcomm Camera Subsystem driver document

2017-10-25 Thread Daniel Mack
Hi Todor, On Wednesday, October 25, 2017 02:07 PM, Todor Tomov wrote: > On 16.10.2017 18:01, Daniel Mack wrote: >> I'd be grateful for any pointer about what I could investigate on. >> > > Everything that you have described seems correct. > > As you say that frames do not contain any data, do >

Re: [PATCH v4 04/21] doc: media/v4l-drivers: Add Qualcomm Camera Subsystem driver document

2017-10-25 Thread Todor Tomov
Hi Daniel, On 16.10.2017 18:01, Daniel Mack wrote: > Hi, > > On 28.08.2017 09:10, Todor Tomov wrote: >> On 25.08.2017 17:10, Daniel Mack wrote: >>> Could you explain how ISPIF, CSID and CSIPHY are related? >>> >>> I have a userspace test setup that works fine for USB webcams, but when >>> operati

Re: [GIT PULL for 4.15] More sensor driver patches

2017-10-25 Thread Sakari Ailus
On Tue, Oct 17, 2017 at 10:34:06AM +0300, Sakari Ailus wrote: > On Mon, Oct 16, 2017 at 05:25:47PM -0700, Leon Luo wrote: > > Hi Mauro, > > > > I am maintaining the driver. I am not sure how to clear this warning > > though. If you could shed some light on it, it will be helpful. Thanks. > > Plea

Re: [PATCH] media: ov9650: remove unnecessary terminated entry in menu items array

2017-10-25 Thread Sakari Ailus
On Tue, Oct 24, 2017 at 02:30:26AM +0900, Akinobu Mita wrote: > The test_pattern_menu[] array has two valid items and a null terminated > item. So the control's maximum value which is passed to > v4l2_ctrl_new_std_menu_items() should be one. However, > 'ARRAY_SIZE(test_pattern_menu) - 1' is actua

Re: [PATCH v15.2 24/32] v4l: fwnode: Add a helper function to obtain device / integer references

2017-10-25 Thread Hans Verkuil
On 10/24/2017 10:32 PM, Sakari Ailus wrote: > v4l2_fwnode_reference_parse_int_prop() will find an fwnode such that under > the device's own fwnode, it will follow child fwnodes with the given > property-value pair and return the resulting fwnode. > > Signed-off-by: Sakari Ailus The improved expl