How does the lib argus use the focuser driver

Hi All,

We plan on adding a VCM driver as a focuser to our image sensor. How does lib argus knows how to use our focuser driver. Does it just look at the device tree for the particular image sensor. Same question for a flash driver.


hello csuson,

yes, you must extend your device node for the focuser driver in the sensor device tree.

there’s documentation for your reference,
[Release 28.1 Development Guide]-> [Sensor Driver Programming Guide]

please also refer to below code for more details,