ARM: tegra: Set NVC config for cardhu-focusers
authorSudhir Vyas <svyas@nvidia.com>
Thu, 7 Jun 2012 07:12:27 +0000 (12:12 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 8 Jun 2012 10:39:04 +0000 (15:39 +0530)
commitfddbbedbbf513855edb9e7bfb5d6b0beb327f8ba
treea23a33a06bf730968ce3de6a775f88c294409e1a
parente37ddc772f7b47b3bb361a0ead9aefc256f3629d
ARM: tegra: Set NVC config for cardhu-focusers

* NVC framework provides NVC_CFG_NODEV config for all
NVC compliant camera drivers to make sure to delete
the device nodes which are not found in I2C probing.
This config is not set for all focuser modules on PM269,
which introduces the issue.

* Earlier only sh532u focuser was suppose to be on
cardhu, hence this error condition did not get triggered
but newly added focuser has exposed this error.

* Set NVC_CFG_NODEV for both sh532u and ad5816 focusers.

* Add regulator supply for cam2 ad5816 focuser, it fixes
camera crash on first reboot on E1198 cardhu and I2C
warnings.

Bug 992611
Bug 995072

Change-Id: I3382a896e4e246a0a323bd13ae0889b6701351c7
Signed-off-by: Sudhir vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/106960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
arch/arm/mach-tegra/board-cardhu-power.c
arch/arm/mach-tegra/board-cardhu-sensors.c