Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-30 Thread Katsuya MATSUBARA
Hi Guennadi, From: Guennadi Liakhovetski Date: Fri, 26 Jul 2013 13:11:52 +0200 (CEST) > Hello Matsubara-san > > On Thu, 25 Jul 2013, Katsuya MATSUBARA wrote: > >> >> Hi Vladimir, >> >> From: Vladimir Barinov >> Date: Thu, 25 Jul 2013

[PATCH 4/7] [media] vsp1: Rewrite the value definitions for DPR routing as enum and arrays

2013-07-26 Thread Katsuya Matsubara
This rewrites the value definitions for DPR routing as enum and arrays rather than macros to support multiple versions of the H/W IP. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1.h|6 drivers/media/platform/vsp1/vsp1_drv.c| 49

[PATCH 5/7] [media] vsp1: Introduce bit operations for the DPR route registers

2013-07-26 Thread Katsuya Matsubara
This change allows support for H/W IPs in which multiple DPR route registers are combined into one. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1.h |1 + drivers/media/platform/vsp1/vsp1_drv.c | 94 +++--- drivers/media/platform/vsp1

[PATCH 6/7] [media] vsp1: Move the DPR_WPF_FPORCH register settings into the device initialization

2013-07-26 Thread Katsuya Matsubara
The DPR_WPR_FPORCH registers must be set once with a constant value and they are never varied at runtime. So it can be moved into the vsp1_device_init function that will be invoked just one time. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1_drv.c |9

[PATCH 7/7] [media] vsp1: Add VIO6 support

2013-07-26 Thread Katsuya Matsubara
VIO6 is an older version of the VSP1 used by many of the current Renesas R-Car/R-Mobile SoCs. This patch just handles the differences between VSP1 and VIO6, by adjusting the offset of some registers and the DPR register operation. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1

[PATCH 3/7] [media] vsp1: Rewrite the definition of registers' offset as enum and arrays

2013-07-26 Thread Katsuya Matsubara
This replaces the macro definitions of register offset with one written as enum and arrays. It could be useful for supporting multiple versions of the H/W IP. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1.h| 15 +- drivers/media/platform/vsp1/vsp1_drv.c

[PATCH 1/7] [media] vsp1: Fix lack of the sink entity registration for enabled links

2013-07-26 Thread Katsuya Matsubara
created during initialization. This registers the pointer to a sink entity from the source entity when an enabled link is created. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1_drv.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/vsp1

[PATCH 0/7] [media] vsp1: Add VIO6 support

