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.

thx!

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,
R28.1/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-modules/tegra186-camera-e3323-a00.dtsi

Thanks!