ARMV7: OMAP4: Add struct for twl603x data
authorOleg Kosheliev <oleg.kosheliev@ti.com>
Tue, 8 Oct 2013 12:49:55 +0000 (15:49 +0300)
committerTom Rini <trini@ti.com>
Wed, 4 Dec 2013 13:11:28 +0000 (08:11 -0500)
commitfc8895035b0d00d22d4edc6b327cb1805baa5872
tree2a3d437aedabded5b409f7de2f427a028e4a2661
parent87b94a43d69ec0760b94f2753b7cafc6cb14b034
ARMV7: OMAP4: Add struct for twl603x data

The data struct is used to support different
PMIC chip types. It contains the chip type and
the data (e.g. registers addresses, adc multiplier)
which is different for twl6030 and twl6032.
Replaced some hardcoded values with the
structure vars.

Based on Balaji T K <balajitk@ti.com> patches for TI u-boot.

Signed-off-by: Oleg Kosheliev <oleg.kosheliev@ti.com>
drivers/power/twl6030.c
include/twl6030.h