2013-07-26 Thread Katsuya Matsubara
: Fix V4L2_MBUS_FMT_YUV10_1X30 media bus pixel code value [PATCH v3 3/5] v4l: Add media format codes for ARGB and AYUV on 32-bit busses [PATCH v3 4/5] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats [PATCH v3 5/5] v4l: Renesas R-Car VSP1 driver Katsuya Matsubara (7): [media

[PATCH 2/7] [media] vsp1: Use the maximum number defined in platform data

2013-07-26 Thread Katsuya Matsubara
The VSP1 driver allows to define the maximum number of each module such as RPF, WPF, and UDS in a platform data definition. This suppresses operations for nonexistent or unused modules. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/vsp1/vsp1_drv.c |8 1 file changed

Re: [PATCH] ml86v7667: override default field interlace order

2013-07-25 Thread Katsuya MATSUBARA
orrectly treat interlaced fields when relying on the > standard. > Hence we must set V4L2_FIELD_INTERLACED_TB format explicitly. > > Reported-by: Katsuya MATSUBARA > Signed-off-by: Vladimir Barinov > [Sergei: added a comment.] > Signed-off-by: Sergei Shtylyov (snip) I made su

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-25 Thread Katsuya MATSUBARA
Hi Vladimir, From: Vladimir Barinov Date: Thu, 25 Jul 2013 10:55:51 +0400 > Hi Matsubara-san, > > On 07/25/2013 07:01 AM, Katsuya MATSUBARA wrote: >> Hi Vladimir, >> >> Thank you for the revised patch. >> >> From: Sergei Shtylyov >> Date

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-24 Thread Katsuya MATSUBARA
ect that means wrong >> order of fields desite '_BT' chosen for V4L2_STD_525_60. >> > I've ordered the NTSC camera. > I will return once I get it. Did you get an NTSC camera and see the field order issue occurs on your BOCK-W board? You may want to consider

Re: [PATCH v2 5/5] v4l: Renesas R-Car VSP1 driver

2013-07-24 Thread Katsuya MATSUBARA
gned int bpl; > + > + bpl = clamp_t(unsigned int, pix->plane_fmt[i].bytesperline, > + pix->width / hsub * info->bpp[i] / 8, > + round_down(65535U, 128)); > + > + pix->plane_fmt[i].bytesperlin

Re: [PATCH v6] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-21 Thread Katsuya MATSUBARA
Hi Vladimir, From: Vladimir Barinov Date: Fri, 21 Jun 2013 14:32:05 +0400 > Katsuya MATSUBARA wrote: >> Hi Vladimir, >> >> From: Vladimir Barinov >> Date: Fri, 21 Jun 2013 13:39:50 +0400 >> >> (snip) >> >>>> I have not seen such i2c

Re: [PATCH v6] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-21 Thread Katsuya MATSUBARA
>> > could you try Hans's fix: > https://patchwork.kernel.org/patch/2640701/ The fix has been already applied in my environment. Thanks, --- Katsuya Matsubara / IGEL Co., Ltd ma...@igel.co.jp -- To unsubscribe from this list: send the line "unsubscribe linux-m

Re: [PATCH v6] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-21 Thread Katsuya MATSUBARA
Hi Vladimir, From: Vladimir Barinov Date: Fri, 21 Jun 2013 12:06:12 +0400 > Hi Matsubara-san, > > Katsuya MATSUBARA wrote: >> Hi Sergei and Valadmir, >> >> From: Sergei Shtylyov >> Date: Fri, 24 May 2013 02:11:28 +0400 >> >> (snip) >>

Re: [PATCH v6] V4L2: soc_camera: Renesas R-Car VIN driver

2013-06-20 Thread Katsuya MATSUBARA
. I made sure that the driver chose the V4L2_FIELD_INTERLACED_BT flag for the NTSC standard video in the both environments. Have you seen such an iusse with the ML86V7667 driver? I think there may be some mismatch between the VIN and the ML86V7667 settings. Thanks, --- Katsuya Matsubara / IG

Re: [PATCH 0/3] Fix some bugs in the sh_veu driver

2013-04-23 Thread Katsuya MATSUBARA
Hi Guennadi, From: Guennadi Liakhovetski Date: Tue, 23 Apr 2013 14:25:54 +0200 (CEST) >> This patch set fixes some small bugs in the sh_veu driver. >> They have been tested on the Mackerel board. >> >> Thanks, >> >> Katsuya Matsubara (3): >>

[PATCH 3/3] [media] sh_veu: fix the buffer size calculation

2013-04-23 Thread Katsuya Matsubara
The 'bytesperline' value only indicates the stride of the Y plane if the color format is planar, such as NV12. When calculating the total plane size, the size of CbCr plane must also be considered. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/sh_veu.c |6 +++--

[PATCH 2/3] [media] sh_veu: keep power supply until the m2m context is released

2013-04-23 Thread Katsuya Matsubara
In the sh_veu driver, only the interrupt handler 'sh_veu_bh' can invoke the v4l2_m2m_job_finish() function. So the hardware must be alive for handling interrupts until returning from v4l2_m2m_ctx_release(). Signed-off-by: Katsuya Matsubara --- drivers/media/platform/sh_veu.c |

[PATCH 1/3] [media] sh_veu: invoke v4l2_m2m_job_finish() even if a job has been aborted

2013-04-23 Thread Katsuya Matsubara
v4l2_m2m_job_finish() should be invoked even if the current ongoing job has been aborted since v4l2_m2m_ctx_release() which has issued the job abort may wait until the finish function is invoked. Signed-off-by: Katsuya Matsubara --- drivers/media/platform/sh_veu.c |5 + 1 files changed

[PATCH 0/3] Fix some bugs in the sh_veu driver

2013-04-23 Thread Katsuya Matsubara
Hi Guennadi, This patch set fixes some small bugs in the sh_veu driver. They have been tested on the Mackerel board. Thanks, Katsuya Matsubara (3): [media] sh_veu: invoke v4l2_m2m_job_finish() even if a job has been aborted [media] sh_veu: keep power supply until the m2m context is

Re: [PATCH v2 1/4] V4L2: soc_camera: Renesas R-Car VIN driver

2013-04-22 Thread Katsuya MATSUBARA
Hi, From: Sergei Shtylyov Date: Tue, 23 Apr 2013 08:38:35 +0400 > On 04/23/2013 07:08 AM, Katsuya MATSUBARA wrote: > >>> From: Vladimir Barinov >>> (snip) >>> +/* Register offsets for R-Сar VIN */ >> Are you using a 2-byte character in the string &#x

Re: [PATCH v2 1/4] V4L2: soc_camera: Renesas R-Car VIN driver

2013-04-22 Thread Katsuya MATSUBARA
Hi Sergei, Thanks for the patch. From: Sergei Shtylyov Date: Sat, 20 Apr 2013 02:31:31 +0400 > From: Vladimir Barinov > > Add Renesas R-Car VIN (Video In) V4L2 driver. > > Based on the patch by Phil Edworthy . > > Signed-off-by: Vladimir Barinov > [Sergei: removed deprecated IRQF_DISABLED