linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Power Management and lens-focus
@ 2018-09-21 11:18 Ricardo Ribalda Delgado
  0 siblings, 0 replies; only message in thread
From: Ricardo Ribalda Delgado @ 2018-09-21 11:18 UTC (permalink / raw)
  To: linux-media, Sakari Ailus

Hello

I have started using the lens-focus property:

ad5820: dac@0c {
compatible = "adi,ad5820";
reg = <0x0c>;
VANA-supply = <&pm8994_l23>;
enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>;
};

camera_rear@60 {
lens-focus = <&ad5820>;
};

I was testing my device using the following setup: qv4l2 grabbing
images and yavta changing the focus controls.

Unfortunately, this does not work (or does not work as I expected):
The ad5820 is powered off until it is open() (even during streamon),
so when yavta finished setting the control and closed the device the
focus was back to its original position :S.

Apparently, this has not been an issue before because usually there is
a close loop program constantly setting up the focus and not closing
the device.

Shouldn't we poweron the focus when the pipeline is running?

Regards!



-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-21 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-21 11:18 Power Management and lens-focus Ricardo Ribalda Delgado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).