[no subject]

2018-06-04 Thread Mavis Wanczyk
-- Good Day, I, Mavis Wanczyk donates $ 5 Million Dollars 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

Re: [PATCH v2 01/10] media: imx-csi: Pass sink pad field to ipu_csi_init_interface

2018-06-04 Thread Krzysztof Hałasa
Steve Longerbeam writes: > I think you misunderstood me. Of course there is a first and second > field. By first I am referring to the first field transmitted, which could > be top or bottom. Right. I was thinking the fields are even and odd, but that's not actually the case (I mean, the

cron job: media_tree daily build: OK

2018-06-04 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 5 05:00:18 CEST 2018 media-tree git hash:a00031c159748f322f771f3c1d5ed944cba4bd30 media_build

Re: [PATCH v2 04/10] media: imx: interweave only for sequential input/interlaced output fields

2018-06-04 Thread Steve Longerbeam
On 06/04/2018 01:27 AM, Philipp Zabel wrote: On Mon, 2018-06-04 at 07:35 +0200, Krzysztof Hałasa wrote: Philipp Zabel writes: This is ok in this patch, but we can't use this check in the following TRY_FMT patch as there is no way to interweave SEQ_TB -> INTERLACED_BT (because in SEQ_TB

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

2018-06-04 Thread Mani, Rajmohan
Hi Bingbu, Please see a couple of comments below. > -Original Message- > From: Cao, Bingbu > Sent: Monday, June 04, 2018 2:00 AM > To: linux-media@vger.kernel.org > Cc: sakari.ai...@linux.intel.com; tf...@google.com; jac...@jmondi.org; > Mani, Rajmohan ; bingbu@linux.intel.com; >

Re: [PATCHv15 13/35] v4l2-ctrls: add core request support

2018-06-04 Thread Ezequiel Garcia
On 4 June 2018 at 08:46, Hans Verkuil wrote: > From: Hans Verkuil > > Integrate the request support. This adds the v4l2_ctrl_request_complete > and v4l2_ctrl_request_setup functions to complete a request and (as a > helper function) to apply a request to the hardware. > > It takes care of

Re: [PATCHv15 32/35] vim2m: support requests

2018-06-04 Thread Ezequiel Garcia
On 4 June 2018 at 08:46, Hans Verkuil wrote: > From: Hans Verkuil > > Add support for requests to vim2m. > > Signed-off-by: Hans Verkuil > --- > drivers/media/platform/vim2m.c | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/drivers/media/platform/vim2m.c

Re: [PATCHv15 09/35] v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev

2018-06-04 Thread Ezequiel Garcia
On 4 June 2018 at 08:46, Hans Verkuil wrote: > From: Hans Verkuil > > Add a 'bool from_other_dev' argument: set to true if the two > handlers refer to different devices (e.g. it is true when > inheriting controls from a subdev into a main v4l2 bridge > driver). > > This will be used later when

Re: [PATCH v2 01/10] media: imx-csi: Pass sink pad field to ipu_csi_init_interface

2018-06-04 Thread Steve Longerbeam
On 06/03/2018 10:25 PM, Krzysztof Hałasa wrote: Steve Longerbeam writes: I think we should return to enforcing field order to userspace that matches field order from the source, which is what I had implemented previously. I agree with you that we should put off allowing inverting field

Re: [PATCH v3 03/12] media: ov5640: Remove the clocks registers initialization

2018-06-04 Thread Maxime Ripard
Hi Sam, On Fri, Jun 01, 2018 at 04:05:58PM -0700, Sam Bobrowicz wrote: > >> On May 21, 2018, at 12:39 AM, Maxime Ripard > >> wrote: > >> > >>> On Fri, May 18, 2018 at 07:42:34PM -0700, Sam Bobrowicz wrote: > On Fri, May 18, 2018 at 3:35 AM, Daniel Mack wrote: > On Thursday, May 17,

