Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-06 Thread Tomasz Figa
On Tue, Feb 5, 2019 at 7:35 PM Hans Verkuil wrote: > > On 2/5/19 10:31 AM, Tomasz Figa wrote: > > On Tue, Feb 5, 2019 at 6:00 PM Hans Verkuil wrote: > >> > >> On 2/5/19 7:26 AM, Tomasz Figa wrote: > >>> On Fri, Feb 1, 2019 at 12:18 AM Nicolas Dufresne > >>> wrote: > > Le jeudi 31 janv

[GIT PULL FOR v5.1] staging/imx7: add i.MX7 media driver

2019-02-06 Thread Hans Verkuil
This pull request supersedes https://patchwork.linuxtv.org/patch/54350/ after the kbuild test robot found a small issue that is now fixed in this PR. Regards, Hans The following changes since commit f0ef022c85a899bcc7a1b3a0955c78a3d7109106: media: vim2m: allow setting the default tra

cron job: media_tree daily build: WARNINGS

2019-02-06 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 Feb 7 05:00:12 CET 2019 media-tree git hash:f0ef022c85a899bcc7a1b3a0955c78a3d7109106 media_build git

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-02-06 Thread Vivek Kasireddy
On Wed, 6 Feb 2019 11:46:21 +0100 Hans Verkuil wrote: Hi Hans, > On 2/5/19 3:38 PM, Philipp Zabel wrote: > > Hi Hans, > > > > On Thu, 2019-01-31 at 14:36 +0100, Hans Verkuil wrote: > > [...] > >> > >> Our YUV32 fourcc is defined as follows: > >> > >> https://hverkuil.home.xs4all.nl/spec/uapi/v

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-02-06 Thread Nicolas Dufresne
Le mardi 05 février 2019 à 15:38 +0100, Philipp Zabel a écrit : > Hi Hans, > > On Thu, 2019-01-31 at 14:36 +0100, Hans Verkuil wrote: > [...] > > Our YUV32 fourcc is defined as follows: > > > > https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-packed-yuv.html > > > > As far as I see the forma

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

2019-02-06 Thread Ezequiel Garcia
On Mon, 28 Jan 2019 at 11:53, Maxime Ripard wrote: > > The older CSI drivers have camera capture interface different from the one > in the newer ones. > > This IP is pretty simple. Some variants (one controller out of two > instances on some SoCs) have an ISP embedded, but there's no code that mak

[PATCH v14.1] media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7

2019-02-06 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 --- kbuild-bot: - remove __exit from debugfs_exit to solve tree: git://linuxtv.org/hverkuil/media_tree.git imx7 head: a95edaa9069c275170a9ecf5aedc68be974678a2 commit: 4bb81

[PATCH 1/2] rockchip/vpu: Rename pixel format helpers

2019-02-06 Thread Ezequiel Garcia
The rockchip VPU driver uses generic names for its pixel format helpers. We want to use the same names for generic versions of these helpers, so temporarily rename the rockchip ones, to avoid the name collision. The driver will be switched to the generic helpers later, and the driver helpers will

[PATCH v2 2/2] media: Introduce helpers to fill pixel format structs

2019-02-06 Thread Ezequiel Garcia
Add two new API helpers, v4l2_fill_pixfmt and v4l2_fill_pixfmt_mp, to be used by drivers to calculate plane sizes and bytes per lines. Note that driver-specific padding and alignment are not taken into account, and must be done by drivers using this API. Signed-off-by: Ezequiel Garcia --- This p

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

