mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
639b91a364
The only use of corgi_ssp.c is corgi_ts.c, which is now deprecated and removed. Remove corgi_ssp.c and corgi_lcd.c and their relevant function declarations and data structures. Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Pavel Machek <pavel@ucw.cz>
27 lines
658 B
C
27 lines
658 B
C
/*
|
|
* Copyright (c) 2004-2005 Richard Purdie
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
|
|
#include <mach/sharpsl_pm.h>
|
|
|
|
/*
|
|
* SharpSL Battery/PM Driver
|
|
*/
|
|
#define READ_GPIO_BIT(x) (GPLR(x) & GPIO_bit(x))
|
|
|
|
/* MAX1111 Channel Definitions */
|
|
#define MAX1111_BATT_VOLT 4u
|
|
#define MAX1111_BATT_TEMP 2u
|
|
#define MAX1111_ACIN_VOLT 6u
|
|
|
|
extern struct battery_thresh sharpsl_battery_levels_acin[];
|
|
extern struct battery_thresh sharpsl_battery_levels_noac[];
|
|
int sharpsl_pm_pxa_read_max1111(int channel);
|
|
|
|
|