Re: [PATCHv15 09/35] v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev

2018-06-04 Thread Hans Verkuil
Steve or Philipp, Can one of you verify the imx-media-fim.c patch? See the description of the change below: On 06/04/2018 01:46 PM, Hans Verkuil wrote: > From: Hans Verkuil > > Add a 'bool from_other_dev' argument: set to true if the two > handlers refer to different devices (e.g. it is true

Re: [PATCH 0/2] rockchip/rga: A fix and a cleanup

2018-06-04 Thread Ezequiel Garcia
Ccing Jacob at the right address. Perhaps we should fix the MAINTAINERS file. On Fri, 2018-06-01 at 16:49 -0300, Ezequiel Garcia wrote: > Decided to test v4l2transform filters and found these two > issues. > > Without the first commit, start_streaming fails. The second > commit is just a

Re: [ANN] Prague Media summit report October 2017

2018-06-04 Thread Mauro Carvalho Chehab
Em Tue, 16 Jan 2018 11:11:54 +0200 Sakari Ailus escreveu: > Hello everyone, > > Here's the Prague Media summit report from 26th and 27th October 2017. It > took long but finally it's here! It took an even longer time, but I finally added it to our "news" and added the group photo:

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

2018-06-04 Thread Mauro Carvalho Chehab
Hi all, I consolidated hopefully all comments I receive on the past announcement with regards to the complex camera workshop we're planning to happen in Tokyo, just before the Open Source Summit in Japan. The main focus of the workshop is to allow supporting devices with MC-based hardware

[GIT PULL FOR v4.18] Various regression fixes

2018-06-04 Thread Hans Verkuil
Various fixes, esp the v4l2-ioctl.c fix is critical. All for 4.18. Regards, Hans The following changes since commit a00031c159748f322f771f3c1d5ed944cba4bd30: media: ddbridge: conditionally enable fast TS for stv0910-equipped bridges (2018-05-28 17:47:05 -0400) are available in the

Re: qcom: add firmware file for Venus on SDM845

2018-06-04 Thread Josh Boyer
On Sat, May 26, 2018 at 4:18 AM Vikash Garodia wrote: > > Hi Josh, > > On 2018-05-25 17:34, Josh Boyer wrote: > > On Fri, May 25, 2018 at 7:03 AM Vikash Garodia > > > > wrote: > > > >> This pull request adds firmware files for Venus h/w codec found on the > > Qualcomm SDM845 chipset. > > > >>

[PATCH for v4.18] media/radio/Kconfig: add back RADIO_ISA

2018-06-04 Thread Hans Verkuil
Patch 258c524bdaab inadvertently removed the 'select RADIO_ISA' line for the RADIO_RTRACK. Fixes: 258c524bdaab ("radio: allow building ISA drivers with COMPILE_TEST") Reported-by: Randy Dunlap Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig

[PATCHv15 07/35] v4l2-dev: lock req_queue_mutex

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil We need to serialize streamon/off with queueing new requests. These ioctls may trigger the cancellation of a streaming operation, and that should not be mixed with queuing a new request at the same time. Finally close() needs this lock since that too can trigger the

[PATCHv15 03/35] media: doc: Add media-request.h header to documentation build

2018-06-04 Thread Hans Verkuil
From: Sakari Ailus media-request.h has been recently added; add it to the documentation build as well. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- Documentation/media/kapi/mc-core.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/media/kapi/mc-core.rst

[PATCHv15 06/35] v4l2-device.h: add v4l2_device_supports_requests() helper

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add a simple helper function that tests if the driver supports the request API. Signed-off-by: Hans Verkuil --- include/media/v4l2-device.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/media/v4l2-device.h b/include/media/v4l2-device.h index

[PATCHv15 05/35] media-request: add media_request_object_find

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add media_request_object_find to find a request object inside a request based on ops and/or priv values. Objects of the same type (vb2 buffer, control handler) will have the same ops value. And objects that refer to the same 'parent' object (e.g. the v4l2_ctrl_handler that

[PATCHv15 04/35] media-request: add media_request_get_by_fd

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add media_request_get_by_fd() to find a request based on the file descriptor. The caller has to call media_request_put() for the returned request since this function increments the refcount. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus ---

[PATCHv15 23/35] videobuf2-core: add request helper functions

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add a new helper function to tell if a request object is a buffer. Add a new helper function that returns true if a media_request contains at least one buffer. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-core.c | 17 +

[PATCHv15 34/35] vivid: add request support

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add support for requests to vivid. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c| 8 drivers/media/platform/vivid/vivid-kthread-cap.c | 12 drivers/media/platform/vivid/vivid-kthread-out.c | 12

[PATCHv15 31/35] vim2m: use workqueue

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil v4l2_ctrl uses mutexes, so we can't setup a ctrl_handler in interrupt context. Switch to a workqueue instead and drop the timer. Signed-off-by: Hans Verkuil --- drivers/media/platform/vim2m.c | 25 ++--- 1 file changed, 10 insertions(+), 15 deletions(-)

[PATCHv15 35/35] RFC: media-requests: add debugfs node

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Keep track of the number of requests and request objects of a media device. Helps to verify that all request-related memory is freed. Signed-off-by: Hans Verkuil --- drivers/media/media-device.c | 41 +++ drivers/media/media-devnode.c | 17

[PATCHv15 18/35] videodev2.h: Add request_fd field to v4l2_buffer

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil When queuing buffers allow for passing the request that should be associated with this buffer. If V4L2_BUF_FLAG_REQUEST_FD is set, then request_fd is used as the file descriptor. If a buffer is stored in a request, but not yet queued to the driver, then

[PATCHv15 17/35] vb2: drop VB2_BUF_STATE_PREPARED, use bool prepared/synced instead

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil The PREPARED state becomes a problem with the request API: a buffer could be PREPARED but dequeued, or PREPARED and in state IN_REQUEST. PREPARED is really not a state as such, but more a property of the buffer. So make new 'prepared' and 'synced' bools instead to remember

[PATCHv15 11/35] v4l2-ctrls: alloc memory for p_req

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil To store request data the handler_new_ref() allocates memory for it if needed. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c

[PATCHv15 25/35] videobuf2-core: add uses_requests flag

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Set the first time a buffer from a request is queued to vb2. Cleared when the queue is canceled. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-core.c | 2 ++ include/media/videobuf2-core.h | 3 +++ 2 files changed, 5 insertions(+)

[PATCHv15 10/35] v4l2-ctrls: prepare internal structs for request API

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Embed and initialize a media_request_object in struct v4l2_ctrl_handler. Add a p_req field to struct v4l2_ctrl_ref that will store the request value. Signed-off-by: Hans Verkuil Signed-off-by: Alexandre Courbot --- drivers/media/v4l2-core/v4l2-ctrls.c | 1 +

[PATCHv15 28/35] v4l2-mem2mem: add vb2_m2m_request_queue

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil For mem2mem devices we have to make sure that v4l2_m2m_try_schedule() is called whenever a request is queued. We do that by creating a vb2_m2m_request_queue() helper that should be used instead of the 'normal' vb2_request_queue() helper. The m2m helper function will call

[PATCHv15 22/35] videobuf2-v4l2: integrate with media requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil This implements the V4L2 part of the request support. The main change is that vb2_qbuf and vb2_prepare_buf now have a new media_device pointer. This required changes to several drivers that did not use the vb2_ioctl_qbuf/prepare_buf helper functions. Signed-off-by: Hans

[PATCHv15 30/35] vim2m: add media device

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Request API requires a media node. Add one to the vim2m driver so we can use requests with it. This probably needs a bit more work to correctly represent m2m hardware in the media topology. Signed-off-by: Hans Verkuil --- drivers/media/platform/vim2m.c | 42

[PATCHv15 32/35] vim2m: support requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add support for requests to vim2m. Signed-off-by: Hans Verkuil --- drivers/media/platform/vim2m.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index 5cb077294734..1efc8033320f

[PATCHv15 13/35] v4l2-ctrls: add core request support

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Integrate the request support. This adds the v4l2_ctrl_request_complete and v4l2_ctrl_request_setup functions to complete a request and (as a helper function) to apply a request to the hardware. It takes care of queuing requests and correctly chaining control values in the

[PATCHv15 15/35] vb2: store userspace data in vb2_v4l2_buffer

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil The userspace-provided plane data needs to be stored in vb2_v4l2_buffer. Currently this information is applied by __fill_vb2_buffer() which is called by the core prepare_buf and qbuf functions, but when using requests these functions aren't called yet since the buffer won't be

[PATCHv15 09/35] v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add a 'bool from_other_dev' argument: set to true if the two handlers refer to different devices (e.g. it is true when inheriting controls from a subdev into a main v4l2 bridge driver). This will be used later when implementing support for the request API since we need to

[PATCHv15 19/35] vb2: add init_buffer buffer op

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil We need to initialize the request_fd field in struct vb2_v4l2_buffer to -1 instead of the default of 0. So we need to add a new op that is called when struct vb2_v4l2_buffer is allocated. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-core.c | 2 ++

[PATCHv15 33/35] vivid: add mc

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add support for the media_device to vivid. This is a prerequisite for request support. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c | 61 +++ drivers/media/platform/vivid/vivid-core.h | 8 +++ 2 files changed, 69

[PATCHv15 20/35] videobuf2-core: embed media_request_object

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Make vb2_buffer a request object. Signed-off-by: Hans Verkuil --- include/media/videobuf2-core.h | 4 1 file changed, 4 insertions(+) diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index cbda3968d018..df92dcdeabb3 100644 ---

[PATCHv15 14/35] v4l2-ctrls: support g/s_ext_ctrls for requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil The v4l2_g/s_ext_ctrls functions now support control handlers that represent requests. The v4l2_ctrls_find_req_obj() function is responsible for finding the request from the fd. Signed-off-by: Hans Verkuil --- drivers/media/platform/omap3isp/ispvideo.c | 2 +-

[PATCHv15 16/35] davinci_vpfe: remove bogus vb2->state check

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil There is no need to check the vb2 state in the buf_prepare callback: it can never be wrong. Since VB2_BUF_STATE_PREPARED will be removed in the next patch we'll remove this unnecessary check (and use of that state) first. Signed-off-by: Hans Verkuil ---

[PATCHv15 27/35] v4l2-mem2mem: Simplify exiting the function in v4l2_m2m_try_schedule

2018-06-04 Thread Hans Verkuil
From: Sakari Ailus The v4l2_m2m_try_schedule function acquires and releases multiple spinlocks; simplify unlocking the job lock by adding a label to unlock the job lock and exit the function. Signed-off-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-mem2mem.c | 22 -- 1

[PATCHv15 21/35] videobuf2-core: integrate with media requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Buffers can now be prepared or queued for a request. A buffer is unbound from the request at vb2_buffer_done time or when the queue is cancelled. Signed-off-by: Hans Verkuil --- .../media/common/videobuf2/videobuf2-core.c | 133 +-

[PATCHv15 29/35] Documentation: v4l: document request API

2018-06-04 Thread Hans Verkuil
From: Alexandre Courbot Document the request API for V4L2 devices, and amend the documentation of system calls influenced by it. Signed-off-by: Alexandre Courbot Signed-off-by: Hans Verkuil --- .../media/uapi/mediactl/media-controller.rst | 1 + .../media/uapi/mediactl/media-funcs.rst

[PATCHv15 12/35] v4l2-ctrls: use ref in helper instead of ctrl

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil The next patch needs the reference to a control instead of the control itself, so change struct v4l2_ctrl_helper accordingly. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff

[PATCHv15 01/35] uapi/linux/media.h: add request API

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Define the public request API. This adds the new MEDIA_IOC_REQUEST_ALLOC ioctl to allocate a request and two ioctls that operate on a request in order to queue the contents of the request to the driver and to re-initialize the request. Signed-off-by: Hans Verkuil Acked-by:

[PATCHv15 08/35] videodev2.h: add request_fd field to v4l2_ext_controls

2018-06-04 Thread Hans Verkuil
From: Alexandre Courbot If 'which' is V4L2_CTRL_WHICH_REQUEST_VAL, then the 'request_fd' field can be used to specify a request for the G/S/TRY_EXT_CTRLS ioctls. Signed-off-by: Alexandre Courbot Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 5 -

[PATCHv15 26/35] videobuf2-v4l2: refuse qbuf if queue uses requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Check if the vb2 queue uses requests, and if so refuse to add buffers that are not part of a request. We might relax this in the future, but for now just return -EBUSY in that case. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-v4l2.c | 7 ++-

[PATCHv15 00/35] Request API

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Hi all, This is version 15 of the Request API series. The main changes compared to v14 are: - Squashed various patches from v14 together where applicable. - All comments to v13/v14 patches have been processed and code adapted where applicable. - Added new init_buffer

[PATCHv15 02/35] media-request: implement media requests

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil Add initial media request support: 1) Add MEDIA_IOC_REQUEST_ALLOC ioctl support to media-device.c 2) Add struct media_request to store request objects. 3) Add struct media_request_object to represent a request object. 4) Add MEDIA_REQUEST_IOC_QUEUE/REINIT ioctl support.

