camera: update MT9D113 front camera on QT8660
In order to make MT9D113 front camera work properly on QT8660,
1) GPIO105 needs to be requested and set properly since it's
used to control front camera power on QT8660.
2) CSI related clock needs to be configured using clk_add_alias
correctly. The maximum alias_dev_name length that clk_add_alias
can handle is 20 characters, so change the sensor device name
is necessary.
3) Correct I2C function used to read chip id.
4) Correct sensor register setting to make it work in both preview
and snapshot mode.
Signed-off-by:
Jilai Wang <jilaiw@codeaurora.org>
Conflicts:
arch/arm/mach-msm/board-qt8660.c
Loading
Please sign in to comment