]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00252071-1: mxc_v4l2_capture: auto detection parallel ov5642 and ov5640
authorSheng Nan <b38800@freescale.com>
Fri, 1 Mar 2013 02:24:12 +0000 (10:24 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:56 +0000 (08:35 +0200)
commit312369744ccfd1216083b721daa5beda16a237eb
tree729167b99e9913bcc9f07eb894df4b656127ed10
parent4b2944f8832a0316286e0724600b0678b1af2fe7
ENGR00252071-1: mxc_v4l2_capture: auto detection parallel ov5642 and ov5640

Both ov5642 and ov5640 need to be supported for parallel port of
validation board and no code change is needed when change from one sensor
to another.

- Add additional common i2c id for ov5640 and ov5642 for auto dectection
- Since two sensors will be checked because of auto detection, so use warning
instead of error if sensor id don't match.
- Add found information to tell user which camera is found.

Signed-off-by: Sheng Nan <b38800@freescale.com>
drivers/media/video/mxc/capture/ov5640.c
drivers/media/video/mxc/capture/ov5642.c