[PATCHv15 24/35] videobuf2-v4l2: add vb2_request_queue/validate helpers

2018-06-04 Thread Hans Verkuil
From: Hans Verkuil The generic vb2_request_validate helper function checks if there are buffers in the request and if so, prepares (validates) all objects in the request. The generic vb2_request_queue helper function queues all buffer objects in the validated request. Signed-off-by: Hans

Re: RFC: Request API and memory-to-memory devices

2018-06-04 Thread Hans Verkuil
On 05/25/2018 05:26 PM, Hans Verkuil wrote: > On 25/05/18 16:16, Sakari Ailus wrote: >> Hi Hans, >> >> On Thu, May 24, 2018 at 10:44:13AM +0200, Hans Verkuil wrote: >>> Memory-to-memory devices have one video node, one internal control handler >>> but two vb2_queues (DMA engines). While often

[PATCH for v4.18] v4l2-ioctl.c: fix missing unlock in __video_do_ioctl()

2018-06-04 Thread Hans Verkuil
If dev_debug was active, then the code could return without unlocking the core mutex. Replace the return with a 'goto unlock' to ensure proper unlocking. Fixes: 73a110623e7b ("v4l2-core: push taking ioctl mutex down to ioctl handler") Signed-off-by: Hans Verkuil --- diff --git

