[PATCH v5 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-06-18 Thread bingbu . cao
From: Bingbu Cao Add a v4l2 sub-device driver for the ak7375 lens voice coil. This is a voice coil module using the i2c bus to control the focus position. ak7375 can write multiple bytes of data at a time. If more data is received instead of the stop condition after receiving one byte of data, t

[PATCH v5 1/2] dt-bindings: Add bindings for AKM ak7375 voice coil lens

2018-06-18 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for AKM ak7375 voice coil lens driver. This chip is used to drive a lens in a camera module. Signed-off-by: Tianshu Qiu Signed-off-by: Bingbu Cao Reviewed-by: Rob Herring --- Changes since v1: - add the MAINTAINERS change - correct the vendor

cron job: media_tree daily build: ERRORS

2018-06-18 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: Tue Jun 19 05:00:17 CEST 2018 media-tree git hash:f2809d20b9250c675fca8268a0f6274277cca7ff media_build gi

Re: [RFC PATCH v2] media: i2c: add SCCB helpers

2018-06-18 Thread Wolfram Sang
> > I'd prefer this file to be in the i2c realm. Maybe > > 'include/linux/i2c-sccb.h" or something. I will come back to this. > > And while at it, I think we also need a .c file, the functions (and > especially > sccb_read_byte()) should not be static inline. Before we discuss this, we should

RE: [PATCH v6 04/12] intel-ipu3: Implement DMA mapping functions

2018-06-18 Thread Zhi, Yong
Hi, Tomasz, Thanks for the review. > -Original Message- > From: Tomasz Figa [mailto:tf...@chromium.org] > Sent: Monday, June 18, 2018 12:09 AM > To: Zhi, Yong > Cc: Linux Media Mailing List ; Sakari Ailus > ; Mani, Rajmohan > ; Toivonen, Tuukka > ; Hu, Jerry W ; Zheng, > Jian Xu > Subje

RE: [PATCH v6 03/12] intel-ipu3: mmu: Implement driver

2018-06-18 Thread Zhi, Yong
Hi, Tomasz, Thanks for the code review. > -Original Message- > From: Tomasz Figa [mailto:tf...@chromium.org] > Sent: Sunday, June 17, 2018 11:46 PM > To: Zhi, Yong > Cc: Linux Media Mailing List ; Sakari Ailus > ; Mani, Rajmohan > ; Toivonen, Tuukka > ; Hu, Jerry W ; Zheng, > Jian Xu >

[PATCH v2 0/3] OV5640 hflip, vflip and module orientation support

2018-06-18 Thread Hugues Fruchet
This patch serie relates to flip and mirror at sensor level through registers "TIMING TC REG20/REG21". The first commit implements HFLIP and VFLIP V4L2 controls allowing V4L2 client to change horizontal and vertical flip before or during streaming. The second & third commit allows to inform drive

[PATCH v2 1/3] media: ov5640: add HFLIP/VFLIP controls support

2018-06-18 Thread Hugues Fruchet
Add HFLIP/VFLIP controls support by setting registers REG21/REG20. Useless values in hardcoded mode sequences are removed and remaining binning values are now set after mode sequence being set. Note that due to BSI (Back Side Illuminated) technology, image capture is physically mirrored, mirror log

[PATCH v2 3/3] media: ov5640: add support of module orientation

2018-06-18 Thread Hugues Fruchet
Add support of module being physically mounted upside down. In this case, mirror and flip are enabled to fix captured images orientation. Signed-off-by: Hugues Fruchet --- drivers/media/i2c/ov5640.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a

[PATCH v2 2/3] dt-bindings: ov5640: Add "rotation" property

2018-06-18 Thread Hugues Fruchet
Add the rotation property to the list of optional properties for the OV5640 camera sensor. Signed-off-by: Hugues Fruchet --- Documentation/devicetree/bindings/media/i2c/ov5640.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/ov5640.txt b/D

Re: [RFC 1/2] media: add helpers for memory-to-memory media controller

2018-06-18 Thread Hans Verkuil
On 06/15/2018 06:22 PM, Ezequiel Garcia wrote: > Hi Hans, > > Thanks for the review. > > On Fri, 2018-06-15 at 11:24 +0200, Hans Verkuil wrote: >> On 12/06/18 12:48, Ezequiel Garcia wrote: >>> diff --git a/include/media/media-entity.h b/include/media/media-entity.h >>> index 3aa3d58d1d58..ff6f

Re: [ANN v2] Complex Camera Workshop - Tokyo - Jun, 19

2018-06-18 Thread Paul Elder
Hi Tomasz, On June 18, 2018 6:00:47 PM GMT+09:00, Tomasz Figa wrote: >Hi Paul, > >On Mon, Jun 18, 2018 at 5:42 PM Paul Elder > wrote: >> >> >> >> Hello all, >> >> On June 4, 2018 10:33:03 PM GMT+09:00, Mauro Carvalho Chehab > wrote: >> >Hi all, >> > >> >I consolidated hopefully all comments I rec

[PATCH] media/i2c: add missing entity functions

2018-06-18 Thread Hans Verkuil
Several drivers in media/i2c do not set the entity function. Correct this. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7604.c | 1 + drivers/media/i2c/adv7842.c | 1 + drivers/media/i2c/et8ek8/et8ek8_driver.c | 1 + drivers/media/i2c/mt9m032.c | 1

[PATCH] adv7180/tvp514x/tvp7002: fix entity function

2018-06-18 Thread Hans Verkuil
The entity function was ORed with the flags field instead of assigned to the function field. Correct this. Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7180.c | 2 +- drivers/media/i2c/tvp514x.c | 2 +- drivers/media/i2c/tvp7002.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: [ANN v2] Complex Camera Workshop - Tokyo - Jun, 19

2018-06-18 Thread Tomasz Figa
Hi Paul, On Mon, Jun 18, 2018 at 5:42 PM Paul Elder wrote: > > > > Hello all, > > On June 4, 2018 10:33:03 PM GMT+09:00, Mauro Carvalho Chehab > wrote: > >Hi all, > > > >I consolidated hopefully all comments I receive on the past > >announcement > >with regards to the complex camera workshop we

Re: [ANN v2] Complex Camera Workshop - Tokyo - Jun, 19

2018-06-18 Thread Laurent Pinchart
Hello, On Monday, 18 June 2018 11:42:37 EEST Paul Elder wrote: > On June 4, 2018 10:33:03 PM GMT+09:00, Mauro Carvalho Chehab wrote: > > Hi all, > > > > I consolidated hopefully all comments I receive on the past announcement > > with regards to the complex camera workshop we're planning to happe

Re: [PATCH v4 04/17] omap3isp: Add vb2_queue lock

2018-06-18 Thread Hans Verkuil
On 06/15/2018 09:07 PM, Ezequiel Garcia wrote: > vb2_queue locks is now mandatory. Add it, remove driver ad-hoc locks, > and implement wait_{prepare, finish}. You are also removing stream_lock, but that is not mentioned here. This needs an improved commit log. Regards, Hans > > Signed

Re: [PATCH v6 04/12] intel-ipu3: Implement DMA mapping functions

2018-06-18 Thread Tomasz Figa
On Fri, Mar 30, 2018 at 11:15 AM Yong Zhi wrote: > > From: Tomasz Figa > > This driver uses IOVA space for buffer mapping through IPU3 MMU > to transfer data between imaging pipelines and system DDR. > > Signed-off-by: Tomasz Figa > Signed-off-by: Yong Zhi > --- > drivers/media/pci/intel/ipu3/