regulator: as3722 : SD0 init val based on boardid
authorPrabhu Kuttiyam <pkuttiyam@nvidia.com>
Thu, 19 Dec 2013 00:07:03 +0000 (16:07 -0800)
committerBibek Basu <bbasu@nvidia.com>
Thu, 19 Dec 2013 07:09:58 +0000 (23:09 -0800)
commitb714c5e402c1261c1860e4bda3db3da2c4919b45
treea6c9de9bfc2b4b485e84e650ed752a721c12bc61
parente972e1b2e1ae60ec7ecef5e633e91ee95b0defa9
regulator: as3722 : SD0 init val based on boardid

Decide the PMIC version based on board id as
AMS PMIC rev id is not correct in silicon.
Add DT support also.

Bug 1425474

Change-Id: Ia51462980da582c958a26e156b48a1e5d655559f
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/347241
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/mfd/as3722.c
drivers/regulator/as3722-regulator.c
include/linux/mfd/as3722-plat.h
include/linux/mfd/as3722.h