* [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
@ 2010-02-02 4:54 Kuninori Morimoto
2011-09-18 15:56 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 10+ messages in thread
From: Kuninori Morimoto @ 2010-02-02 4:54 UTC (permalink / raw)
To: Guennadi; +Cc: Linux-V4L2, Takashi.Namiki, Phil.Edworthy
mt9t112 camera needs 100 milliseconds for initializing
Special thanks to Phil
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
---
drivers/media/video/mt9t112.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
index 7438f8d..e581d8a 100644
--- a/drivers/media/video/mt9t112.c
+++ b/drivers/media/video/mt9t112.c
@@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
/* Invert PCLK (Data sampled on falling edge of pixclk) */
mt9t112_reg_write(ret, client, 0x3C20, param);
- mdelay(5);
+ mdelay(100);
priv->flags |= INIT_DONE;
}
--
1.6.3.3
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2010-02-02 4:54 [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize Kuninori Morimoto
@ 2011-09-18 15:56 ` Mauro Carvalho Chehab
2011-09-18 16:12 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2011-09-18 15:56 UTC (permalink / raw)
To: Guennadi; +Cc: Kuninori Morimoto, Linux-V4L2, Takashi.Namiki, Phil.Edworthy
Em 02-02-2010 02:54, Kuninori Morimoto escreveu:
> mt9t112 camera needs 100 milliseconds for initializing
> Special thanks to Phil
>
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
> ---
> drivers/media/video/mt9t112.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
> index 7438f8d..e581d8a 100644
> --- a/drivers/media/video/mt9t112.c
> +++ b/drivers/media/video/mt9t112.c
> @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
> /* Invert PCLK (Data sampled on falling edge of pixclk) */
> mt9t112_reg_write(ret, client, 0x3C20, param);
>
> - mdelay(5);
> + mdelay(100);
>
> priv->flags |= INIT_DONE;
> }
Hi Guennadi,
What's the status of this patch?
It applies ok for me, and I couldn't find any reference at the
ML why it was not applied yet.
Thanks,
Mauro
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-09-18 15:56 ` Mauro Carvalho Chehab
@ 2011-09-18 16:12 ` Guennadi Liakhovetski
2011-09-20 0:29 ` Kuninori Morimoto
0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2011-09-18 16:12 UTC (permalink / raw)
To: Mauro Carvalho Chehab
Cc: Kuninori Morimoto, Linux-V4L2, Takashi.Namiki, Phil.Edworthy
On Sun, 18 Sep 2011, Mauro Carvalho Chehab wrote:
> Em 02-02-2010 02:54, Kuninori Morimoto escreveu:
> > mt9t112 camera needs 100 milliseconds for initializing
> > Special thanks to Phil
> >
> > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
> > ---
> > drivers/media/video/mt9t112.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
> > index 7438f8d..e581d8a 100644
> > --- a/drivers/media/video/mt9t112.c
> > +++ b/drivers/media/video/mt9t112.c
> > @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
> > /* Invert PCLK (Data sampled on falling edge of pixclk) */
> > mt9t112_reg_write(ret, client, 0x3C20, param);
> >
> > - mdelay(5);
> > + mdelay(100);
> >
> > priv->flags |= INIT_DONE;
> > }
>
> Hi Guennadi,
>
> What's the status of this patch?
>
> It applies ok for me, and I couldn't find any reference at the
> ML why it was not applied yet.
Hm, yeah... Looks like also this patch:
> Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
>
> mt9t112 should always be initialized when camera start.
> Because current driver doesn't run this operation,
> it will be un-stable if user side player run open/close several times.
> Special thanks to Namiki-san
>
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> Reported-by: Takashi Namiki <Takashi.Namiki@renesas.com>
has not been applied nor discussed on the list... For patches that old I
would tend to say: if the author / submitter didn't re-submit, then,
probably, patches aren't relevant anymore... Although it is quite
possible, that I failed to process them back then. Morimoto-san, do you
have any information on these patches? Have these problems been solved
somehow, so that the patches have become obsolete, or are the problems,
that they address, still there?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-09-18 16:12 ` Guennadi Liakhovetski
@ 2011-09-20 0:29 ` Kuninori Morimoto
2011-09-20 7:33 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Kuninori Morimoto @ 2011-09-20 0:29 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: Mauro Carvalho Chehab, Kuninori Morimoto, Linux-V4L2,
Takashi.Namiki, phil.edworthy
Hi Guennadi, all
> > > mt9t112 camera needs 100 milliseconds for initializing
> > > Special thanks to Phil
> > >
> > > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > > Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
> > > ---
> > > drivers/media/video/mt9t112.c | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> > > diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
> > > index 7438f8d..e581d8a 100644
> > > --- a/drivers/media/video/mt9t112.c
> > > +++ b/drivers/media/video/mt9t112.c
> > > @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
> > > /* Invert PCLK (Data sampled on falling edge of pixclk) */
> > > mt9t112_reg_write(ret, client, 0x3C20, param);
> > >
> > > - mdelay(5);
> > > + mdelay(100);
> > >
> > > priv->flags |= INIT_DONE;
> > > }
> >
> > Hi Guennadi,
> >
> > What's the status of this patch?
> >
> > It applies ok for me, and I couldn't find any reference at the
> > ML why it was not applied yet.
>
> Hm, yeah... Looks like also this patch:
>
> > Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
> >
> > mt9t112 should always be initialized when camera start.
> > Because current driver doesn't run this operation,
> > it will be un-stable if user side player run open/close several times.
> > Special thanks to Namiki-san
> >
> > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > Reported-by: Takashi Namiki <Takashi.Namiki@renesas.com>
>
> has not been applied nor discussed on the list... For patches that old I
> would tend to say: if the author / submitter didn't re-submit, then,
> probably, patches aren't relevant anymore... Although it is quite
> possible, that I failed to process them back then. Morimoto-san, do you
> have any information on these patches? Have these problems been solved
> somehow, so that the patches have become obsolete, or are the problems,
> that they address, still there?
This patch is needed for mt9t112 camera initialize.
I thought that it was already applied.
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-09-20 0:29 ` Kuninori Morimoto
@ 2011-09-20 7:33 ` Guennadi Liakhovetski
2011-09-30 9:19 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2011-09-20 7:33 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Mauro Carvalho Chehab, Kuninori Morimoto, Linux-V4L2,
Takashi.Namiki, phil.edworthy
Morimoto-san
Thanks for your reply.
On Mon, 19 Sep 2011, Kuninori Morimoto wrote:
> Hi Guennadi, all
>
> > > > mt9t112 camera needs 100 milliseconds for initializing
> > > > Special thanks to Phil
> > > >
> > > > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > > > Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
> > > > ---
> > > > drivers/media/video/mt9t112.c | 2 +-
> > > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > > >
> > > > diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
> > > > index 7438f8d..e581d8a 100644
> > > > --- a/drivers/media/video/mt9t112.c
> > > > +++ b/drivers/media/video/mt9t112.c
> > > > @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
> > > > /* Invert PCLK (Data sampled on falling edge of pixclk) */
> > > > mt9t112_reg_write(ret, client, 0x3C20, param);
> > > >
> > > > - mdelay(5);
> > > > + mdelay(100);
> > > >
> > > > priv->flags |= INIT_DONE;
> > > > }
> > >
> > > Hi Guennadi,
> > >
> > > What's the status of this patch?
> > >
> > > It applies ok for me, and I couldn't find any reference at the
> > > ML why it was not applied yet.
> >
> > Hm, yeah... Looks like also this patch:
> >
> > > Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
> > >
> > > mt9t112 should always be initialized when camera start.
> > > Because current driver doesn't run this operation,
> > > it will be un-stable if user side player run open/close several times.
> > > Special thanks to Namiki-san
> > >
> > > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > > Reported-by: Takashi Namiki <Takashi.Namiki@renesas.com>
> >
> > has not been applied nor discussed on the list... For patches that old I
> > would tend to say: if the author / submitter didn't re-submit, then,
> > probably, patches aren't relevant anymore... Although it is quite
> > possible, that I failed to process them back then. Morimoto-san, do you
> > have any information on these patches? Have these problems been solved
> > somehow, so that the patches have become obsolete, or are the problems,
> > that they address, still there?
>
> This patch is needed for mt9t112 camera initialize.
> I thought that it was already applied.
Which patch do you mean? Patch 2/3, or 3/3, or both are needed?
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-09-20 7:33 ` Guennadi Liakhovetski
@ 2011-09-30 9:19 ` Guennadi Liakhovetski
2011-10-13 5:59 ` Kuninori Morimoto
0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2011-09-30 9:19 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Mauro Carvalho Chehab, Kuninori Morimoto, Linux-V4L2,
Takashi.Namiki, phil.edworthy
Morimoto-san
There was a question at the bottom of this email, which you might have
overseen:-) Could you give me an idea, which patche(es) exactly you meant?
Thanks
Guennadi
On Tue, 20 Sep 2011, Guennadi Liakhovetski wrote:
> Morimoto-san
>
> Thanks for your reply.
>
> On Mon, 19 Sep 2011, Kuninori Morimoto wrote:
>
> > Hi Guennadi, all
> >
> > > > > mt9t112 camera needs 100 milliseconds for initializing
> > > > > Special thanks to Phil
> > > > >
> > > > > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > > > > Reported-by: Phil Edworthy <Phil.Edworthy@renesas.com>
> > > > > ---
> > > > > drivers/media/video/mt9t112.c | 2 +-
> > > > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > > > >
> > > > > diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c
> > > > > index 7438f8d..e581d8a 100644
> > > > > --- a/drivers/media/video/mt9t112.c
> > > > > +++ b/drivers/media/video/mt9t112.c
> > > > > @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable)
> > > > > /* Invert PCLK (Data sampled on falling edge of pixclk) */
> > > > > mt9t112_reg_write(ret, client, 0x3C20, param);
> > > > >
> > > > > - mdelay(5);
> > > > > + mdelay(100);
> > > > >
> > > > > priv->flags |= INIT_DONE;
> > > > > }
> > > >
> > > > Hi Guennadi,
> > > >
> > > > What's the status of this patch?
> > > >
> > > > It applies ok for me, and I couldn't find any reference at the
> > > > ML why it was not applied yet.
> > >
> > > Hm, yeah... Looks like also this patch:
> > >
> > > > Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
> > > >
> > > > mt9t112 should always be initialized when camera start.
> > > > Because current driver doesn't run this operation,
> > > > it will be un-stable if user side player run open/close several times.
> > > > Special thanks to Namiki-san
> > > >
> > > > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > > > Reported-by: Takashi Namiki <Takashi.Namiki@renesas.com>
> > >
> > > has not been applied nor discussed on the list... For patches that old I
> > > would tend to say: if the author / submitter didn't re-submit, then,
> > > probably, patches aren't relevant anymore... Although it is quite
> > > possible, that I failed to process them back then. Morimoto-san, do you
> > > have any information on these patches? Have these problems been solved
> > > somehow, so that the patches have become obsolete, or are the problems,
> > > that they address, still there?
> >
> > This patch is needed for mt9t112 camera initialize.
> > I thought that it was already applied.
>
> Which patch do you mean? Patch 2/3, or 3/3, or both are needed?
>
> Thanks
> Guennadi
> ---
> Guennadi Liakhovetski, Ph.D.
> Freelance Open-Source Software Developer
> http://www.open-technology.de/
>
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-09-30 9:19 ` Guennadi Liakhovetski
@ 2011-10-13 5:59 ` Kuninori Morimoto
2011-10-18 16:43 ` Guennadi Liakhovetski
0 siblings, 1 reply; 10+ messages in thread
From: Kuninori Morimoto @ 2011-10-13 5:59 UTC (permalink / raw)
To: Guennadi Liakhovetski
Cc: Mauro Carvalho Chehab, Kuninori Morimoto, Linux-V4L2,
Takashi.Namiki, phil.edworthy
Hi Guennadi
> There was a question at the bottom of this email, which you might have
> overseen:-) Could you give me an idea, which patche(es) exactly you meant?
sorry for my super late response.
I losted this email.
> > > > > Subject: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
(snip)
> > > > > Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
> > > This patch is needed for mt9t112 camera initialize.
> > > I thought that it was already applied.
> >
> > Which patch do you mean? Patch 2/3, or 3/3, or both are needed?
Both are needed.
These are bug fix patches
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-10-13 5:59 ` Kuninori Morimoto
@ 2011-10-18 16:43 ` Guennadi Liakhovetski
2011-10-19 0:56 ` Kuninori Morimoto
0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2011-10-18 16:43 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Mauro Carvalho Chehab, Kuninori Morimoto, Linux-V4L2,
Takashi.Namiki, phil.edworthy
Hi all
On Wed, 12 Oct 2011, Kuninori Morimoto wrote:
> Hi Guennadi
>
> > There was a question at the bottom of this email, which you might have
> > overseen:-) Could you give me an idea, which patche(es) exactly you meant?
>
> sorry for my super late response.
> I losted this email.
>
>
> > > > > > Subject: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
> (snip)
> > > > > > Subject: [PATCH 3/3] soc-camera: mt9t112: The flag which control camera-init is removed
>
> > > > This patch is needed for mt9t112 camera initialize.
> > > > I thought that it was already applied.
> > >
> > > Which patch do you mean? Patch 2/3, or 3/3, or both are needed?
>
> Both are needed.
> These are bug fix patches
I tried to capture several frames beginning with the very first one (as
much as performance allowed), and I do see several black or wrongly
coloured framed in the beginning, but none of those patches, including the
proposed 300ms at the end of .s_stream() fixes the problem reliably. So,
either this problems, that these patches fix, are specific to the Solution
Engine board (is it the one, where the problems have been observed?), or
one needs a different testing method. If they are SE-specific - I don't
think, getting those fixes in the driver is very important, because
mt9t112 data for SE is not in the mainline. If I was testing wrongly,
please, tell me how exactly to reproduce those problems and see, how one
or another patch fixes them.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-10-18 16:43 ` Guennadi Liakhovetski
@ 2011-10-19 0:56 ` Kuninori Morimoto
2011-10-19 7:56 ` phil.edworthy
0 siblings, 1 reply; 10+ messages in thread
From: Kuninori Morimoto @ 2011-10-19 0:56 UTC (permalink / raw)
To: Guennadi Liakhovetski; +Cc: Mauro Carvalho Chehab, Linux-V4L2, phil.edworthy
Hi Guennadi, and Phil
Thank you for your check/test
> > Both are needed.
> > These are bug fix patches
>
> I tried to capture several frames beginning with the very first one (as
> much as performance allowed), and I do see several black or wrongly
> coloured framed in the beginning, but none of those patches, including the
> proposed 300ms at the end of .s_stream() fixes the problem reliably. So,
> either this problems, that these patches fix, are specific to the Solution
> Engine board (is it the one, where the problems have been observed?), or
> one needs a different testing method. If they are SE-specific - I don't
> think, getting those fixes in the driver is very important, because
> mt9t112 data for SE is not in the mainline. If I was testing wrongly,
> please, tell me how exactly to reproduce those problems and see, how one
> or another patch fixes them.
I guess mt9t112 camera is used in SE (with local circuit ?)
and Ecovec.
But I forgot detail of this issue (I have no mt9t112 for now).
I think Phil is the person who wanted this patch.
But if this issue happen only SE, I can agree to Guennadi
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize
2011-10-19 0:56 ` Kuninori Morimoto
@ 2011-10-19 7:56 ` phil.edworthy
0 siblings, 0 replies; 10+ messages in thread
From: phil.edworthy @ 2011-10-19 7:56 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Guennadi Liakhovetski, Linux-V4L2, Mauro Carvalho Chehab
Hi Guennadi, Morimoto-san,
> > > Both are needed.
> > > These are bug fix patches
> >
> > I tried to capture several frames beginning with the very first one
(as
> > much as performance allowed), and I do see several black or wrongly
> > coloured framed in the beginning, but none of those patches, including
the
> > proposed 300ms at the end of .s_stream() fixes the problem reliably.
So,
> > either this problems, that these patches fix, are specific to the
Solution
> > Engine board (is it the one, where the problems have been observed?),
or
> > one needs a different testing method. If they are SE-specific - I
don't
> > think, getting those fixes in the driver is very important, because
> > mt9t112 data for SE is not in the mainline. If I was testing wrongly,
> > please, tell me how exactly to reproduce those problems and see, how
one
> > or another patch fixes them.
>
> I guess mt9t112 camera is used in SE (with local circuit ?)
> and Ecovec.
> But I forgot detail of this issue (I have no mt9t112 for now).
>
> I think Phil is the person who wanted this patch.
There are capture issues on the Ecovec board with this camera. iirc, these
patches made the situation better but still didn't completely fix all
issues. Morimoto-san has made comments previously that the mt9t112 is a
little difficult to setup and we don't have the relevant information from
the manufacturer.
Thanks
Phil
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-10-19 7:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 4:54 [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize Kuninori Morimoto
2011-09-18 15:56 ` Mauro Carvalho Chehab
2011-09-18 16:12 ` Guennadi Liakhovetski
2011-09-20 0:29 ` Kuninori Morimoto
2011-09-20 7:33 ` Guennadi Liakhovetski
2011-09-30 9:19 ` Guennadi Liakhovetski
2011-10-13 5:59 ` Kuninori Morimoto
2011-10-18 16:43 ` Guennadi Liakhovetski
2011-10-19 0:56 ` Kuninori Morimoto
2011-10-19 7:56 ` phil.edworthy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.