Add oneplus rear camera actuator
How to test it?
- Build and install kernel with this changes
- Find subdev id: run
grep -r lc /sys/class/video4linux/v4l-subdev*/name
that should return something like this
/sys/class/video4linux/v4l-subdev21/name:lc898217xc 17-0074
Than subdev id will be 21
- To set focus you need to run
v4l2-ctl -d /dev/v4l-subdev{subdev id} -c focus_absolute={focus value (0-4095)}
Signed-off-by: Vasiliy Doylov nekodevelopper@gmail.com