Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119442
b: refs/heads/master
c: 7953031
h: refs/heads/master
v: v3
  • Loading branch information
Tony Lindgren committed Nov 25, 2008
1 parent 910a614 commit 1774240
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 349 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: 47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185
refs/heads/master: 7953031da4200323ab5d85bd514054ca4ba9d225
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/include/mach/pxafb.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#define LCD_CONN_TYPE(_x) ((_x) & 0x0f)
#define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f)

#define LCD_TYPE_MASK 0xf
#define LCD_TYPE_UNKNOWN 0
#define LCD_TYPE_MONO_STN 1
#define LCD_TYPE_MONO_DSTN 2
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/mioa701.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static int mioa701_sys_suspend(struct sys_device *sysdev, pm_message_t state)
u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR);

/* Devices prepare suspend */
is_bt_on = !!gpio_get_value(GPIO83_BT_ON);
is_bt_on = gpio_get_value(GPIO83_BT_ON);
pxa2xx_mfp_set_lpm(GPIO83_BT_ON,
is_bt_on ? MFP_LPM_DRIVE_HIGH : MFP_LPM_DRIVE_LOW);

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-pxa/mioa701_bootresume.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ENTRY(mioa701_jumpaddr)
1:
mov r0, #0xa0000000 @ Don't suppose memory access works
orr r0, r0, #0x00200000 @ even if it's supposed to
orr r0, r0, #0x0000b000
mov r1, #0
str r1, [r0] @ Early disable resume for next boot
ldr r0, mioa701_jumpaddr @ (Murphy's Law)
Expand Down
7 changes: 3 additions & 4 deletions trunk/arch/arm/mach-pxa/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ void arch_reset(char mode)
/* Jump into ROM at address 0 */
cpu_reset(0);
break;
case 'g':
do_gpio_reset();
break;
case 'h':
default:
do_hw_reset();
break;
case 'g':
do_gpio_reset();
break;
}
}

4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
static unsigned long spitz_pin_config[] __initdata = {
/* Chip Selects */
GPIO78_nCS_2, /* SCOOP #2 */
GPIO79_nCS_3, /* NAND */
GPIO80_nCS_4, /* SCOOP #1 */

/* LCD - 16bpp Active TFT */
Expand Down Expand Up @@ -98,10 +97,10 @@ static unsigned long spitz_pin_config[] __initdata = {
GPIO51_nPIOW,
GPIO85_nPCE_1,
GPIO54_nPCE_2,
GPIO79_PSKTSEL,
GPIO55_nPREG,
GPIO56_nPWAIT,
GPIO57_nIOIS16,
GPIO104_PSKTSEL,

/* MMC */
GPIO32_MMC_CLK,
Expand Down Expand Up @@ -687,6 +686,7 @@ static void __init akita_init(void)
spitz_pcmcia_config.num_devs = 1;
platform_scoop_config = &spitz_pcmcia_config;

pxa_set_i2c_info(NULL);
i2c_register_board_info(0, ARRAY_AND_SIZE(akita_i2c_board_info));

common_init();
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/usb/gadget/pxa25x_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ static int is_vbus_present(void)

if (mach->gpio_vbus) {
int value = gpio_get_value(mach->gpio_vbus);

if (mach->gpio_vbus_inverted)
return !value;
else
return !!value;
return mach->gpio_vbus_inverted ? !value : value;
}
if (mach->udc_is_connected)
return mach->udc_is_connected();
Expand Down Expand Up @@ -986,7 +982,7 @@ static int pxa25x_udc_vbus_session(struct usb_gadget *_gadget, int is_active)
struct pxa25x_udc *udc;

udc = container_of(_gadget, struct pxa25x_udc, gadget);
udc->vbus = is_active;
udc->vbus = (is_active != 0);
DMSG("vbus %s\n", is_active ? "supplied" : "inactive");
pullup(udc);
return 0;
Expand Down Expand Up @@ -1403,8 +1399,12 @@ lubbock_vbus_irq(int irq, void *_dev)
static irqreturn_t udc_vbus_irq(int irq, void *_dev)
{
struct pxa25x_udc *dev = _dev;
int vbus = gpio_get_value(dev->mach->gpio_vbus);

pxa25x_udc_vbus_session(&dev->gadget, is_vbus_present());
if (dev->mach->gpio_vbus_inverted)
vbus = !vbus;

pxa25x_udc_vbus_session(&dev->gadget, vbus);
return IRQ_HANDLED;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/video/omap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ objs-y$(CONFIG_MACH_OMAP_PALMZ71) += lcd_palmz71.o
objs-$(CONFIG_ARCH_OMAP16XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1610.o
objs-$(CONFIG_ARCH_OMAP15XX)$(CONFIG_MACH_OMAP_INNOVATOR) += lcd_inn1510.o
objs-y$(CONFIG_MACH_OMAP_OSK) += lcd_osk.o
objs-y$(CONFIG_MACH_SX1) += lcd_sx1.o

omapfb-objs := $(objs-yy)

Loading

0 comments on commit 1774240

Please sign in to comment.