Re: i.MX6 IPU CSI analog video input on Ventana

2018-06-04 Thread Krzysztof Hałasa
I've just tested the PAL setup: in currect situation (v4.17 + Steve's fix-csi-interlaced.2 + "media: adv7180: fix field type" + a small cheap PAL camera) the following produces bottom-first interlaced frames: media-ctl -r -l '"adv7180 2-0020":0->"ipu2_csi1_mux":1[1],

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

2018-06-04 Thread bingbu . cao
From: Bingbu Cao Add device tree bindings for asahi-kasei 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 --- Changes since v1: - add the MAINTAINERS change - correct the vendor prefix from akm

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

2018-06-04 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,

Re: i.MX6 IPU CSI analog video input on Ventana

2018-06-04 Thread Philipp Zabel
On Sat, 2018-06-02 at 10:45 -0700, Steve Longerbeam wrote: > > On 06/01/2018 06:13 AM, Philipp Zabel wrote: > > Hi Krzysztof, > > > > On Fri, 2018-06-01 at 12:02 +0200, Krzysztof Hałasa wrote: > > > Steve Longerbeam writes: > > > > > > > I tend to agree, I've found conflicting info out there

Re: i.MX6 IPU CSI analog video input on Ventana

2018-06-04 Thread Philipp Zabel
On Sat, 2018-06-02 at 10:33 -0700, Steve Longerbeam wrote: [...] > As I said in the other thread, I think we should put this off to some > other time, and remove the code in ipu_csi_init_interface() that > inverts field order according to frame size. This way, CSI will not > be lying to userspace

