]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9182b461425a77a3e1aa605217892eaadcd72b7b
tree414e0e666015509a66342a8f5ce2184e0a1ef9ba
parent8993426e5f383da9750a13f30b4d8b8acd068d42
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