2019-02-06 Thread Maxime Ripard
Hi Sakari, Thanks for your review, I have a few questions though, and the rest will be addressed in the next version. On Tue, Jan 29, 2019 at 02:39:49PM +0200, Sakari Ailus wrote: > > +static int csi_notify_complete(struct v4l2_async_notifier *notifier) > > +{ > > + struct sun4i_csi *csi = cont

Re: [PATCH] media: Drop superfluous PCM preallocation error checks

2019-02-06 Thread Ezequiel Garcia
On Wed, 6 Feb 2019 at 14:32, Takashi Iwai wrote: > > snd_pcm_lib_preallocate_pages() and co always succeed, so the error > check is simply redundant. Drop it. > > Signed-off-by: Takashi Iwai > --- > > This is a piece I overlooked in the previous patchset: >https://www.spinics.net/lists/alsa-

[PATCH] media: Drop superfluous PCM preallocation error checks

2019-02-06 Thread Takashi Iwai
snd_pcm_lib_preallocate_pages() and co always succeed, so the error check is simply redundant. Drop it. Signed-off-by: Takashi Iwai --- This is a piece I overlooked in the previous patchset: https://www.spinics.net/lists/alsa-devel/msg87223.html Media people, please give ACK if this is OK.

[GIT PULL FOR v5.1] staging/imx7: add i.MX7 media driver

2019-02-06 Thread Hans Verkuil
The following changes since commit f0ef022c85a899bcc7a1b3a0955c78a3d7109106: media: vim2m: allow setting the default transaction time via parameter (2019-01-31 17:17:08 -0200) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-imx7 for you to fetch ch

Re: [PATCH 01/10] media: Introduce helpers to fill pixel format structs

2019-02-06 Thread Hans Verkuil
On 2/6/19 5:22 PM, Ezequiel Garcia wrote: > On Wed, 2019-02-06 at 11:43 +0100, Hans Verkuil wrote: >> Hi Ezequiel, >> >> A quick review below. This looks really useful, BTW. >> >> On 2/5/19 9:24 PM, Ezequiel Garcia wrote: >>> Add two new API helpers, v4l2_fill_pixfmt and v4l2_fill_pixfmt_mp, >>> to

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-06 Thread Tim Harvey
On Tue, Feb 5, 2019 at 3:54 PM Steve Longerbeam wrote: > > > > On 2/5/19 11:16 AM, Tim Harvey wrote: > > On Sat, Feb 2, 2019 at 11:10 AM Steve Longerbeam > > wrote: > > > > > >> The *real* way to fix this would be to allow programmable encodings in > >> ipu-ic.c. But unfortunately the encodings

Re: [PATCH 01/10] media: Introduce helpers to fill pixel format structs

2019-02-06 Thread Ezequiel Garcia
On Wed, 2019-02-06 at 11:43 +0100, Hans Verkuil wrote: > Hi Ezequiel, > > A quick review below. This looks really useful, BTW. > > On 2/5/19 9:24 PM, Ezequiel Garcia wrote: > > Add two new API helpers, v4l2_fill_pixfmt and v4l2_fill_pixfmt_mp, > > to be used by drivers to calculate plane sizes an

[PATCH v14.1] media: staging/imx: refactor imx media device probe

2019-02-06 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 --- v14->v14.1: - Fix SPDX in dev-common drivers/staging/me

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

2019-02-06 Thread Hans Verkuil
On 2/6/19 4:13 PM, Rui Miguel Silva wrote: > 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 > --- > d

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

2019-02-06 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 Acked-by: Sakari Ailus --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3e211916d2bc..d8e0c9040736 100644

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

2019-02-06 Thread Rui Miguel Silva
Add some i.MX7 related entries to TODO file. Signed-off-by: Rui Miguel Silva Acked-by: Sakari Ailus --- 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 10

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

2019-02-06 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 | 1186 2 files changed, 1187 insertions(+) create mode

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

2019-02-06 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 Acked-by: Sakari Ailus --- Documentation/media/v4l-drivers/imx7.rst | 159 ++ Documentation/media/v4l-drivers/inde

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

2019-02-06 Thread Rui Miguel Silva
Add non vendor bayer formats to the allowed format array. Signed-off-by: Rui Miguel Silva Reviewed-by: Philipp Zabel Acked-by: Sakari Ailus --- drivers/media/platform/video-mux.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/video-mux.c b/dr

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

2019-02-06 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 v14 07/13] ARM: dts: imx7s: add multiplexer controls

2019-02-06 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 v14 04/13] media: staging/imx7: add imx7 CSI subdev driver

2019-02-06 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 Acked-by: Sakari Ailus --- drivers/staging/media/imx/Kconfig |9 +- drivers/staging/media/imx/Makefile |2 + drivers/staging/media/imx/imx7-media-

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

2019-02-06 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 v14 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2019-02-06 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 v14 00/13] media: staging/imx7: add i.MX7 media driver

2019-02-06 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

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

2019-02-06 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 v14 02/13] media: staging/imx: rearrange group id to take in account IPU

2019-02-06 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 v14 06/13] ARM: dts: imx7s: add mipi phy power domain

2019-02-06 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

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

2019-02-06 Thread Rui Miguel Silva
Hi Hans, On Wed 06 Feb 2019 at 10:54, Hans Verkuil wrote: On 2/6/19 11:25 AM, Rui Miguel Silva wrote: 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 Acked-by: Sakari Ailus Check

Re: [PATCH v2 00/13] media: mt9m001: switch soc_mt9m001 to a standard subdev sensor driver

2019-02-06 Thread Sakari Ailus
On Tue, Feb 05, 2019 at 10:39:56PM +0900, Akinobu Mita wrote: > 2019年2月4日(月) 18:06 Sakari Ailus : > > > > Hi Mita-san, > > > > On Tue, Jan 08, 2019 at 11:51:37PM +0900, Akinobu Mita wrote: > > > This patchset converts soc_camera mt9m001 driver to a standard subdev > > > sensor driver. > > > > > > *

Re: [PATCH v3 2/2] media: atmel-isc: Update device tree binding documentation

2019-02-06 Thread sakari.ai...@iki.fi
On Mon, Feb 04, 2019 at 02:18:14PM +, Ken Sloat wrote: > From: Ken Sloat > > Update device tree binding documentation specifying how to > enable BT656 with CRC decoding and specify properties for > default parallel bus type. > > Signed-off-by: Ken Sloat The patch looks nice; I'll just wait