Re: [PATCH v2 10/10] media: imx.rst: Update doc to reflect fixes to interlaced capture

2018-06-04 Thread Philipp Zabel
On Sat, 2018-06-02 at 11:44 -0700, Steve Longerbeam wrote: > > On 06/01/2018 06:44 AM, Philipp Zabel wrote: > > On Thu, 2018-05-31 at 17:30 -0700, Steve Longerbeam wrote: > > > > > + > > > +.. code-block:: none > > > + > > > + # Setup links > > > + media-ctl -l "'adv7180 3-0021':0 ->

Re: [PATCH v2 01/10] media: imx-csi: Pass sink pad field to ipu_csi_init_interface

2018-06-04 Thread Philipp Zabel
On Mon, 2018-06-04 at 07:25 +0200, Krzysztof Hałasa wrote: > Steve Longerbeam writes: > > > I think we should return to enforcing field order to userspace that > > matches field order from the source, which is what I had implemented > > previously. I agree with you that we should put off

Re: [PATCH v2 04/10] media: imx: interweave only for sequential input/interlaced output fields

2018-06-04 Thread Philipp Zabel
On Mon, 2018-06-04 at 07:35 +0200, Krzysztof Hałasa wrote: > Philipp Zabel writes: > > > This is ok in this patch, but we can't use this check in the following > > TRY_FMT patch as there is no way to interweave > > SEQ_TB -> INTERLACED_BT (because in SEQ_TB the B field is newer than T, > > but

