summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/sharpsl_pm.h
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-07-05 00:03:34 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-08-05 14:32:38 +0800
commit04e4ad23541ffef18f1baded24a2675f204c156f (patch)
tree3fde2308b91e49bfb191bc369716fdf36e641f66 /arch/arm/mach-pxa/include/mach/sharpsl_pm.h
parent05732d7eb0d7f74cc300de8f420630757ae46660 (diff)
[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.h9
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 1920dc6b05d..905be6755f0 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