From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/vim2m.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/vim2m.c b/drivers/me
From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/Kconfig | 2 +-
drivers/media/platform/rcar-vin/rcar-core.c | 1 +
2 files changed, 2 insertions(+), 1 delet
From: Ulrich Hecht <ulrich.hecht+rene...@gmail.com>
Adds ioctls DV_TIMINGS_CAP, ENUM_DV_TIMINGS, G_DV_TIMINGS, S_DV_TIMINGS,
and QUERY_DV_TIMINGS.
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.s
From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
These are present in the soc-camera version of this driver and it's time
to add them to this driver as well.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rca
From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
Add the register needed to work with Gen3 hardware. This patch just adds
the logic for how to work with the Gen3 hardware. More work is required
to enable the subdevice structure needed to support capturing.
Signed-off-by:
From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
This is done to prepare for Gen3 support where there are more than one
subdevice and the usage of them are complex. There is a need to be able
to change which subdevices are involved in capturing during runtime (but
not
From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
Hi,
This series enable Gen3 support for the rcar-vin driver. It is based on
top of the media_tree:
git://linuxtv.org/media_tree.git master
And it depends on the first rcar-vin patch at which I hope soon will
enter the medi
ewrite]
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 16
drivers/media/platform/rcar-vin/rcar-vin.h | 2 ++
2 files changed, 18 inser
lor <rob.tay...@codethink.co.uk>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
[uli: adapted to rcar-vin rewrite]
Signed-off-by: Ulrich Hecht <ulrich.hecht+rene...@gmail.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vi
Hi Sergei,
On 2016-05-25 22:36:02 +0300, Sergei Shtylyov wrote:
> On 05/25/2016 10:10 PM, Niklas Söderlund wrote:
>
> > From: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
> >
> > These are present in the soc-camera version of this driver and it's time
from struct
v4l2_subdev_video_ops to struct v4l2_subdev_pad_ops. It also updates all
users of s_stream to use the new function with pad number 0.
Suggested-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
);
@@
expression e1, e2;
symbol video, pad, s_stream;
@@
-cx25840_call(e1, video, s_stream, e2);
+cx25840_call(e1, pad, s_stream, 0, e2);
>>>>cut<<<<
Niklas Söderlund (2):
[media] v4l: vsp1: Split pad operations between rpf and wpf
[media] v4l: subdev: move s_stream from
ed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/vsp1/vsp1_rpf.c | 12 +-
drivers/media/platform/vsp1/vsp1_rwpf.c | 40 +
drivers/media/platform/vsp1/vsp1_rwpf.h | 20 +
drivers/media/p
to grab video (rcar-vin for Gen3, rcar-cis2 and
adv7482).
https://git.ragnatech.se/linux rcar-vin-gen3
Niklas Söderlund (1):
[media] rcar-csi2: add Renesas R-Car MIPI CSI-2 driver
.../devicetree/bindings/media/rcar-csi2.txt| 79 +++
drivers/media/platform/rcar-vin/Kconfig
A V4L2 driver for Renesas R-Car MIPI CSI-2 interface. The driver
supports the rcar-vin driver on R-Car Gen3 SoCs where a separate driver
is needed to receive CSI-2.
Driver is based on a prototype by Koji Matsuoka in the Renesas BSP.
Signed-off-by: Niklas Söderlund <niklas.soderlund+r
This patch adds basic support for the ADV7482. It can output the HDMI
source on the TXA sink and any AIN source on the TXB sink.
Driver is based on a prototype by Koji Matsuoka in the Renesas BSP.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
.../devi
com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
include/media/media-entity.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index cbb266f..c4b2dca 100644
--- a/include/media/media-entity.h
+
: entity: Add has_route entity operation
Niklas Söderlund (1):
[media] i2c: adv7482: add adv7482 driver
.../devicetree/bindings/media/i2c/adv7482.txt | 62 +
drivers/media/i2c/Kconfig | 10 +
drivers/media/i2c/Makefile |1 +
drivers
NV16 are two-plane versions of the YUV 4:2:2 format (V4L2_PIX_FMT_YUVU).
Support it by merging the two planes into a one YUVU plane and falling
through to the V4L2_PIX_FMT_YUVU code path.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
I'm sorry this is
On 2016-03-11 12:16:30 +0100, Hans Verkuil wrote:
> On 03/11/2016 12:03 PM, Niklas Söderlund wrote:
> > Hi Hans,
> >
> > On 2016-03-11 09:26:48 +0100, Hans Verkuil wrote:
> >> Hi Niklas,
> >>
> >> On 02/29/2016 10:52 AM, Hans Verkuil wrote:
> >
On 2016-03-11 22:04:17 +0100, Hans Verkuil wrote:
> On 03/11/2016 09:55 PM, Niklas Söderlund wrote:
> > On 2016-03-11 12:16:30 +0100, Hans Verkuil wrote:
> >> On 03/11/2016 12:03 PM, Niklas Söderlund wrote:
> >>> Hi Hans,
> >>>
> >>> On 20
NV16 and NV61 are two-plane versions of the YUV 4:2:2 formats YUYV and
YVYU. Support both formats by merging the two planes into a one and
falling through to the V4L2_PIX_FMT_{YUYV,YVYU} code path.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
I'm
AULT;
>
> - ret = ops->vidioc_g_selection(file, fh, );
> - if (ret)
> - return ret;
> - p->defrect = s.r;
> - }
> + ret = ops->vidioc_g_selection(file, fh, );
> + if (ret)
> + re
either, or more accurate I get the same output broken
rendering in qv4l2. What would you say is better drop NV16 support form
the driver or keep it as is since it is compatible with the soc_camera
drivers implementation? I would like to keep it in the driver for now
since it at least works as
On 2016-03-14 13:52:17 +0100, Hans Verkuil wrote:
> On 03/14/2016 01:42 PM, Niklas Söderlund wrote:
> > Hi Hans,
> >
> > On 2016-02-29 11:16:39 +0100, Hans Verkuil wrote:
> >> From: Hans Verkuil <hans.verk...@cisco.com>
> >>
> >> Instead o
Reviewed-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
On 2016-02-29 11:16:40 +0100, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verk...@cisco.com>
>
> If cropcap is implemented, then call it first to fill in the pixel
> aspect ratio. Don't return i
A V4L2 driver for Renesas R-Car VIN driver that do not depend on
soc_camera. The driver is heavily based on its predecessor and aims to
replace it.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
The driver is tested on Koelsch and can do streaming using
; >>
> >> Yoshihiko Mori (1):
> >> media: soc_camera: rcar_vin: Add UDS support
> >>
> >> drivers/media/platform/soc_camera/rcar_vin.c | 220
> >> ++-
> >> 1 file changed, 184 insertions(+), 36 deletions(-)
> >>
> >
--
Regards,
Niklas Söderlund
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
A V4L2 driver for Renesas R-Car VIN driver that do not depend on
soc_camera. The driver is heavily based on its predecessor and aims to
replace it.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
The driver is tested on Koelsch and can do streaming using
this series.
Niklas Söderlund (3):
[media] adv7180: Add g_std operation
[media] adv7180: Add cropcap operation
[media] adv7180: Add g_tvnorms operation
drivers/media/i2c/adv7180.c | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
--
2.7.4
The ADV7180 supports NTSC, PAL and SECAM.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 8
Add support to get the pixel aspect ratio depending on the current
standard (50 vs 60 Hz).
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/media/i2c/adv71
Add support to get the standard to the adv7180 driver.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index f
y the vb2
> ops and the interrupt handler.
>
> I think that should make the driver code a lot easier to navigate.
>
> On 02/24/2016 03:58 AM, Niklas Söderlund wrote:
> > A V4L2 driver for Renesas R-Car VIN driver that do not depend on
> > soc_camera. The driver
Hi Hans,
Tested-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
On 2016-04-22 15:03:37 +0200, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verk...@cisco.com>
>
> The adv7180 attempts to autodetect the standard. Unfortunately this
> is seriously broken.
A V4L2 driver for Renesas R-Car VIN driver that do not depend on
soc_camera. The driver is heavily based on its predecessor and aims to
replace it.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
The patched is based on and depends on patches from the media_tre
Hi Hans,
Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
On 2016-04-22 15:03:42 +0200, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verk...@cisco.com>
>
> This can leave adv7180 in an inconsistent state
>
> Signed-off-by: Hans Verkuil <hans.v
hat was never updated.
>
> Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
> Cc: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
> Cc: Ulrich Hecht <ulrich.hecht+rene...@gmail.com>
> ---
> drivers/media/platform/rcar-vin/rcar-v4l2.c | 48
>
A V4L2 driver for Renesas R-Car VIN driver that do not depend on
soc_camera. The driver is heavily based on its predecessor and aims to
replace it.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
The patched is based on and depends on patches from the media_tre
On 2016-04-21 08:55:46 +0200, Hans Verkuil wrote:
> On 04/12/2016 04:33 PM, Niklas Söderlund wrote:
> > +static void rect_set_min_size(struct v4l2_rect *r,
> > + const struct v4l2_rect *min_size)
> > +{
> > + if (r->width < min_size
On 2016-07-25 22:19:33 +0300, Sergei Shtylyov wrote:
> Such fallback string is present in the 'soc_camera' version of the R-Car VIN
> driver, so need to add it here as well...
>
> Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com>
Acked-by: Niklas Söderlund
On 2016-07-29 12:32:30 -0700, Steve Longerbeam wrote:
>
> On 07/29/2016 12:10 PM, Sergei Shtylyov wrote:
> > On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
> >
> > > From: Steve Longerbeam <slongerb...@gmail.com>
> > >
> > > The ADV7180 and A
Hi Sergei,
On 2016-07-31 00:55:04 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
>
> > The HW can capture both ODD and EVEN fields in separate buffers so it's
> > possible to support this field mode.
> >
>
Hi Sergei,
Thanks for testing!
On 2016-07-30 00:04:33 +0300, Sergei Shtylyov wrote:
> On 07/29/2016 08:40 PM, Niklas Söderlund wrote:
>
> > The driver forced whatever field was set by the source subdevice to be
> > used. This patch allows the user to change from
On 2016-08-02 12:39:40 +0200, Hans Verkuil wrote:
>
>
> On 08/02/2016 12:32 PM, Niklas Söderlund wrote:
> > Hi Hans,
> >
> > Thanks for your feedback.
> >
> > On 2016-08-02 11:41:15 +0200, Hans Verkuil wrote:
> >>
> >>
> >>
Hi Hans,
Thanks for your feedback.
On 2016-08-02 11:41:15 +0200, Hans Verkuil wrote:
>
>
> On 07/29/2016 07:40 PM, Niklas Söderlund wrote:
> > The HW can capture both ODD and EVEN fields in separate buffers so it's
> > possible to support this field mode.
> >
. The
driver will only change the field type if the subdevice implements
G_STD, if not it will keep the default at V4L2_FIELD_ALTERNATE.
The user can always explicitly ask for V4L2_FIELD_ALTERNATE in S_FTM and
the driver will use that field format.
Signed-off-by: Niklas Söderlund <niklas.soderlund+r
ERNATE.
Signed-off-by: Steve Longerbeam <steve_longerb...@mentor.com>
[Niklas: changed filed type from V4L2_FIELD_SEQ_{TB,BT} to
V4L2_FIELD_ALTERNATE]
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
v5:
- Readd patch version and changelog which was
as V4L2_FIELD_INTERLACED_BT if not as
V4L2_FIELD_INTERLACED_TB.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-dma.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/media/platform/rcar-vin/rcar-dma.c
b/drivers/media/pl
If the V4L2_SUBDEV_FORMAT_TRY is used in set_fmt the width, height etc
would not be filled.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/a
Total: 172, Succeeded: 172, Failed: 0, Warnings: 0
Niklas Söderlund (6):
media: rcar-vin: make V4L2_FIELD_INTERLACED standard dependent
media: rcar-vin: allow field to be changed
media: rcar-vin: fix bug in scaling
media: rcar-vin: fix height for TOP and BOTTOM fields
media: rcar-vin: add
The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong.
The frames only contain one filed so the height should be half of the
frame.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.
. This patch breaks out the resetting
of the crop, compose and format to separate functions so the error wont
creep back.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 105 ++--
1 file chang
The driver forced whatever field was set by the source subdevice to be
used. This patch allows the user to change from the default field.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 9 +
1 file chan
On 2016-08-03 10:14:45 -0700, Steve Longerbeam wrote:
> On 08/03/2016 09:58 AM, Lars-Peter Clausen wrote:
> > On 08/03/2016 06:55 PM, Steve Longerbeam wrote:
> >> On 08/03/2016 06:21 AM, Niklas Söderlund wrote:
> >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wr
n also ofc make the change suggested by Lars if
you prefer, but then I want your blessing to do so. I have already
changed so much of your original patch :-)
>
> > + else
> > + format->format.field = V4L2_FIELD_ALTERNATE;
> > break;
> > }
&g
On 2016-08-03 16:22:22 +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 08/02/2016 05:51 PM, Niklas Söderlund wrote:
>
> > The HW can capture both ODD and EVEN fields in separate buffers so it's
> > possible to support V4L2_FIELD_ALTERNATE. This patch add s
Hi all,
This patch adds support for the R-Car MIPI CSI-2 interface. And is based
on top of the media_tree.
Changes since v1:
- Drop dependency on a pad aware s_stream operation.
- Use the DT bindings format "renesas,-", thanks Geert
for pointing this out.
Niklas Söderlund (1)
A V4L2 driver for Renesas R-Car MIPI CSI-2 interface. The driver
supports the rcar-vin driver on R-Car Gen3 SoCs where a separate driver
is needed to receive CSI-2.
Driver is based on a prototype by Koji Matsuoka in the Renesas BSP.
Signed-off-by: Niklas Söderlund <niklas.soderlund+r
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/Kconfig | 2 +-
drivers/media/platform/rcar-vin/rcar-core.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform/rcar-vin/Kconfig
b/drivers
however solve the issue of bind/unbind of subdevices
and still remaining operational.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 106 --
drivers/media/platform/rcar-vin/rcar-dma.c | 7 -
drivers/media/platfor
Add the register needed to work with Gen3 hardware. This patch just adds
the logic for how to work with the Gen3 hardware. More work is required
to enable the subdevice structure needed to support capturing.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
d
a
nitpicking review comment since we are fixing other issues here.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/rcar-vi
has_route entity operation
media: entity: Add media_entity_has_route() function
Niklas Söderlund (14):
[media] rcar-vin: add legacy mode for wrong media bus formats
[media] rcar-vin: return correct error from platform_get_irq
[media] rcar-vin: do not use v4l2_device_call_until_err
.
- Fix indentation errors in rcar-v4l2.c which for some reason had bad
indentations at some locations.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 46 ++--
drivers/media/platform/rcar-vin/rcar-
, simplifies the parsing of the
DT graph and add checks to the v4l2 callbacks.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 232 +---
drivers/media/platform/rcar-vin/rcar-vin.h | 8 +-
2 files change
to a video source.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 12 ++--
drivers/media/platform/rcar-vin/rcar-dma.c | 10 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 2 +-
drivers/media/platform/rc
The check for if the specific pixelformat is supported on the current
chip should happen in VIDIOC_S_FMT and VIDIOC_TRY_FMT and not when we
try to setup the hardware for streaming.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vi
This is done in preparation for Gen3 support where media controller
support will be mandatory for the driver.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/Kconfig | 2 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 7 +---
as a whole are that it's not allowed
to open a video device if the current chsel value puts its input on a
CSI-2 node that is not available. An attempt to do so will result in a
-EBUSY error.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
.../devicetree/bindings
com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
include/media/media-entity.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/media/media-entity.h b/include/media/media-entity.h
index cbb266f..c4b2dca 100644
--- a/include/media/media-entity.h
+
From: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
This is a wrapper around the media entity has_route operation.
Signed-off-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Michal Simek <michal.si...@xilinx.com>
Signed-off-by: Niklas Söderlund
These are present in the soc-camera version of this driver and it's time
to add them to this driver as well.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
source.
This patch just adds and replace the v4l2 calls with there abstraction
layer counter part, there are still only one possible input source. This
is done to prepare for Gen3 support where there are more then one
possible subdevices to chose from at runtime.
Signed-off-by: Niklas Söderlund
Fix a error from the original driver where the wrong error code is
returned if the driver fails to get a IRQ number from
platform_get_irq().
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 2 +-
1 file changed, 1 ins
be
removed sometime in the future.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 39 +++--
drivers/media/platform/rcar-vin/rcar-dma.c | 4 +--
2 files changed, 39 insertions(+), 4 deletions(-)
Hi Hans,
Thanks for your feedback.
On 2016-07-20 11:48:40 +0200, Hans Verkuil wrote:
> On 07/08/2016 12:43 PM, Niklas Söderlund wrote:
> > A recent bugfix to adv7180 brought to light that the rcar-vin driver are
> > looking for the wrong media bus format. It was looking fo
reak the
Renesas R-Car2 Koelsch board which uses the adv7180.
If that can be arranged
Acked-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
>
> But otherwise
>
> Acked-by: Lars-Peter Clausen <l...@metafoo.de>
>
> > ---
> > drivers/media/i
be
removed sometime in the future.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 39 +++--
drivers/media/platform/rcar-vin/rcar-dma.c | 4 +--
2 files changed, 39 insertions(+), 4 deletions(-)
= rvin_querystd,
> .vidioc_g_std = rvin_g_std,
> .vidioc_s_std = rvin_s_std,
> --
> 2.7.4
>
--
Regards,
Niklas Söderlund
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
t; > Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
> > Cc: Guennadi Liakhovetski <g.liakhovet...@gmx.de>
> > Cc: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
>
> I'm all for removal of dead code :-)
>
> Acked-by: Laurent Pinchart <
The driver forced whatever field was set by the source subdevice to be
used. This patch allows the user to change from the default field.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 5 +
1 file chan
. This patch breaks out the resetting
of the crop, compose and format to separate functions so the error wont
creep back.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 105 ++--
1 file chang
The HW can capture both ODD and EVEN fields in separate buffers so it's
possible to support this field mode.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-dma.c | 26 --
drivers/media/platform/rc
ERNATE.
Signed-off-by: Steve Longerbeam <steve_longerb...@mentor.com>
[Niklas: changed filed type from V4L2_FIELD_SEQ_{TB,BT} to
V4L2_FIELD_ALTERNATE]
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 15 +++
know.
Niklas Söderlund (5):
media: rcar-vin: allow field to be changed
media: rcar-vin: fix bug in scaling
media: rcar-vin: fix height for TOP and BOTTOM fields
media: rcar-vin: add support for V4L2_FIELD_ALTERNATE
media: adv7180: fill in mbus format in set_fmt
Steve Longerbeam (1
The height used for V4L2_FIELD_TOP and V4L2_FIELD_BOTTOM where wrong.
The frames only contain one filed so the height should be half of the
frame.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.
If the V4L2_SUBDEV_FORMAT_TRY is used in set_fmt the width, height etc
would not be filled.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/i2c/adv7180.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/media/i2c/a
When Gen3 support is added to the driver more then one possible video
source entity will be possible. Knowing that the name entity is a bad
one, rename it to digital since it will deal with the digital input
source.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech
The check for if the specific pixelformat is supported on the current
chip should happen in VIDIOC_S_FMT and VIDIOC_TRY_FMT and not when we
try to setup the hardware for streaming.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vi
Align style with the rest of the driver.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform/rcar-vin/rca
, simplifies the parsing of the
DT graph and add checks to the v4l2 callbacks.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 232 +---
drivers/media/platform/rcar-vin/rcar-vin.h | 8 +-
2 files change
to a video source.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 12 ++--
drivers/media/platform/rcar-vin/rcar-dma.c | 10 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 2 +-
drivers/media/platform/rc
This is done in preparation for Gen3 support where media controller
support will be mandatory for the driver.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/Kconfig | 2 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 7 +---
Fix broken indentations and line breaks.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 46 +
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/drivers/media/platform/rc
Fix a error from the original driver where the wrong error code is
returned if the driver fails to get a IRQ number from
platform_get_irq().
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-core.c | 4 ++--
1 file chan
.
Niklas Söderlund (10):
[media] rcar-vin: fix indentation errors in rcar-v4l2.c
[media] rcar-vin: reduce indentation in rvin_s_dv_timings()
[media] rcar-vin: arrange enum chip_id in chronological order
[media] rcar-vin: rename entity to digital
[media] rcar-vin: return correct error from
a
nitpicking review comment since we are fixing other issues here.
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-v4l2.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/media/platform/rcar-vi
Signed-off-by: Niklas Söderlund <niklas.soderlund+rene...@ragnatech.se>
---
drivers/media/platform/rcar-vin/rcar-vin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/rcar-vin/rcar-vin.h
b/drivers/media/platform/rcar-vin/rcar-vin.h
index 3
ned-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com>
Works on Koelsch with shmobile_defconfig.
Tested-by: Niklas Söderlund <niklas.soderl...@ragnatech.se>
> ---
> include/media/rcar-fcp.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --
1 - 100 of 984 matches
Mail list logo