I have imx6 Nitrogen6x_Max board.
Added ALS opt3001 on i2c2.
The driver in the kernel shows up as a iio device under 2-0044.
I can read the values from shell.
But the sensor HAL uses input devices instead.
Question was how to update Sensor HAL to accommodate an iio device ?