diff options
Diffstat (limited to 'drivers/power/pm2301_charger.h')
-rw-r--r-- | drivers/power/pm2301_charger.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/power/pm2301_charger.h b/drivers/power/pm2301_charger.h index fad1f387f8f4..8ce3cc0195df 100644 --- a/drivers/power/pm2301_charger.h +++ b/drivers/power/pm2301_charger.h | |||
@@ -9,27 +9,6 @@ | |||
9 | #ifndef PM2301_CHARGER_H | 9 | #ifndef PM2301_CHARGER_H |
10 | #define PM2301_CHARGER_H | 10 | #define PM2301_CHARGER_H |
11 | 11 | ||
12 | #define MAIN_WDOG_ENA 0x01 | ||
13 | #define MAIN_WDOG_KICK 0x02 | ||
14 | #define MAIN_WDOG_DIS 0x00 | ||
15 | #define CHARG_WD_KICK 0x01 | ||
16 | #define MAIN_CH_ENA 0x01 | ||
17 | #define MAIN_CH_NO_OVERSHOOT_ENA_N 0x02 | ||
18 | #define MAIN_CH_DET 0x01 | ||
19 | #define MAIN_CH_CV_ON 0x04 | ||
20 | #define OTP_ENABLE_WD 0x01 | ||
21 | |||
22 | #define MAIN_CH_INPUT_CURR_SHIFT 4 | ||
23 | |||
24 | #define LED_INDICATOR_PWM_ENA 0x01 | ||
25 | #define LED_INDICATOR_PWM_DIS 0x00 | ||
26 | #define LED_IND_CUR_5MA 0x04 | ||
27 | #define LED_INDICATOR_PWM_DUTY_252_256 0xBF | ||
28 | |||
29 | /* HW failure constants */ | ||
30 | #define MAIN_CH_TH_PROT 0x02 | ||
31 | #define MAIN_CH_NOK 0x01 | ||
32 | |||
33 | /* Watchdog timeout constant */ | 12 | /* Watchdog timeout constant */ |
34 | #define WD_TIMER 0x30 /* 4min */ | 13 | #define WD_TIMER 0x30 /* 4min */ |
35 | #define WD_KICK_INTERVAL (30 * HZ) | 14 | #define WD_KICK_INTERVAL (30 * HZ) |
@@ -495,7 +474,6 @@ struct pm2xxx_charger { | |||
495 | int failure_input_ovv; | 474 | int failure_input_ovv; |
496 | unsigned int lpn_pin; | 475 | unsigned int lpn_pin; |
497 | struct pm2xxx_interrupts *pm2_int; | 476 | struct pm2xxx_interrupts *pm2_int; |
498 | struct ab8500_gpadc *gpadc; | ||
499 | struct regulator *regu; | 477 | struct regulator *regu; |
500 | struct pm2xxx_bm_data *bat; | 478 | struct pm2xxx_bm_data *bat; |
501 | struct mutex lock; | 479 | struct mutex lock; |