Hello,
This is the first version of the RFC patch series adding Sensor
Inferface(seninf) driver on
Mediatek mt8183 SoC, which will be used in camera features on CrOS application.
It belongs to the first Mediatek's camera driver series based on V4L2 and media
controller framework.
I posted the ma
This patch adds KConfig for sensor interface driver. Sensor interface driver
is a MIPI-CSI2 host driver, namely, a HW camera interface controller.
It support a widely adopted, simple, high-speed protocol primarily intended
for point-to-point image and video transmission between cameras and host
dev
This patch adds the DT binding documentation for the sensor interface
module in Mediatek SoCs.
Signed-off-by: Louis Kuo
---
.../devicetree/bindings/media/mediatek-seninf.txt | 52 ++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media
This patch adds Mediatek's sensor interface driver. Sensor interface driver
is a MIPI-CSI2 host driver, namely, a HW camera interface controller.
It support a widely adopted, simple, high-speed protocol primarily intended
for point-to-point image and video transmission between cameras and host
devi
Add nodes for Mediatek's sensor interface device. Sensor interface module
embedded in Mediatek SOCs, works as a HW camera interface controller
intended for image and data transmission between cameras and host devices.
Signed-off-by: Louis Kuo
---
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 34 +++
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 21 05:00:17 CET 2019
media-tree git hash:9fabe1d108ca4755a880de43f751f1c054f8894d
media_build git
Hi Ira,
On Wed, Feb 20, 2019 at 11:01 AM wrote:
>
> From: Ira Weiny
>
> To facilitate additional options to get_user_pages_fast() change the
> singular write parameter to be gup_flags.
>
> This patch does not change any functionality. New functionality will
> follow in subsequent patches.
>
> S
On Fri, Feb 15, 2019 at 8:06 AM Souptick Joarder wrote:
>
> Previouly drivers have their own way of mapping range of
> kernel pages/memory into user vma and this was done by
> invoking vm_insert_page() within a loop.
>
> As this pattern is common across different drivers, it can
> be generalized b
Remove including that don't need it.
Signed-off-by: YueHaibing
---
drivers/media/rc/ir-rcmm-decoder.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/rc/ir-rcmm-decoder.c
b/drivers/media/rc/ir-rcmm-decoder.c
index f1096ac1e5c5..64fb65a9a19f 100644
--- a/drivers/media/rc/ir-rcm
On i.MX6, the nearest upstream entity to the CSI can only be the
CSI video muxes or the Synopsys DW MIPI CSI-2 receiver.
However the i.MX53 has no CSI video muxes or a MIPI CSI-2 receiver.
So allow for the nearest upstream entity to the CSI to be something
other than those.
Fixes: bf3cfaa712e5c (
In imx_media_create_csi_of_links(), the 'struct v4l2_fwnode_link' must
be cleared for each endpoint iteration, otherwise if the remote port
has no "reg" property, link.remote_port will not be reset to zero.
This was discovered on the i.MX53 SMD board, since the OV5642 connects
directly to ipu1_csi0
For the functions that add and remove the internal IPU subdevice
descriptors, rename them to make clear they are the subdevs internal
to the IPU. Also rename the platform data structure for the internal
IPU subdevices. No functional changes.
Signed-off-by: Steve Longerbeam
Acked-by: Philipp Zabel
The second IPU internal sub-devices were being registered and links
to them created even when the second IPU is not present. This is wrong
for i.MX6 S/DL and i.MX53 which have only a single IPU.
Fixes: e130291212df5 ("[media] media: Add i.MX media core driver")
Signed-off-by: Steve Longerbeam
Re
Some fixes and improvements to support video capture on i.MX5.
History:
v2:
- Rebased with merge of imx7 capture patches.
Steve Longerbeam (4):
media: imx: csi: Allow unknown nearest upstream entities
media: imx: Clear fwnode link struct for each endpoint iteration
media: imx: Rename functi
This patch add support for Avermedia TD310 usb stik.
Signed-off-by: Jose Alberto Reguero
diff -upr linux/drivers/media/usb/dvb-usb-v2/af9035.c
linux.new/drivers/media/usb/dvb-usb-v2/af9035.c
--- linux/drivers/media/usb/dvb-usb-v2/af9035.c 2019-02-20 16:54:24.121847069
+0100
+++ linux.new/dri
This patch init i2c in it930x_frontend_attach instead of it930x_tuner_attach.
From: Andreas Kemnade
Signed-off-by: Jose Alberto Reguero
diff -upr linux/drivers/media/usb/dvb-usb-v2/af9035.c
linux.new/drivers/media/usb/dvb-usb-v2/af9035.c
--- linux/drivers/media/usb/dvb-usb-v2/af9035.c 2018-09
This serie add support for Avermedia TD310 usb stik.
Jose Alberto Reguero
--
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi
brevedad.
On Wed, Feb 20, 2019 at 05:19:49PM +0200, Laurent Pinchart wrote:
> Hello,
>
> This small series fixes issues in yavta reported during the review of
> the compound control support patches.
>
> Laurent Pinchart (3):
> Fix emulation of old API for string controls
> Print numerical control type
Hi Laurent,
On Wed, Feb 20, 2019 at 02:51:16PM +0200, Laurent Pinchart wrote:
> Hello,
>
> This patch series implements support for compound controls in yavta,
> including the ability to reset controls to their default value. Only
> array compound controls are supported for now, other types may b
Hi Laurent,
On Wed, Feb 20, 2019 at 02:51:22PM +0200, Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart
> ---
> yavta.c | 25 +
> 1 file changed, 25 insertions(+)
>
> diff --git a/yavta.c b/yavta.c
> index 1490878c6f7e..2d49131a4271 100644
> --- a/yavta.c
> +++ b
Hi Laurent,
On Wed, Feb 20, 2019 at 02:51:20PM +0200, Laurent Pinchart wrote:
> Only arrays of integer types are supported.
>
> Signed-off-by: Laurent Pinchart
> ---
> yavta.c | 228 ++--
> 1 file changed, 172 insertions(+), 56 deletions(-)
>
Hi Laurent,
On Wed, Feb 20, 2019 at 04:55:06PM +0200, Laurent Pinchart wrote:
> Hi Sakari,
>
> On Wed, Feb 20, 2019 at 04:06:43PM +0200, Sakari Ailus wrote:
> > On Wed, Feb 20, 2019 at 02:51:19PM +0200, Laurent Pinchart wrote:
> > > Signed-off-by: Laurent Pinchart
> > > ---
> > > yavta.c | 154
Hi Ira
Martin and I looked at your patch and agree that it doesn't change
functionality for Orangefs.
Reviewed-by: Mike Marshall
On Wed, Feb 20, 2019 at 12:32 AM wrote:
>
> From: Ira Weiny
>
> To facilitate additional options to get_user_pages_fast() change the
> singular write parameter to
On Wed, Feb 20, 2019 at 07:19:30AM -0800, Christoph Hellwig wrote:
> On Tue, Feb 19, 2019 at 09:30:33PM -0800, ira.we...@intel.com wrote:
> > From: Ira Weiny
> >
> > Resending these as I had only 1 minor comment which I believe we have
> > covered
> > in this series. I was anticipating these go
Hi!
I really wanted to do another review on previous series but got distracted by
analyzing one particulary troublesome H264 sample. It still doesn't work
correctly, so I would ask you if you can test it with your stack (it might be
userspace issue):
http://jernej.libreelec.tv/videos/problemat
On Tue, Feb 19, 2019 at 09:30:33PM -0800, ira.we...@intel.com wrote:
> From: Ira Weiny
>
> Resending these as I had only 1 minor comment which I believe we have covered
> in this series. I was anticipating these going through the mm tree as they
> depend on a cleanup patch there and the IB chang
For kernel versions that didn't define the V4L2_CTRL_FLAG_HAS_PAYLOAD
flag, commits 2f146567186f ("Implement compound control get support")
and 4480b561404f ("Implement compound control set support") broke string
control support. Fix this by emulating the V4L2_CTRL_FLAG_HAS_PAYLOAD
and compound con
Commit 4480b561404f ("Implement compound control set support") didn't
properly parse control array values. Fix it.
Fixes: 4480b561404f ("Implement compound control set support")
Signed-off-by: Laurent Pinchart
---
yavta.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/y
Help diagnosing problems by reporting the type of unsupported control
types instead of just printing "unsupported".
Signed-off-by: Laurent Pinchart
---
yavta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yavta.c b/yavta.c
index 7d9c40c9f9be..86447f3f057d 100644
--- a/yavt
Hello,
This small series fixes issues in yavta reported during the review of
the compound control support patches.
Laurent Pinchart (3):
Fix emulation of old API for string controls
Print numerical control type for unsupported types
Fix control array parsing
yavta.c | 13 ++---
1
Hi Sakari,
On Wed, Feb 20, 2019 at 04:06:43PM +0200, Sakari Ailus wrote:
> On Wed, Feb 20, 2019 at 02:51:19PM +0200, Laurent Pinchart wrote:
> > Signed-off-by: Laurent Pinchart
> > ---
> > yavta.c | 154 ++--
> > 1 file changed, 115 insertions(
From: Pawel Osciak
Stateless video codecs will require both the H264 metadata and slices in
order to be able to decode frames.
This introduces the definitions for a new pixel format for H264 slices that
have been parsed, as well as the structures used to pass the metadata from
the userspace to t
Introduce some basic H264 decoding support in cedrus. So far, only the
baseline profile videos have been tested, and some more advanced features
used in higher profiles are not even implemented.
Signed-off-by: Maxime Ripard
---
drivers/staging/media/sunxi/cedrus/Makefile | 3 +-
drivers/
Hi,
Here is a new version of the H264 decoding support in the cedrus
driver.
As you might already know, the cedrus driver relies on the Request
API, and is a reverse engineered driver for the video decoding engine
found on the Allwinner SoCs.
This work has been possible thanks to the work done b
Hi Laurent,
On Wed, Feb 20, 2019 at 04:07:53PM +0200, Laurent Pinchart wrote:
> Hi Sakari,
>
> On Wed, Feb 20, 2019 at 03:21:57PM +0200, Sakari Ailus wrote:
> > On Wed, Feb 20, 2019 at 02:51:17PM +0200, Laurent Pinchart wrote:
> > > Separate iteration over controls from printing, in order to reus
Hi Sakari,
On Wed, Feb 20, 2019 at 03:21:57PM +0200, Sakari Ailus wrote:
> On Wed, Feb 20, 2019 at 02:51:17PM +0200, Laurent Pinchart wrote:
> > Separate iteration over controls from printing, in order to reuse the
> > iteration to implement control reset.
> >
> > Signed-off-by: Laurent Pinchart
Hi Laurent,
On Wed, Feb 20, 2019 at 02:51:19PM +0200, Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart
> ---
> yavta.c | 154 ++--
> 1 file changed, 115 insertions(+), 39 deletions(-)
>
> diff --git a/yavta.c b/yavta.c
> index eb50d59
Hi Hans,
On Tue, Feb 05, 2019 at 02:49:45PM +0100, Hans Verkuil wrote:
> This patch adds an extended version of VIDIOC_DQEVENT that:
>
> 1) is Y2038 safe by using a __u64 for the timestamp
> 2) needs no compat32 conversion code
> 3) is able to handle control events from 64-bit control types
>
Hi Laurent,
Thanks for the patchset.
On Wed, Feb 20, 2019 at 02:51:17PM +0200, Laurent Pinchart wrote:
> Separate iteration over controls from printing, in order to reuse the
> iteration to implement control reset.
>
> Signed-off-by: Laurent Pinchart
> ---
> yavta.c | 133 +
On Wed, Feb 20, 2019 at 01:49:28PM +0100, Jose Alberto Reguero wrote:
> El 20 de febrero de 2019 10:37:15 CET, Sean Young escribió:
> >On Tue, Feb 19, 2019 at 11:51:25PM +0100, Jose Alberto Reguero wrote:
> >> El 19 de febrero de 2019 22:57:31 CET, Sean Young
> >escribió:
> >> >On Mon, Feb 11, 20
Signed-off-by: Laurent Pinchart
---
yavta.c | 154 ++--
1 file changed, 115 insertions(+), 39 deletions(-)
diff --git a/yavta.c b/yavta.c
index eb50d592736f..6428c22f88d7 100644
--- a/yavta.c
+++ b/yavta.c
@@ -529,6 +529,7 @@ static int get_con
Use the new extended control query ioctl when available with an
automatic fall back to VIDIOC_QUERYCTRL.
Signed-off-by: Laurent Pinchart
---
yavta.c | 63 +++--
1 file changed, 48 insertions(+), 15 deletions(-)
diff --git a/yavta.c b/yavta.c
i
Only arrays of integer types are supported.
Signed-off-by: Laurent Pinchart
---
yavta.c | 228 ++--
1 file changed, 172 insertions(+), 56 deletions(-)
diff --git a/yavta.c b/yavta.c
index 6428c22f88d7..d1bfd380c03b 100644
--- a/yavta.c
+++ b/y
Separate iteration over controls from printing, in order to reuse the
iteration to implement control reset.
Signed-off-by: Laurent Pinchart
---
yavta.c | 133 ++--
1 file changed, 82 insertions(+), 51 deletions(-)
diff --git a/yavta.c b/yavta.
From: Kieran Bingham
Provide a new option '--reset-controls' which will enumerate the
available controls on a device or sub-device, and re-initialise them to
defaults.
Signed-off-by: Kieran Bingham
Signed-off-by: Laurent Pinchart
---
yavta.c | 62 ++
Hello,
This patch series implements support for compound controls in yavta,
including the ability to reset controls to their default value. Only
array compound controls are supported for now, other types may be added
later.
The patches have lived out of the master branch for long enough, it's
tim
Signed-off-by: Laurent Pinchart
---
yavta.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/yavta.c b/yavta.c
index 1490878c6f7e..2d49131a4271 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1334,6 +1334,31 @@ static int video_parse_control_array(const struct
v4l2_query_ext
As we include a copy of the V4L2 kernel headers, there's no need for
conditional compilation to support old versions of the API.
Signed-off-by: Laurent Pinchart
---
yavta.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/yavta.c b/yavta.c
index 2d49131a4271..741df82a8db0 100644
-
El 20 de febrero de 2019 10:37:15 CET, Sean Young escribió:
>On Tue, Feb 19, 2019 at 11:51:25PM +0100, Jose Alberto Reguero wrote:
>> El 19 de febrero de 2019 22:57:31 CET, Sean Young
>escribió:
>> >On Mon, Feb 11, 2019 at 11:13:25PM +0100, Jose Alberto Reguero
>wrote:
>> >> This patch add suppor
tree/branch: git://git.ragnatech.se/linux media-tree
branch HEAD: 9fabe1d108ca4755a880de43f751f1c054f8894d media: ipu3-mmu: fix
some kernel-doc macros
elapsed time: 383m
configs tested: 140
The following configs have been built successfully.
More configs may be tested in the coming days.
par
Hi Hans,
On Wed 20 Feb 2019 at 08:56, Hans Verkuil wrote:
On 2/6/19 4:13 PM, Rui Miguel Silva wrote:
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/
Hi Hans,
Thanks for the patch.
On Wed 20 Feb 2019 at 08:59, Hans Verkuil wrote:
Fixes this smatch error:
drivers/staging/media/imx/imx7-mipi-csis.c:716
mipi_csis_set_fmt() error: we previously assumed 'fmt' could
beor null (see line 709)
fmt is never NULL, so remove the 'fmt &&' condition.
Oi Mauro,
On Tue 19 Feb 2019 at 13:24, Mauro Carvalho Chehab wrote:
drivers/staging/media/imx/imx7-media-csi.c: In function
'imx7_csi_enum_mbus_code':
drivers/staging/media/imx/imx7-media-csi.c:926:33:
warning: variable 'in_cc' set but not used
[-Wunused-but-set-variable]
const str
Oi Mauro,
On Tue 19 Feb 2019 at 13:24, Mauro Carvalho Chehab wrote:
if imx7_csi_try_fmt() fails, outcc variable won't be
initialized and csi->cc[IMX7_CSI_PAD_SRC] would be pointing
to a random location.
Signed-off-by: Mauro Carvalho Chehab
Thanks for this, looks good.
Reviewed-by: Rui Miguel
Hi Mauro, Hans,
This set addresses most of the compiler / checker warnings from the ImgU
driver. There are a few about stack usage from the compiler left but those
were not trivial to address so I postponed that. There are also a few
about memset but Hans suggested addressing that by increasing th
Address C compiler, sparse and smatch warnings and little style issues in
the IMGU MMU code.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/ipu3/ipu3-mmu.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/media/ipu3/i
This reverts commit 0bdfc56c13c0ffe003f28395fcde2cd9b5ea0622.
The original patch suppressed compiler and checker warnings and those
warnings have been addressed. Do not attempt to suppress these warnings
anymore.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/ipu3/Makefile | 6 --
dr
Remove redundant checks for less than zero on unsigned variables.
Signed-off-by: Sakari Ailus
---
drivers/staging/media/ipu3/ipu3-css-fw.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/media/ipu3/ipu3-css-fw.c
b/drivers/staging/media/ipu3/ipu3-css-fw.
__aligned() is preferred. The patch has been generated using the following
command in the drivers/staging/media/ipu3 directory:
$ git grep -l 'aligned(32)' | \
xargs perl -i -pe \
's/__attribute__\s*\(\(\s*aligned\s*\(([0-9]+)\s*\)\s*\)\)/__aligned($1)/g;'
Signed-off-by: Sakari A
struct ipu3_uapi_awb_fr_config_s is labelled as to be aligned to 32 bytes
but that's not the case in the ISP parameter struct of the driver, struct
ipu3_uapi_acc_param which is packed.
Also there is no need for the alignment as the struct is only handled by the
driver. Remove the alignment from th
On Mon, Feb 18, 2019 at 09:59:36PM +, Jonas Karlman wrote:
> This RC map is based on remote key schema at [1], the mouse button key
> did not have an obvious target and was mapped to KEY_CONTEXT_MENU.
How about BTN_LEFT ?
Thanks,
Sean
>
> [1] http://files.pine64.org/doc/Pine%20A64%20Schema
Hello,
I am working on a driver for sony sensors that output sublvds, but that
must be connected to a processor expecting mipi csi-2.
We use a Lattice lif-md6000 fpga for that purpose, but unfortunately
the conversion is not transparent. The fpga must be instructed to
know the bpp and line-lengt
On Tue, Feb 19, 2019 at 11:51:25PM +0100, Jose Alberto Reguero wrote:
> El 19 de febrero de 2019 22:57:31 CET, Sean Young escribió:
> >On Mon, Feb 11, 2019 at 11:13:25PM +0100, Jose Alberto Reguero wrote:
> >> This patch add support for Avermedia TD310 usb stik.
> >> This patch must be aplied afte
tree: git://git.ragnatech.se/linux media-tree
head: 9fabe1d108ca4755a880de43f751f1c054f8894d
commit: 05f634040c0d05f59f2dcd39722157cb3b57c85b [306/317] media: staging/imx7:
add imx7 CSI subdev driver
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 8.2.0-11) 8.
Fixes this smatch error:
drivers/staging/media/imx/imx7-mipi-csis.c:716 mipi_csis_set_fmt() error: we
previously assumed 'fmt' could be null (see line 709)
fmt is never NULL, so remove the 'fmt &&' condition.
Signed-off-by: Hans Verkuil
---
diff --git a/drivers/staging/media/imx/imx7-mipi-csis
On 2/6/19 4:13 PM, Rui Miguel Silva wrote:
> 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 ++
On 2/20/19 7:53 AM, Tomasz Figa wrote:
> On Thu, Feb 7, 2019 at 1:36 AM Hans Verkuil wrote:
>>
>> 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/1
Hi Moritz,
On Wed, 20 Feb 2019, Moritz Dötterl wrote:
> Hi Kieran
>
>
> Thank you very much for your explanation.
>
> At least in the setup we are using every /dev/video device is a capture
> device.
>
> Wouldn't it be good to have that configurable with a module parameter?
I don't think it
68 matches
Mail list logo