diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-06-22 15:04:06 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-07-17 15:00:16 -0400 |
commit | aeb27748e3bc1e89ec590713e574cb6f885cc3c6 (patch) | |
tree | 79a76bb0bd3275173fdf5840db8e0c1683fd0f8b /arch/arm/boot/dts/imx6q.dtsi | |
parent | 41920d16360ebc8c482911078a17d9994fb77612 (diff) |
gpio/mxc: use the edge_sel feature if available
Some mxc processors have an edge_sel feature, which allows the IRQ to be
triggered by any edge.
This patch makes use of this feature if available, which skips mxc_flip_edge().
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Sascha Hauer <kernel@pengutronix.de>
Cc: <linux-arm-kernel@lists.infradead.org>
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q.dtsi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 8c90cbac945f..da78fd83f625 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi | |||
@@ -260,7 +260,7 @@ | |||
260 | }; | 260 | }; |
261 | 261 | ||
262 | gpio1: gpio@0209c000 { | 262 | gpio1: gpio@0209c000 { |
263 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 263 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
264 | reg = <0x0209c000 0x4000>; | 264 | reg = <0x0209c000 0x4000>; |
265 | interrupts = <0 66 0x04 0 67 0x04>; | 265 | interrupts = <0 66 0x04 0 67 0x04>; |
266 | gpio-controller; | 266 | gpio-controller; |
@@ -270,7 +270,7 @@ | |||
270 | }; | 270 | }; |
271 | 271 | ||
272 | gpio2: gpio@020a0000 { | 272 | gpio2: gpio@020a0000 { |
273 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 273 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
274 | reg = <0x020a0000 0x4000>; | 274 | reg = <0x020a0000 0x4000>; |
275 | interrupts = <0 68 0x04 0 69 0x04>; | 275 | interrupts = <0 68 0x04 0 69 0x04>; |
276 | gpio-controller; | 276 | gpio-controller; |
@@ -280,7 +280,7 @@ | |||
280 | }; | 280 | }; |
281 | 281 | ||
282 | gpio3: gpio@020a4000 { | 282 | gpio3: gpio@020a4000 { |
283 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 283 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
284 | reg = <0x020a4000 0x4000>; | 284 | reg = <0x020a4000 0x4000>; |
285 | interrupts = <0 70 0x04 0 71 0x04>; | 285 | interrupts = <0 70 0x04 0 71 0x04>; |
286 | gpio-controller; | 286 | gpio-controller; |
@@ -290,7 +290,7 @@ | |||
290 | }; | 290 | }; |
291 | 291 | ||
292 | gpio4: gpio@020a8000 { | 292 | gpio4: gpio@020a8000 { |
293 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 293 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
294 | reg = <0x020a8000 0x4000>; | 294 | reg = <0x020a8000 0x4000>; |
295 | interrupts = <0 72 0x04 0 73 0x04>; | 295 | interrupts = <0 72 0x04 0 73 0x04>; |
296 | gpio-controller; | 296 | gpio-controller; |
@@ -300,7 +300,7 @@ | |||
300 | }; | 300 | }; |
301 | 301 | ||
302 | gpio5: gpio@020ac000 { | 302 | gpio5: gpio@020ac000 { |
303 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 303 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
304 | reg = <0x020ac000 0x4000>; | 304 | reg = <0x020ac000 0x4000>; |
305 | interrupts = <0 74 0x04 0 75 0x04>; | 305 | interrupts = <0 74 0x04 0 75 0x04>; |
306 | gpio-controller; | 306 | gpio-controller; |
@@ -310,7 +310,7 @@ | |||
310 | }; | 310 | }; |
311 | 311 | ||
312 | gpio6: gpio@020b0000 { | 312 | gpio6: gpio@020b0000 { |
313 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 313 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
314 | reg = <0x020b0000 0x4000>; | 314 | reg = <0x020b0000 0x4000>; |
315 | interrupts = <0 76 0x04 0 77 0x04>; | 315 | interrupts = <0 76 0x04 0 77 0x04>; |
316 | gpio-controller; | 316 | gpio-controller; |
@@ -320,7 +320,7 @@ | |||
320 | }; | 320 | }; |
321 | 321 | ||
322 | gpio7: gpio@020b4000 { | 322 | gpio7: gpio@020b4000 { |
323 | compatible = "fsl,imx6q-gpio", "fsl,imx31-gpio"; | 323 | compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio"; |
324 | reg = <0x020b4000 0x4000>; | 324 | reg = <0x020b4000 0x4000>; |
325 | interrupts = <0 78 0x04 0 79 0x04>; | 325 | interrupts = <0 78 0x04 0 79 0x04>; |
326 | gpio-controller; | 326 | gpio-controller; |