Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208633
b: refs/heads/master
c: 04e4ad2
h: refs/heads/master
i:
  208631: 659def2
v: v3
  • Loading branch information
Eric Miao committed Aug 5, 2010
1 parent 37cd0f4 commit ee9b57e
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 74 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 05732d7eb0d7f74cc300de8f420630757ae46660
refs/heads/master: 04e4ad23541ffef18f1baded24a2675f204c156f
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@
#include <mach/udc.h>
#include <mach/pxa2xx_spi.h>
#include <mach/corgi.h>
#include <mach/sharpsl.h>
#include <mach/sharpsl_pm.h>

#include <asm/mach/sharpsl_param.h>
#include <asm/hardware/scoop.h>

#include "generic.h"
#include "devices.h"
#include "sharpsl.h"

static unsigned long corgi_pin_config[] __initdata = {
/* Static Memory I/O */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/corgi_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@
#include <asm/mach-types.h>
#include <mach/hardware.h>

#include <mach/sharpsl.h>
#include <mach/corgi.h>
#include <mach/pxa2xx-regs.h>
#include <mach/sharpsl_pm.h>

#include "generic.h"
#include "sharpsl.h"

#define SHARPSL_CHARGE_ON_VOLT 0x99 /* 2.9V */
#define SHARPSL_CHARGE_ON_TEMP 0xe0 /* 2.9V */
Expand Down
35 changes: 0 additions & 35 deletions trunk/arch/arm/mach-pxa/include/mach/sharpsl.h

This file was deleted.

9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/sharpsl_pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-pxa/poodle.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <mach/irda.h>
#include <mach/poodle.h>
#include <mach/pxafb.h>
#include <mach/sharpsl.h>
#include <mach/pxa2xx_spi.h>
#include <plat/i2c.h>

Expand All @@ -53,7 +52,6 @@

#include "generic.h"
#include "devices.h"
#include "sharpsl.h"

static unsigned long poodle_pin_config[] __initdata = {
/* I/O */
Expand Down
26 changes: 0 additions & 26 deletions trunk/arch/arm/mach-pxa/sharpsl.h

This file was deleted.

3 changes: 0 additions & 3 deletions trunk/arch/arm/mach-pxa/sharpsl_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@
#include <mach/pm.h>
#include <mach/pxa2xx-regs.h>
#include <mach/regs-rtc.h>
#include <mach/sharpsl.h>
#include <mach/sharpsl_pm.h>

#include "sharpsl.h"

/*
* Constants
*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
#include <mach/pxafb.h>
#include <mach/pxa2xx_spi.h>
#include <mach/spitz.h>
#include <mach/sharpsl_pm.h>

#include "generic.h"
#include "devices.h"
#include "sharpsl.h"

static unsigned long spitz_pin_config[] __initdata = {
/* Chip Selects */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mach-pxa/spitz_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
#include <asm/mach-types.h>
#include <mach/hardware.h>

#include <mach/sharpsl.h>
#include <mach/spitz.h>
#include <mach/pxa27x.h>
#include <mach/sharpsl_pm.h>

#include "sharpsl.h"
#include "generic.h"

#define SHARPSL_CHARGE_ON_VOLT 0x99 /* 2.9V */
Expand Down

0 comments on commit ee9b57e

Please sign in to comment.