diff options
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/idp.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/idp.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/include/mach/idp.h b/arch/arm/mach-pxa/include/mach/idp.h index 5eff96fcc944..22a96f87232b 100644 --- a/arch/arm/mach-pxa/include/mach/idp.h +++ b/arch/arm/mach-pxa/include/mach/idp.h | |||
@@ -131,28 +131,26 @@ | |||
131 | #define PCC_VS2 (1 << 1) | 131 | #define PCC_VS2 (1 << 1) |
132 | #define PCC_VS1 (1 << 0) | 132 | #define PCC_VS1 (1 << 0) |
133 | 133 | ||
134 | #define PCC_DETECT(x) (GPLR(7 + (x)) & GPIO_bit(7 + (x))) | ||
135 | |||
136 | /* A listing of interrupts used by external hardware devices */ | 134 | /* A listing of interrupts used by external hardware devices */ |
137 | 135 | ||
138 | #define TOUCH_PANEL_IRQ IRQ_GPIO(5) | 136 | #define TOUCH_PANEL_IRQ PXA_GPIO_TO_IRQ(5) |
139 | #define IDE_IRQ IRQ_GPIO(21) | 137 | #define IDE_IRQ PXA_GPIO_TO_IRQ(21) |
140 | 138 | ||
141 | #define TOUCH_PANEL_IRQ_EDGE IRQ_TYPE_EDGE_FALLING | 139 | #define TOUCH_PANEL_IRQ_EDGE IRQ_TYPE_EDGE_FALLING |
142 | 140 | ||
143 | #define ETHERNET_IRQ IRQ_GPIO(4) | 141 | #define ETHERNET_IRQ PXA_GPIO_TO_IRQ(4) |
144 | #define ETHERNET_IRQ_EDGE IRQ_TYPE_EDGE_RISING | 142 | #define ETHERNET_IRQ_EDGE IRQ_TYPE_EDGE_RISING |
145 | 143 | ||
146 | #define IDE_IRQ_EDGE IRQ_TYPE_EDGE_RISING | 144 | #define IDE_IRQ_EDGE IRQ_TYPE_EDGE_RISING |
147 | 145 | ||
148 | #define PCMCIA_S0_CD_VALID IRQ_GPIO(7) | 146 | #define PCMCIA_S0_CD_VALID PXA_GPIO_TO_IRQ(7) |
149 | #define PCMCIA_S0_CD_VALID_EDGE IRQ_TYPE_EDGE_BOTH | 147 | #define PCMCIA_S0_CD_VALID_EDGE IRQ_TYPE_EDGE_BOTH |
150 | 148 | ||
151 | #define PCMCIA_S1_CD_VALID IRQ_GPIO(8) | 149 | #define PCMCIA_S1_CD_VALID PXA_GPIO_TO_IRQ(8) |
152 | #define PCMCIA_S1_CD_VALID_EDGE IRQ_TYPE_EDGE_BOTH | 150 | #define PCMCIA_S1_CD_VALID_EDGE IRQ_TYPE_EDGE_BOTH |
153 | 151 | ||
154 | #define PCMCIA_S0_RDYINT IRQ_GPIO(19) | 152 | #define PCMCIA_S0_RDYINT PXA_GPIO_TO_IRQ(19) |
155 | #define PCMCIA_S1_RDYINT IRQ_GPIO(22) | 153 | #define PCMCIA_S1_RDYINT PXA_GPIO_TO_IRQ(22) |
156 | 154 | ||
157 | 155 | ||
158 | /* | 156 | /* |