[no subject]

2018-06-04 Thread Shane Missler
Mein Name ist SHANE MISSLER. Ich habe im Januar 2018 den $ 451 Millionen American Lotto Jackpot gewonnen. Ich habe eine Spende von € 2.100.000,00 für Sie. Ich spende Ihnen diese Spende wegen der Liebe, die ich für die Menschheit und die Bedürftigen in der Gesellschaft habe. Bitte

Re: i.MX6 IPU CSI analog video input on Ventana

2018-06-04 Thread Krzysztof Hałasa
Steve Longerbeam writes: > I think this must be legacy code from a Freescale BSP requirement > that the CSI must always capture in T-B order. We should remove this > code, so that the CSI always captures field 0 followed by field 1, > irrespective > of field affinity, Well it now seems we could

Re: i.MX6 IPU CSI analog video input on Ventana

2018-06-04 Thread Krzysztof Hałasa
Hi Philipp, Philipp Zabel writes: > My understanding is that the CCIR codes for height == 480 (NTSC) > currently capture the second field (top) first, assuming that for NTSC > the EAV/SAV codes are bottom-field-first. 2a38014: 010D07DF 00040596 SA EA SB EB SB EB D07DF: 001

Re: [RESEND PATCH V2 2/2] media: ak7375: Add ak7375 lens voice coil driver

2018-06-04 Thread Bing Bu Cao
On 2018年06月01日 17:42, Sakari Ailus wrote: On Fri, May 25, 2018 at 05:55:35PM +0800, bingbu@intel.com wrote: +static int ak7375_i2c_write(struct ak7375_device *ak7375, + u8 addr, u16 data, int size) +{ + struct i2c_client *client = v4l2_get_subdevdata(>sd); + int ret; +