From: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
To: video4linux-list@redhat.com
Subject: Re: [PATCH] Move .power and .reset from soc_camera platform to sensor driver
Date: Fri, 01 Aug 2008 11:24:35 +0300 [thread overview]
Message-ID: <4892C843.3030601@teltonika.lt> (raw)
In-Reply-To: <Pine.LNX.4.64.0808010820560.14927@axis700.grange>
Guennadi Liakhovetski wrote:
> On Fri, 1 Aug 2008, Stefan Herbrechtsmeier wrote:
>
>> Paulius Zaleckas schrieb:
>>> Stefan Herbrechtsmeier wrote:
>>>> Move .power (enable_camera, disable_camera) and .reset from soc_camera
>>>> platform driver (pxa_camera_platform_data, sh_mobile_ceu_info) to sensor
>>>> driver (soc_camera_link) and add .init and .release to request and free
>>>> gpios.
>>>>
>>>> Signed-off-by: Stefan Herbrechtsmeier <hbmeier@hni.uni-paderborn.de>
>>> While I agree that it is good to move .power and .reset to
>>> soc_camera_link... IMHO controlling of these should be left in
>>> host driver.
>> How should we deal with the register based version of this functions (soft
>> reset)?
>> At the moment we reset the sensors twice, if we use a hardware reset (.reset).
>
> Paulius, can you give any specific reason why you think, calling those
> functions from the host driver would be better?
I have changed my mind :)
But I think sensor driver should also control mclk activation.
This is because some sensors (in my case OV7670) needs mclk all the time
running to produce images with good white balance in open-capture-close
scenario. Currently I have a patch for soc_camera which leaves the
camera activated after probing...
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
prev parent reply other threads:[~2008-08-01 8:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 6:02 [PATCH] Move .power and .reset from soc_camera platform to sensor driver Stefan Herbrechtsmeier
2008-07-31 13:53 ` Paulius Zaleckas
[not found] ` <48917CB5.6000304@teltonika.lt>
2008-08-01 6:11 ` Stefan Herbrechtsmeier
2008-08-01 6:25 ` Guennadi Liakhovetski
2008-08-01 7:35 ` Stefan Herbrechtsmeier
2008-08-01 7:45 ` Guennadi Liakhovetski
2008-08-01 8:15 ` Stefan Herbrechtsmeier
2008-08-13 13:30 ` [PATCH] soc-camera: Move .power and .reset from soc_camera host " Guennadi Liakhovetski
2008-08-14 4:57 ` Stefan Herbrechtsmeier
2008-08-14 5:12 ` Guennadi Liakhovetski
2008-08-14 6:13 ` Stefan Herbrechtsmeier
2008-08-14 6:24 ` Guennadi Liakhovetski
2008-08-14 6:37 ` Stefan Herbrechtsmeier
2008-08-01 8:24 ` Paulius Zaleckas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4892C843.3030601@teltonika.lt \
--to=paulius.zaleckas@teltonika.lt \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox