#include <linux/module.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/gpio-pxa.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/apm-emulation.h>
#include <linux/io.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/corgi.h>
#include <mach/pxa2xx-regs.h>
#include <mach/sharpsl_pm.h>
#include "generic.h"
Go to the source code of this file.
#define SHARPSL_CHARGE_ON_ACIN_HIGH 0x9b /* 6V */ |
#define SHARPSL_CHARGE_ON_ACIN_LOW 0x34 /* 2V */ |
#define SHARPSL_CHARGE_ON_TEMP 0xe0 /* 2.9V */ |
#define SHARPSL_CHARGE_ON_VOLT 0x99 /* 2.9V */ |
#define SHARPSL_FATAL_ACIN_VOLT 182 /* 3.45V */ |
#define SHARPSL_FATAL_NOACIN_VOLT 170 /* 3.40V */ |
unsigned long corgipm_read_devdata |
( |
int |
type | ) |
|
module_exit |
( |
corgipm_exit |
| ) |
|
module_init |
( |
corgipm_init |
| ) |
|