pxa3xx.c (fef1f99a0c2928893c074bf3eff27efd36a4532a) | pxa3xx.c (a58fbcd8ad17ddaa0c7aadbbbd20de4ebc807fa4) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 9 unchanged lines hidden (view full) --- 18#include <linux/init.h> 19#include <linux/pm.h> 20#include <linux/platform_device.h> 21#include <linux/irq.h> 22#include <linux/io.h> 23#include <linux/sysdev.h> 24 25#include <mach/hardware.h> | 1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 9 unchanged lines hidden (view full) --- 18#include <linux/init.h> 19#include <linux/pm.h> 20#include <linux/platform_device.h> 21#include <linux/irq.h> 22#include <linux/io.h> 23#include <linux/sysdev.h> 24 25#include <mach/hardware.h> |
26#include <mach/gpio.h> |
|
26#include <mach/pxa3xx-regs.h> 27#include <mach/reset.h> 28#include <mach/ohci.h> 29#include <mach/pm.h> 30#include <mach/dma.h> 31#include <mach/ssp.h> 32#include <mach/i2c.h> 33 --- 499 unchanged lines hidden (view full) --- 533{ 534 /* enable CP6 access */ 535 u32 value; 536 __asm__ __volatile__("mrc p15, 0, %0, c15, c1, 0\n": "=r"(value)); 537 value |= (1 << 6); 538 __asm__ __volatile__("mcr p15, 0, %0, c15, c1, 0\n": :"r"(value)); 539 540 pxa_init_irq(56, pxa3xx_set_wake); | 27#include <mach/pxa3xx-regs.h> 28#include <mach/reset.h> 29#include <mach/ohci.h> 30#include <mach/pm.h> 31#include <mach/dma.h> 32#include <mach/ssp.h> 33#include <mach/i2c.h> 34 --- 499 unchanged lines hidden (view full) --- 534{ 535 /* enable CP6 access */ 536 u32 value; 537 __asm__ __volatile__("mrc p15, 0, %0, c15, c1, 0\n": "=r"(value)); 538 value |= (1 << 6); 539 __asm__ __volatile__("mcr p15, 0, %0, c15, c1, 0\n": :"r"(value)); 540 541 pxa_init_irq(56, pxa3xx_set_wake); |
541 pxa_init_gpio(128, NULL); | 542 pxa_init_gpio(IRQ_GPIO_2_x, 2, 127, NULL); |
542} 543 544/* 545 * device registration specific to PXA3xx. 546 */ 547 548void __init pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info) 549{ --- 65 unchanged lines hidden --- | 543} 544 545/* 546 * device registration specific to PXA3xx. 547 */ 548 549void __init pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info) 550{ --- 65 unchanged lines hidden --- |