2 * Copyright (c) 2004-2005 Richard Purdie
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 #include <mach/sharpsl_pm.h>
15 struct corgissp_machinfo
{
25 void corgi_ssp_set_machinfo(struct corgissp_machinfo
*machinfo
);
29 * SharpSL/Corgi LCD Driver
31 void corgi_lcdtg_suspend(void);
32 void corgi_lcdtg_hw_init(int mode
);
36 * SharpSL Battery/PM Driver
38 #define READ_GPIO_BIT(x) (GPLR(x) & GPIO_bit(x))
40 /* MAX1111 Channel Definitions */
41 #define MAX1111_BATT_VOLT 4u
42 #define MAX1111_BATT_TEMP 2u
43 #define MAX1111_ACIN_VOLT 6u
45 extern struct battery_thresh spitz_battery_levels_acin
[];
46 extern struct battery_thresh spitz_battery_levels_noac
[];
47 int sharpsl_pm_pxa_read_max1111(int channel
);