mfd: TWL5030 version checking in twl-core
authorLesly A M <leslyam@ti.com>
Thu, 14 Apr 2011 12:27:53 +0000 (17:57 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:24 +0000 (19:45 +0200)
commitca972d13382436530896e90591e2793e7a9e7eba
tree414e0e666015509a66342a8f5ce2184e0a1ef9ba
parentd7ac829fa30d44d6553a0ead41f47bb92ee4d73e
mfd: TWL5030 version checking in twl-core

Added API to get the TWL5030 Si version from the IDCODE register.
It is used for enabling the workaround for TWL erratum 27.

Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl-core.c
include/linux/i2c/twl.h