Re: [PATCH v12 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-11-22 Thread jacopo mondi
Hi Yong, On Tue, Oct 30, 2018 at 03:06:24PM +0200, Laurent Pinchart wrote: > Hi Yong, > > Thank you for the patch. > > On Tuesday, 30 October 2018 10:12:23 EET Yong Deng wrote: > > Add binding documentation for Allwinner V3s CSI. > > > > Acked-by: Maxime Ripard > > Acked-by: Sakari Ailus > > Rev

Re: [PATCH v3 14/14] [media] marvell-ccic: provide a clock for the sensor

2018-11-22 Thread jacopo mondi
HI Lubomir, On Tue, Nov 20, 2018 at 11:03:19AM +0100, Lubomir Rintel wrote: > The sensor needs the MCLK clock running when it's being probed. On > platforms where the sensor is instantiated from a DT (MMP2) it is going > to happen asynchronously. > > Therefore, the current modus operandi, where th

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-22 Thread Mike Rapoport
On Mon, Nov 19, 2018 at 11:15:15PM +0530, Souptick Joarder wrote: > On Mon, Nov 19, 2018 at 9:56 PM Mike Rapoport wrote: > > > > On Mon, Nov 19, 2018 at 08:43:09PM +0530, Souptick Joarder wrote: > > > Hi Mike, > > > > > > On Sat, Nov 17, 2018 at 8:07 PM Matthew Wilcox > > > wrote: > > > > > > >

Re: [PATCH v2 4/4] [DO NOT MERGE] ARM: dts: sun8i: Add CAM500B camera module to the Nano Pi M1+

2018-11-22 Thread Jagan Teki
On Wed, Nov 14, 2018 at 8:29 PM Maxime Ripard wrote: > > From: Mylène Josserand > > The Nano Pi M1+ comes with an optional sensor based on the ov5640 from > Omnivision. Enable the support for it in the DT. > > Signed-off-by: Mylène Josserand > Signed-off-by: Maxime Ripard > --- > arch/arm/boot

cron job: media_tree daily build: WARNINGS

2018-11-22 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: Fri Nov 23 05:00:11 CET 2018 media-tree git hash:8e782fcf78275f505194e767c515202d4fd274bc media_build git

Re: [PATCH] media: venus: fix reported size of 0-length buffers

2018-11-22 Thread Nicolas Dufresne
Le jeudi 22 novembre 2018 à 17:31 +0900, Alexandre Courbot a écrit : > On Fri, Nov 16, 2018 at 1:49 AM Nicolas Dufresne wrote: > > Le mercredi 14 novembre 2018 à 13:12 +0900, Alexandre Courbot a écrit : > > > On Wed, Nov 14, 2018 at 3:54 AM Nicolas Dufresne > > > wrote: > > > > > > > > Le mar.

Re: [GIT PULL FOR v4.18] v2: Various fixes/improvements

2018-11-22 Thread Mauro Carvalho Chehab
Hi Hans, Em Thu, 22 Nov 2018 23:26:07 +0100 Hans Verkuil escreveu: > On 11/22/2018 09:52 PM, Mauro Carvalho Chehab wrote: > > Em Tue, 8 May 2018 12:48:45 +0200 > > Hans Verkuil escreveu: > > > >> Fixes/improvements all over the place. > >> > >> Changes since v1: > >> > >> Replaced "media: me

Re: [GIT PULL FOR v4.18] v2: Various fixes/improvements

2018-11-22 Thread Hans Verkuil
On 11/22/2018 09:52 PM, Mauro Carvalho Chehab wrote: > Em Tue, 8 May 2018 12:48:45 +0200 > Hans Verkuil escreveu: > >> Fixes/improvements all over the place. >> >> Changes since v1: >> >> Replaced "media: media-device: fix ioctl function types" with the v2 version >> of that patch. My fault, I mi

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread stakanov
In data giovedì 22 novembre 2018 21:35:49 CET, Mauro Carvalho Chehab ha scritto: > Em Thu, 22 Nov 2018 21:19:49 +0100 > > stakanov escreveu: > > Hello Mauro. > > > > Thank you so much, for this fast reply and especially for the detailed > > indications. I expected to have a lack of knowledge. >

Re: Logitech QuickCam USB detected by Linux, but not user space applications

2018-11-22 Thread Paul Menzel
Dear Hans, Am 22.11.18 um 13:43 schrieb Hans Verkuil: On 11/16/2018 03:39 PM, Paul Menzel wrote: On 11/15/18 12:38, Mauro Carvalho Chehab wrote: Em Thu, 15 Nov 2018 11:42:32 +0100 Paul Menzel escreveu: I tried to get a Logitech QuickCam USB camera working, but unfortunately, it is not d

Re: [PATCH] vim2m: use cancel_delayed_work_sync instead of flush_schedule_work

2018-11-22 Thread Hans Verkuil
On 11/07/2018 03:04 PM, Hans Verkuil wrote: > The use of flush_schedule_work() made no sense and caused a syzkaller error. > Replace with the correct cancel_delayed_work_sync(). > > Signed-off-by: Hans Verkuil Mistyped that SoB, this should of course be: Signed-off-by: Hans Verkuil Regards,

Hello Dear.

2018-11-22 Thread mrsmimilove
Hello Dear My name is Doctor smith Tracy, I am 26 years old medical doctor from USA united state of America. presently working and living in the UK United kingdom, my mum is from french why my father is from USA, I was just going through the Internet search when i saw your profile and like it,

Re: [GIT PULL FOR v4.18] v2: Various fixes/improvements

2018-11-22 Thread Mauro Carvalho Chehab
Em Tue, 8 May 2018 12:48:45 +0200 Hans Verkuil escreveu: > Fixes/improvements all over the place. > > Changes since v1: > > Replaced "media: media-device: fix ioctl function types" with the v2 version > of that patch. My fault, I missed Sakari's request for a change of v1. You should seriously

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread Mauro Carvalho Chehab
Em Thu, 22 Nov 2018 21:19:49 +0100 stakanov escreveu: > Hello Mauro. > > Thank you so much, for this fast reply and especially for the detailed > indications. I expected to have a lack of knowledge. > > Well, I am replying to the question as of below: (for convenience I did cut > the befor

Re: [PATCH v10 4/4] media: add Rockchip VPU JPEG encoder driver

2018-11-22 Thread Ezequiel Garcia
On Thu, 2018-11-22 at 19:20 +0900, Tomasz Figa wrote: > Hi Ezequiel, > > On Thu, Nov 22, 2018 at 4:59 AM Ezequiel Garcia > wrote: > > Add a mem2mem driver for the VPU available on Rockchip SoCs. > > Currently only JPEG encoding is supported, for RK3399 and RK3288 > > platforms. > > > > Signed-o

Re: [GIT PULL FOR v4.21] Various fixes

2018-11-22 Thread Mauro Carvalho Chehab
Hi Hans, Em Wed, 7 Nov 2018 11:31:14 +0100 Hans Verkuil escreveu: > Just one note: the "cec: keep track of outstanding transmits" is CC-ed to > stable > for v4.18 and up, but I prefer to wait until v4.21 before merging it to give > it > more test time. It is not something that happens in norma

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread stakanov
Hello Mauro. Thank you so much, for this fast reply and especially for the detailed indications. I expected to have a lack of knowledge. Well, I am replying to the question as of below: (for convenience I did cut the before text, if you deem it useful for the list I can then correct that in

Re: [PATCH v3 05/14] media: dt-bindings: marvell,mmp2-ccic: Add Marvell MMP2 camera

2018-11-22 Thread jacopo mondi
Hi Lubomir, On Tue, Nov 20, 2018 at 11:03:10AM +0100, Lubomir Rintel wrote: > Add Marvell MMP2 camera host interface. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - Added #clock-cells, clock-names, port > > .../bindings/media/marvell,mmp2-ccic.txt | 37 +++

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread Mauro Carvalho Chehab
Em Thu, 22 Nov 2018 19:58:19 +0100 stakanov escreveu: > Hi Mauro! > > In data giovedì 22 novembre 2018 17:19:08 CET, Mauro Carvalho Chehab ha > scritto: > > Stakanov, > > > > Em Tue, 20 Nov 2018 14:08:55 -0200 > > > > Mauro Carvalho Chehab escreveu: > > > Em Tue, 20 Nov 2018 14:20:01 +0100

Re: Bug in stkwebcam?

2018-11-22 Thread Kieran Bingham
Hi Andreas, On 22/11/2018 19:23, Andreas Pape wrote: > Hello, > > I recently updated my old 2006 Asus A6VM notebook with the latest 32bit > Ubuntu 18.04 LTS (kernel 4.15.0) and found out that the driver for the > webcam (Syntek USB2.0, USB ID 174f:a311) was not working. I only got error > message

Bug in stkwebcam?

2018-11-22 Thread Andreas Pape
Hello, I recently updated my old 2006 Asus A6VM notebook with the latest 32bit Ubuntu 18.04 LTS (kernel 4.15.0) and found out that the driver for the webcam (Syntek USB2.0, USB ID 174f:a311) was not working. I only got error messages like "Sensor resetting failed" in dmesg when starting guvcview f

Re: 'bad remote port parent' warnings

2018-11-22 Thread Fabio Estevam
Hi Philipp, On Thu, Nov 22, 2018 at 2:27 PM Philipp Zabel wrote: > There are empty endpoint nodes (without remote-endpoint property) > labeled ipu1_csi[01]_mux_from_parallel_sensor in the i.MX6 device trees > for board DT implementers' convenience. See commit 2539f517acbdc ("ARM: > dts: imx6qdl:

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread stakanov
Hi Mauro! In data giovedì 22 novembre 2018 17:19:08 CET, Mauro Carvalho Chehab ha scritto: > Stakanov, > > Em Tue, 20 Nov 2018 14:08:55 -0200 > > Mauro Carvalho Chehab escreveu: > > Em Tue, 20 Nov 2018 14:20:01 +0100 > > > > stakanov escreveu: > > > In data martedì 20 novembre 2018 13:42:17

Re: [PATCH v3 01/14] media: ov7670: split register setting from set_fmt() logic

2018-11-22 Thread jacopo mondi
Hi Lubomir, On Tue, Nov 20, 2018 at 11:03:06AM +0100, Lubomir Rintel wrote: > This will allow us to restore the last set format after the device returns > from a power off. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - This patch was added to the series > > drivers/media/i2c/

Re: 'bad remote port parent' warnings

2018-11-22 Thread Philipp Zabel
On Tue, 2018-11-20 at 10:10 -0200, Fabio Estevam wrote: > Hi, > > On a imx6q-wandboard running linux-next 20181120 there the following warnings: > > [4.327794] video-mux 20e.iomuxc-gpr:ipu1_csi0_mux: bad remote > port parent > [4.336118] video-mux 20e.iomuxc-gpr:ipu2_csi1_mux: bad

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread Mauro Carvalho Chehab
Stakanov, Em Tue, 20 Nov 2018 14:08:55 -0200 Mauro Carvalho Chehab escreveu: > Em Tue, 20 Nov 2018 14:20:01 +0100 > stakanov escreveu: > > > In data martedì 20 novembre 2018 13:42:17 CET, Mauro Carvalho Chehab ha > > scritto: > > > Em Tue, 20 Nov 2018 13:11:58 +0100 > > > > > > "Stakanov S

[PATCH v5] media: video-i2c: support runtime PM

2018-11-22 Thread Akinobu Mita
AMG88xx has a register for setting operating mode. This adds support runtime PM by changing the operating mode. The instruction for changing sleep mode to normal mode is from the reference specifications. https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf Cc: Mat

Re: DVB-S PCI card regression on 4.19 / 4.20

2018-11-22 Thread Mauro Carvalho Chehab
Em Wed, 21 Nov 2018 21:20:35 + Malcolm Priestley escreveu: > On 20/11/2018 16:08, Mauro Carvalho Chehab wrote: > > Em Tue, 20 Nov 2018 14:20:01 +0100 > > > > Ok. Now, min/max frequencies are at the same scale. For DVB-S, > > dvb_frontend_get_frequency_limits() returns both in kHz, so the

[yavta PATCH 1/1] Zero dev in main()

2018-11-22 Thread Sakari Ailus
From: Sakari Ailus This is necessary since video_open() may not be always called soon Signed-off-by: Sakari Ailus --- yavta.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yavta.c b/yavta.c index c7986bd..de5376d 100644 --- a/yavta.c +++ b/yavta.c @@ -342,7 +342,6 @@ st

[PATCH v9 13/13] media: MAINTAINERS: add entry for Freescale i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Add maintainer entry for the imx7 media csi, mipi csis driver, dt-bindings and documentation. Signed-off-by: Rui Miguel Silva --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0abecc528dac..afa2ad3c5600 100644 --- a/MAINTAINERS +++ b

[PATCH v9 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2018-11-22 Thread Rui Miguel Silva
This patch adds the device tree nodes for csi, video multiplexer and mipi-csi besides the graph connecting the necessary endpoints to make the media capture entities to work in imx7 Warp board. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s-warp.dts | 51

[PATCH v9 04/13] media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7

2018-11-22 Thread Rui Miguel Silva
Adds MIPI CSI-2 subdev for i.MX7 to connect with sensors with a MIPI CSI-2 interface. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Makefile |1 + drivers/staging/media/imx/imx7-mipi-csis.c | 1135 2 files changed, 1136 insertions(+) create mode

[PATCH v9 03/13] media: staging/imx7: add imx7 CSI subdev driver

2018-11-22 Thread Rui Miguel Silva
This add the media entity subdevice and control driver for the i.MX7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Kconfig |9 +- drivers/staging/media/imx/Makefile |2 + drivers/staging/media/imx/imx7-media-csi.c | 1354 +++

[PATCH v9 09/13] ARM: dts: imx7s-warp: add ov2680 sensor node

2018-11-22 Thread Rui Miguel Silva
Warp7 comes with a Omnivision OV2680 sensor, add the node here to make complete the camera data path for this system. Add the needed regulator to the analog voltage supply, the port and endpoints in mipi_csi node and the pinctrl for the reset gpio. Signed-off-by: Rui Miguel Silva --- arch/arm/bo

[PATCH v9 02/13] media: staging/imx: rearrange group id to take in account IPU

2018-11-22 Thread Rui Miguel Silva
Some imx system do not have IPU, so prepare the imx media drivers to support this kind of devices. Rename the group ids to include an _IPU_ prefix, add a new group id to support systems with only a CSI without IPU, and also rename the create internal links to make it clear that only systems with IP

[PATCH v9 11/13] media: staging/imx: add i.MX7 entries to TODO file

2018-11-22 Thread Rui Miguel Silva
Add some i.MX7 related entries to TODO file. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/TODO | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/media/imx/TODO b/drivers/staging/media/imx/TODO index aeeb15494a49..6f29b5ca5324 100644 --- a/drivers/stagi

[PATCH v9 10/13] media: imx7.rst: add documentation for i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Add rst document to describe the i.MX7 media driver and also a working example from the Warp7 board usage with a OV2680 sensor. Signed-off-by: Rui Miguel Silva --- Documentation/media/v4l-drivers/imx7.rst | 157 ++ Documentation/media/v4l-drivers/index.rst | 1 + 2 files c

[PATCH v9 05/13] media: dt-bindings: add bindings for i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Add bindings documentation for i.MX7 media drivers. The imx7 MIPI CSI2 and imx7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva Reviewed-by: Rob Herring Acked-by: Sakari Ailus --- .../devicetree/bindings/media/imx7-csi.txt| 45 ++ .../bindings/media/imx7-mipi-csi2.txt

[PATCH v9 01/13] media: staging/imx: refactor imx media device probe

2018-11-22 Thread Rui Miguel Silva
Refactor and move media device initialization code to a new common module, so it can be used by other devices, this will allow for example a near to introduce imx7 CSI driver, to use this media device. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/Makefile| 1 + ...

[PATCH v9 12/13] media: video-mux: add bayer formats

2018-11-22 Thread Rui Miguel Silva
Add non vendor bayer formats to the allowed format array. Signed-off-by: Rui Miguel Silva --- drivers/media/platform/video-mux.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/video-mux.c b/drivers/media/platform/video-mux.c index c33900e3c23e.

[PATCH v9 07/13] ARM: dts: imx7s: add multiplexer controls

2018-11-22 Thread Rui Miguel Silva
The IOMUXC General Purpose Register has bitfield to control video bus multiplexer to control the CSI input between the MIPI-CSI2 and parallel interface. Add that register and mask. Signed-off-by: Rui Miguel Silva Reviewed-by: Philipp Zabel --- arch/arm/boot/dts/imx7s.dtsi | 9 - 1 file

[PATCH v9 06/13] ARM: dts: imx7s: add mipi phy power domain

2018-11-22 Thread Rui Miguel Silva
Add power domain index 0 related with mipi-phy to imx7s. While at it rename pcie power-domain node to remove pgc prefix. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s.dtsi | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arc

[PATCH v9 00/13] media: staging/imx7: add i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Hi, This series introduces the Media driver to work with the i.MX7 SoC. it uses the already existing imx media core drivers but since the i.MX7, contrary to i.MX5/6, do not have an IPU and because of that some changes in the imx media core are made along this series to make it support that case. T

Re: [PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-22 Thread Matt Ranostay
On Thu, Nov 22, 2018 at 12:57 AM Hans Verkuil wrote: > > On 11/22/2018 04:52 AM, Matt Ranostay wrote: > > Add initial support for MLX90640 thermal cameras which output an 32x24 > > greyscale pixel image along with 2 rows of coefficent data. > > > > Because of this the data outputed is really 32x26

Re: [PATCH 3/5] media: sunxi: Add A10 CSI driver

2018-11-22 Thread Maxime Ripard
Hi Sakari, On Thu, Nov 22, 2018 at 12:01:03AM +0200, Sakari Ailus wrote: > On Thu, Nov 15, 2018 at 09:51:06PM +0100, Maxime Ripard wrote: > > Hi Hans, > > > > Thanks for your review! I'll address the other comments you made. > > > > On Tue, Nov 13, 2018 at 01:24:47PM +0100, Hans Verkuil wrote: >

Re: is it possible to use single IOCTL to setup media pipeline?

2018-11-22 Thread Tomasz Figa
On Thu, Nov 22, 2018 at 10:46 PM Sakari Ailus wrote: > > Hi Tomasz, > > On Thu, Nov 22, 2018 at 04:06:36PM +0900, Tomasz Figa wrote: > > Hi Ning, > > > > On Thu, Nov 22, 2018 at 11:52 AM Zhang, Ning A > > wrote: > > > > > > Hello everyone > > > > > > when we need to setup media pipeline, eg, for

Re: is it possible to use single IOCTL to setup media pipeline?

2018-11-22 Thread Sakari Ailus
Hi Tomasz, On Thu, Nov 22, 2018 at 04:06:36PM +0900, Tomasz Figa wrote: > Hi Ning, > > On Thu, Nov 22, 2018 at 11:52 AM Zhang, Ning A wrote: > > > > Hello everyone > > > > when we need to setup media pipeline, eg, for camera capture, media-ctl > > needs to be called multiple time to setup media

Re: [PATCH] media: vsp1: Fix LIF buffer thresholds

2018-11-22 Thread Kieran Bingham
Hi Laurent, On 22/11/2018 04:17, Laurent Pinchart wrote: > Commit de2bc45c84f7 ("media: vsp1: Update LIF buffer thresholds") > updated the LIF buffer thresholds based on the VSP version, but used the > wrong model mask. This resulted in all VSP instances to be treated as a > Gen3 VSPD, breaking op

Re: Logitech QuickCam USB detected by Linux, but not user space applications

2018-11-22 Thread Hans Verkuil
Hi Paul, On 11/16/2018 03:39 PM, Paul Menzel wrote: > Dear Mauro, > > > Thank you very much for the quick reply. > > > On 11/15/18 12:38, Mauro Carvalho Chehab wrote: >> Em Thu, 15 Nov 2018 11:42:32 +0100 Paul Menzel escreveu: > >>> I tried to get a Logitech QuickCam USB camera working, but u

Re: [PATCH] media: video-i2c: don't use msleep for 1ms - 20ms

2018-11-22 Thread Hans Verkuil
On 11/20/2018 04:27 PM, Akinobu Mita wrote: > Documentation/timers/timers-howto.txt says: > > "msleep(1~20) may not do what the caller intends, and will often sleep > longer (~20 ms actual sleep for any value given in the 1~20ms range)." > > So replace msleep(2) by usleep_range(2000, 3000). Plea

Re: [PATCH v2 3/4] ARM: dts: sun8i: Add the H3/H5 CSI controller

2018-11-22 Thread Chen-Yu Tsai
On Thu, Nov 22, 2018 at 7:45 PM Jagan Teki wrote: > > On Wed, Nov 14, 2018 at 8:29 PM Maxime Ripard > wrote: > > > > From: Mylène Josserand > > > > The H3 and H5 features the same CSI controller that was initially found on > > the A31. > > > > Add a DT node for it. > > > > Signed-off-by: Mylène

[GIT PULL for 4.21] Sensor and CSI driver patches

2018-11-22 Thread Sakari Ailus
Hi Mauro, Here are a bunch of sensor driver improvements as well as a driver for the Allwinner CSI parallel bridge. Finally, a small uAPI documentation fix to better document the metadata capture buffers as well as interaction between frame interval and format. Please pull. The following change

Re: [PATCH v3 03/14] media: ov7670: hook s_power onto v4l2 core

2018-11-22 Thread Sakari Ailus
Hi Lubomir, On Tue, Nov 20, 2018 at 11:03:08AM +0100, Lubomir Rintel wrote: > The commit 71862f63f351 ("media: ov7670: Add the ov7670_s_power function") > added a power control routing. However, it was not good enough to use as > a s_power() callback: it merely flipped on the power GPIOs without >

[GIT FIXES FOR v4.20] Revert "media: dt-bindings: Document the Rockchip VPU bindings"

2018-11-22 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100: media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20n for you to fetch changes up to a91f8d876238

Re: [PATCH v2 3/4] ARM: dts: sun8i: Add the H3/H5 CSI controller

2018-11-22 Thread Jagan Teki
On Wed, Nov 14, 2018 at 8:29 PM Maxime Ripard wrote: > > From: Mylène Josserand > > The H3 and H5 features the same CSI controller that was initially found on > the A31. > > Add a DT node for it. > > Signed-off-by: Mylène Josserand > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sunxi

[PATCH for v4.4] Revert "media: videobuf2-core: don't call memop 'finish' when queueing"

2018-11-22 Thread Hans Verkuil
This reverts commit 46431d9c28f6859f8e568ac7db92137f1da31100. This commit fixes a bug in upstream commit a136f59c0a1f ("vb2: Move buffer cache synchronisation to prepare from queue") which isn't present in 4.4. So as a result you get an UNBALANCED message in the kernel log if this patch is applie

[PATCH for v4.9] Revert "media: videobuf2-core: don't call memop 'finish' when queueing"

2018-11-22 Thread Hans Verkuil
This reverts commit 9ac47200b51cb09d2f15dbefa67e0412741d98aa. This commit fixes a bug in upstream commit a136f59c0a1f ("vb2: Move buffer cache synchronisation to prepare from queue") which isn't present in 4.9. So as a result you get an UNBALANCED message in the kernel log if this patch is applie

Re: [PATCH v2 for v4.4 1/1] v4l: event: Add subscription to list before calling "add" operation

2018-11-22 Thread Sakari Ailus
On Tue, Nov 20, 2018 at 09:21:50AM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 20 Nov 2018 12:49:46 +0200 > Sakari Ailus escreveu: > > > Hi Greg, > > > > On Mon, Nov 19, 2018 at 06:46:21PM +0100, Greg Kroah-Hartman wrote: > > > On Mon, Nov 19, 2018 at 07:03:54PM +0200, Sakari Ailus wrote: >

Re: [PATCH] media: ov2680: fix null dereference at power on

2018-11-22 Thread Sakari Ailus
Hi Rui, On Wed, Nov 21, 2018 at 10:59:55AM +, Rui Miguel Silva wrote: > Swapping the order between v4l2 subdevice registration and checking chip id in > b7a417628abf ("media: ov2680: don't register the v4l2 subdevice before > checking chip ID") > makes the mode restore to use the sensor contr

Re: [GIT PULL FOR v4.21] Add Rockchip VPU JPEG encoder

2018-11-22 Thread Tomasz Figa
On Thu, Nov 22, 2018 at 7:29 PM Hans Verkuil wrote: > > Hi Ezeguiel, > > Just saw Tomasz' in-depth review and decided to drop this pull request. > > He found a few too many issues and I prefer those are addressed first. > > Sorry, still more work for you, on to v11! I'm really sorry for the late

Re: [PATCH v10 3/4] arm64: dts: rockchip: add VPU device node for RK3399

2018-11-22 Thread Tomasz Figa
On Thu, Nov 22, 2018 at 4:58 AM Ezequiel Garcia wrote: > > Add the Video Processing Unit node for the RK3399 SoC. > > Also, fix the VPU IOMMU node, which was disabled and lacking > its power domain property. > > Signed-off-by: Ezequiel Garcia > --- > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 14

Re: [PATCH v10 2/4] ARM: dts: rockchip: add VPU device node for RK3288

2018-11-22 Thread Tomasz Figa
Hi Ezequiel, On Thu, Nov 22, 2018 at 4:17 AM Ezequiel Garcia wrote: > > Add the Video Processing Unit node for RK3288 SoC. > > Fix the VPU IOMMU node, which was disabled and lacking > its power domain property. > > Signed-off-by: Ezequiel Garcia > --- > arch/arm/boot/dts/rk3288.dtsi | 14 ++

Re: [GIT PULL FOR v4.21] Add Rockchip VPU JPEG encoder

2018-11-22 Thread Hans Verkuil
Hi Ezeguiel, Just saw Tomasz' in-depth review and decided to drop this pull request. He found a few too many issues and I prefer those are addressed first. Sorry, still more work for you, on to v11! Regards, Hans On 11/22/2018 10:39 AM, Hans Verkuil wrote: > The following changes sinc

Re: [PATCH v10 4/4] media: add Rockchip VPU JPEG encoder driver

2018-11-22 Thread Tomasz Figa
Hi Ezequiel, On Thu, Nov 22, 2018 at 4:59 AM Ezequiel Garcia wrote: > > Add a mem2mem driver for the VPU available on Rockchip SoCs. > Currently only JPEG encoding is supported, for RK3399 and RK3288 > platforms. > > Signed-off-by: Ezequiel Garcia Sorry for being late to the party. Please see m

[PATCH] dib0900: fix smatch warnings

2018-11-22 Thread Hans Verkuil
drivers/media/dvb-frontends/dib0090.c: drivers/media/dvb-frontends/dib0090.c:1075 dib0090_pwm_gain_reset() warn: '*&bb_ramp_pwm_normal' 2590696709486571520 can't fit into 65535 '*bb_ramp' drivers/media/dvb-frontends/dib0090.c: drivers/media/dvb-frontends/dib0090.c:1083 dib0090_pwm_gain_reset() w

[GIT FIXES FOR v4.20] gspca regression fix

2018-11-22 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100: media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20m for you to fetch changes up to e3e33f1da1e0

Re: [PATCH v8 03/12] media: staging/imx7: add imx7 CSI subdev driver

2018-11-22 Thread Rui Miguel Silva
Hi Sakari, thanks for all the reviews. On Wed 21 Nov 2018 at 22:29, Sakari Ailus wrote: Hi Rui, On Wed, Nov 21, 2018 at 11:15:49AM +, Rui Miguel Silva wrote: This add the media entity subdevice and control driver for the i.MX7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva ---

Re: [PATCH v10 1/4] media: dt-bindings: Document the Rockchip VPU bindings

2018-11-22 Thread Hans Verkuil
On 11/21/2018 08:16 PM, Ezequiel Garcia wrote: > Add devicetree binding documentation for Rockchip Video Processing > Unit IP. > > Reviewed-by: Rob Herring > Signed-off-by: Ezequiel Garcia This one has been merged already. Regards, Hans > --- > .../bindings/media/rockchip-vpu.txt

Re: [PATCH v8 05/12] media: dt-bindings: add bindings for i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Hi Sakari, On Wed 21 Nov 2018 at 22:16, Sakari Ailus wrote: Hi Rui, On Wed, Nov 21, 2018 at 11:15:51AM +, Rui Miguel Silva wrote: Add bindings documentation for i.MX7 media drivers. The imx7 MIPI CSI2 and imx7 CMOS Sensor Interface. Signed-off-by: Rui Miguel Silva Reviewed-by: Rob Herrin

[GIT PULL FOR v4.21] Add Rockchip VPU JPEG encoder

2018-11-22 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100: media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-jpeg for you to fetch changes up to cbf7592cb57ec9

Re: [PATCH v8 00/12] media: staging/imx7: add i.MX7 media driver

2018-11-22 Thread Rui Miguel Silva
Hi Hans, On Wed 21 Nov 2018 at 11:53, Hans Verkuil wrote: On 11/21/2018 12:15 PM, Rui Miguel Silva wrote: Hi, This series introduces the Media driver to work with the i.MX7 SoC. it uses the already existing imx media core drivers but since the i.MX7, contrary to i.MX5/6, do not have an IPU and

Re: [PATCH 1/1] v4l: uAPI doc: Changing frame interval won't change format

2018-11-22 Thread Hans Verkuil
On 11/21/2018 06:33 PM, Sakari Ailus wrote: > Document that changing the frame interval has no effect on frame size. > While this was the assumption in the API, it was not documented as such. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Thanks! Hans > --- > Documentation/m

Re: is it possible to use single IOCTL to setup media pipeline?

2018-11-22 Thread Zhang, Ning A
Tomasz, Thank you for your answers. learned a lot. BR. Ning. 在 2018-11-22四的 16:06 +0900,Tomasz Figa写道: > Hi Ning, > > On Thu, Nov 22, 2018 at 11:52 AM Zhang, Ning A m> wrote: > > > > Hello everyone > > > > when we need to setup media pipeline, eg, for camera capture, > > media-ctl > > needs

Re: [PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-22 Thread Hans Verkuil
On 11/22/2018 04:52 AM, Matt Ranostay wrote: > Add initial support for MLX90640 thermal cameras which output an 32x24 > greyscale pixel image along with 2 rows of coefficent data. > > Because of this the data outputed is really 32x26 and needs the two rows > removed after using the coefficent info

Re: [PATCH v2 8/9] phy: Add Cadence D-PHY support

2018-11-22 Thread Kishon Vijay Abraham I
Hi, On 21/11/18 7:17 PM, Maxime Ripard wrote: > Hi Kishon, > > On Wed, Nov 21, 2018 at 03:59:43PM +0530, Kishon Vijay Abraham I wrote: >> On 21/11/18 3:41 PM, Maxime Ripard wrote: >>> Hi Kishon, >>> >>> On Tue, Nov 20, 2018 at 11:02:34AM +0530, Kishon Vijay Abraham I wrote: >> +static int cdn

Re: [PATCH] media: venus: fix reported size of 0-length buffers

2018-11-22 Thread Alexandre Courbot
On Fri, Nov 16, 2018 at 1:49 AM Nicolas Dufresne wrote: > > Le mercredi 14 novembre 2018 à 13:12 +0900, Alexandre Courbot a écrit : > > On Wed, Nov 14, 2018 at 3:54 AM Nicolas Dufresne > > wrote: > > > > > > > > > Le mar. 13 nov. 2018 04 h 30, Alexandre Courbot a > > > écrit : > > > > The last