diff options
author | Eric Miao | 2010-07-04 18:03:34 +0200 |
---|---|---|
committer | Eric Miao | 2010-08-05 08:32:38 +0200 |
commit | 04e4ad23541ffef18f1baded24a2675f204c156f (patch) | |
tree | 3fde2308b91e49bfb191bc369716fdf36e641f66 /arch/arm/mach-pxa/include/mach/sharpsl_pm.h | |
parent | [ARM] pxa: use generic gpio_get_value() instead of READ_GPIO_BIT() (diff) | |
download | kernel-qcow2-linux-04e4ad23541ffef18f1baded24a2675f204c156f.tar.gz kernel-qcow2-linux-04e4ad23541ffef18f1baded24a2675f204c156f.tar.xz kernel-qcow2-linux-04e4ad23541ffef18f1baded24a2675f204c156f.zip |
[ARM] pxa: removed mostly unused and confusing two sharpsl.h
Only a small part of used code is moved into sharpsl_pm.h.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/sharpsl_pm.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/sharpsl_pm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/sharpsl_pm.h b/arch/arm/mach-pxa/include/mach/sharpsl_pm.h index 1920dc6b05dc..905be6755f04 100644 --- a/arch/arm/mach-pxa/include/mach/sharpsl_pm.h +++ b/arch/arm/mach-pxa/include/mach/sharpsl_pm.h @@ -93,6 +93,8 @@ struct sharpsl_pm_status { extern struct sharpsl_pm_status sharpsl_pm; +extern struct battery_thresh sharpsl_battery_levels_acin[]; +extern struct battery_thresh sharpsl_battery_levels_noac[]; #define SHARPSL_LED_ERROR 2 #define SHARPSL_LED_ON 1 @@ -101,4 +103,11 @@ extern struct sharpsl_pm_status sharpsl_pm; void sharpsl_battery_kick(void); void sharpsl_pm_led(int val); +/* MAX1111 Channel Definitions */ +#define MAX1111_BATT_VOLT 4u +#define MAX1111_BATT_TEMP 2u +#define MAX1111_ACIN_VOLT 6u +int sharpsl_pm_pxa_read_max1111(int channel); + +void corgi_lcd_limit_intensity(int limit); #endif |