
28 Aug
2013
28 Aug
'13
3:57 p.m.
On Wed, Jul 24, 2013 at 04:56:35PM +0300, Oleg Kosheliev wrote:
From: Oleg Kosheliev oleg.kosheliev@ti.com
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
[snip]
+typedef enum {
- chip_TWL6030,
- chip_TWL603X_cnt
+}t_TWL603X_chip_type;
+struct twl6030_data{
- t_TWL603X_chip_type chip_type;
No new typedefs.
--
Tom