Re: [PATCH v3 1/2] media: atmel-isc: Add support for BT656 with CRC decoding

2019-02-06 Thread sakari.ai...@iki.fi
Hi Ken, Thanks for the update. On Mon, Feb 04, 2019 at 02:18:13PM +, Ken Sloat wrote: > From: Ken Sloat > > The ISC driver currently supports ITU-R 601 encoding which > utilizes the external hysync and vsync signals. ITU-R 656 > format removes the need for these pins by embedding the > sync

Re: [PATCH v5 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-02-06 Thread Kishon Vijay Abraham I
Hi, On 06/02/19 5:55 PM, Maxime Ripard wrote: > Hi Kishon, > > On Wed, Feb 06, 2019 at 05:43:12PM +0530, Kishon Vijay Abraham I wrote: >> On 05/02/19 2:16 PM, Daniel Vetter wrote: >>> On Mon, Feb 04, 2019 at 03:33:31PM +0530, Kishon Vijay Abraham I wrote: On 21/01/19 9:15 PM, Maxim

Re: [PATCH v5 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-02-06 Thread Maxime Ripard
Hi Kishon, On Wed, Feb 06, 2019 at 05:43:12PM +0530, Kishon Vijay Abraham I wrote: > On 05/02/19 2:16 PM, Daniel Vetter wrote: > > On Mon, Feb 04, 2019 at 03:33:31PM +0530, Kishon Vijay Abraham I wrote: > >> > >> > >> On 21/01/19 9:15 PM, Maxime Ripard wrote: > >>> Hi, > >>> > >>> Here is a set of

Re: [PATCH v5 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-02-06 Thread Kishon Vijay Abraham I
Hi, On 05/02/19 2:16 PM, Daniel Vetter wrote: > On Mon, Feb 04, 2019 at 03:33:31PM +0530, Kishon Vijay Abraham I wrote: >> >> >> On 21/01/19 9:15 PM, Maxime Ripard wrote: >>> Hi, >>> >>> Here is a set of patches to allow the phy framework consumers to test and >>> apply runtime configurations. >>>

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

2019-02-06 Thread Hans Verkuil
On 2/6/19 11:25 AM, Rui Miguel Silva wrote: > 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 > Acked-by: Sakari Ailus Checkpatch gives me: Applying: media: imx7.rst: add docum

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-02-06 Thread Hans Verkuil
On 2/5/19 3:38 PM, Philipp Zabel wrote: > Hi Hans, > > On Thu, 2019-01-31 at 14:36 +0100, Hans Verkuil wrote: > [...] >> >> Our YUV32 fourcc is defined as follows: >> >> https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-packed-yuv.html >> >> As far as I see the format that the TPG generates is

Re: [PATCH 01/10] media: Introduce helpers to fill pixel format structs

2019-02-06 Thread Hans Verkuil
Hi Ezequiel, A quick review below. This looks really useful, BTW. On 2/5/19 9:24 PM, Ezequiel Garcia wrote: > Add two new API helpers, v4l2_fill_pixfmt and v4l2_fill_pixfmt_mp, > to be used by drivers to calculate plane sizes and bytes per lines. > > Note that driver-specific paddig and alignmen

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

2019-02-06 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 v13 08/13] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections

2019-02-06 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 v13 10/13] media: imx7.rst: add documentation for i.MX7 media driver

2019-02-06 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 Acked-by: Sakari Ailus --- Documentation/media/v4l-drivers/imx7.rst | 157 ++ Documentation/media/v4l-drivers/inde

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

2019-02-06 Thread Rui Miguel Silva
Add non vendor bayer formats to the allowed format array. Signed-off-by: Rui Miguel Silva Reviewed-by: Philipp Zabel Acked-by: Sakari Ailus --- drivers/media/platform/video-mux.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/platform/video-mux.c b/dr

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

2019-02-06 Thread Rui Miguel Silva
Add some i.MX7 related entries to TODO file. Signed-off-by: Rui Miguel Silva Acked-by: Sakari Ailus --- 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 10

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

2019-02-06 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 Acked-by: Sakari Ailus --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3e211916d2bc..d8e0c9040736 100644

[PATCH v13 04/13] media: staging/imx7: add imx7 CSI subdev driver

2019-02-06 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 Acked-by: Sakari Ailus --- drivers/staging/media/imx/Kconfig |9 +- drivers/staging/media/imx/Makefile |2 + drivers/staging/media/imx/imx7-media-

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

2019-02-06 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 v13 05/13] media: staging/imx7: add MIPI CSI-2 receiver subdev for i.MX7

2019-02-06 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 | 1186 2 files changed, 1187 insertions(+) create mode

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

2019-02-06 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 v13 02/13] media: staging/imx: rearrange group id to take in account IPU

2019-02-06 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 v13 00/13] media: staging/imx7: add i.MX7 media driver

2019-02-06 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

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

2019-02-06 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 v13 01/13] media: staging/imx: refactor imx media device probe

2019-02-06 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 + drivers/