Javier Martinez Canillas
a71eb61c9d
ARM: OMAP3: igep0020: set GPIO mode for mux mcspi1_cs2 pin
According to the IGEPv2 Rev.C data-sheet the LAN9221i pin 14 (IRQ) is
connected to the OMAP3730 mcspi1_cs2 pin. Since this omap mux pin acts
as an IRQ line, it has to be configured as an input GPIO.
IGEPv2 platform code sets the smsc911x_cfg->gpio_irq to GPIO 176 but
since the mux pin default mode is MODE7 (safe_mode) the driver fails
when trying to register the IRQ with the following error message:
[ 1.994598] smsc911x: Driver version 2008-10-21
[ 3.704162] irq 272: nobody cared (try booting with the "irqpoll" option)
[ 3.711364] [<c001a114>] (unwind_backtrace+0x0/0xf0) from [<c009a0d4>] (__report_bad_irq+0x20/0xbc)
[ 3.720916] [<c009a0d4>] (__report_bad_irq+0x20/0xbc) from [<c009a41c>] (note_interrupt+0x1d8/0x238)
[ 3.730560] [<c009a41c>] (note_interrupt+0x1d8/0x238) from [<c0098234>] (handle_irq_event_percpu+0xc0/0x260)
[ 3.740936] [<c0098234>] (handle_irq_event_percpu+0xc0/0x260) from [<c0098410>] (handle_irq_event+0x3c/0x5c)
[ 3.751312] [<c0098410>] (handle_irq_event+0x3c/0x5c) from [<c009abe0>] (handle_level_irq+0xac/0x10c)
[ 3.761047] [<c009abe0>] (handle_level_irq+0xac/0x10c) from [<c0097a34>] (generic_handle_irq+0x30/0x48)
[ 3.770935] [<c0097a34>] (generic_handle_irq+0x30/0x48) from [<c02a6b74>] (gpio_irq_handler+0x180/0x1d4)
[ 3.780944] [<c02a6b74>] (gpio_irq_handler+0x180/0x1d4) from [<c0097a34>] (generic_handle_irq+0x30/0x48)
[ 3.790954] [<c0097a34>] (generic_handle_irq+0x30/0x48) from [<c0013e18>] (handle_IRQ+0x4c/0xac)
[ 3.800231] [<c0013e18>] (handle_IRQ+0x4c/0xac) from [<c000858c>] (omap3_intc_handle_irq+0x60/0x74)
[ 3.809783] [<c000858c>] (omap3_intc_handle_irq+0x60/0x74) from [<c04979e4>] (__irq_svc+0x44/0x60)
[ 3.819213] Exception stack(0xee42fde0 to 0xee42fe28)
[ 3.824554] fde0: 00000001 00000001 00000000 00000000 60000013 c06cce14 c06cce14 00000110
[ 3.833190] fe00: 00000000 c06ccdf4 60000013 ee41d000 fb058064 ee42fe28 c0089e08 c04976b4
[ 3.841796] fe20: 20000013 ffffffff
[ 3.845489] [<c04979e4>] (__irq_svc+0x44/0x60) from [<c04976b4>] (_raw_spin_unlock_irqrestore+0x34/0x44)
[ 3.855499] [<c04976b4>] (_raw_spin_unlock_irqrestore+0x34/0x44) from [<c0099744>] (__setup_irq+0x1b8/0x3f0)
[ 3.865875] [<c0099744>] (__setup_irq+0x1b8/0x3f0) from [<c0099a34>] (request_threaded_irq+0xb8/0x140)
[ 3.875701] [<c0099a34>] (request_threaded_irq+0xb8/0x140) from [<c0487950>] (smsc911x_drv_probe+0x75c/0x11a4)
[ 3.886260] [<c0487950>] (smsc911x_drv_probe+0x75c/0x11a4) from [<c02e9bcc>] (platform_drv_probe+0x18/0x1c)
[ 3.906707] [<c02e89b8>] (driver_probe_device+0x90/0x210) from [<c02e8bcc>] (__driver_attach+0x94/0x98)
[ 3.916625] [<c02e8bcc>] (__driver_attach+0x94/0x98) from [<c02e7298>] (bus_for_each_dev+0x50/0x7c)
[ 3.926177] [<c02e7298>] (bus_for_each_dev+0x50/0x7c) from [<c02e81d4>] (bus_add_driver+0x184/0x248)
[ 3.935821] [<c02e81d4>] (bus_add_driver+0x184/0x248) from [<c02e909c>] (driver_register+0x78/0x12c)
[ 3.945465] [<c02e909c>] (driver_register+0x78/0x12c) from [<c0008648>] (do_one_initcall+0x34/0x178)
[ 3.955108] [<c0008648>] (do_one_initcall+0x34/0x178) from [<c066e8f4>] (kernel_init+0xfc/0x1c0)
[ 3.964385] [<c066e8f4>] (kernel_init+0xfc/0x1c0) from [<c00140b0>] (kernel_thread_exit+0x0/0x8)
[ 3.973632] handlers:
[ 3.976043] [<c034e2cc>] smsc911x_irqhandler
[ 3.980560] Disabling IRQ #272
Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Tested-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2012-08-07 00:01:42 -07:00
..
2012-07-23 16:31:31 -07:00
2012-06-27 14:59:57 -06:00
2012-03-05 11:08:36 -08:00
2012-07-23 16:04:15 -07:00
2012-05-26 13:14:01 -07:00
2012-05-08 20:36:20 +08:00
2012-07-09 05:07:17 -07:00
2012-05-26 13:14:01 -07:00
2012-05-26 13:14:01 -07:00
2012-07-24 13:34:56 -07:00
2012-07-02 04:09:06 -07:00
2012-05-08 20:36:20 +08:00
2012-05-26 13:14:01 -07:00
2012-06-26 03:29:57 -07:00
2012-05-09 14:19:14 -07:00
2012-07-09 19:14:39 +05:30
2012-06-04 00:57:22 -07:00
2012-08-07 00:01:42 -07:00
2012-05-08 20:36:20 +08:00
2012-07-31 12:06:23 +01:00
2012-06-29 06:07:08 -07:00
2012-07-09 23:22:24 -07:00
2012-06-19 15:24:34 -07:00
2012-05-08 20:36:20 +08:00
2012-05-26 13:14:01 -07:00
2012-05-08 20:36:20 +08:00
2012-07-24 13:34:56 -07:00
2012-07-02 04:58:47 -07:00
2012-05-08 20:36:20 +08:00
2012-06-04 02:41:54 -07:00
2011-05-26 12:11:54 -07:00
2012-05-26 13:14:01 -07:00
2012-05-08 20:36:20 +08:00
2012-04-03 10:33:19 -07:00
2012-04-13 06:34:26 -06:00
2012-03-29 10:16:04 -07:00
2012-05-08 20:36:20 +08:00
2011-03-07 20:02:13 -07:00
2011-03-07 20:02:05 -07:00
2010-12-21 21:05:14 -07:00
2011-03-07 20:02:21 -07:00
2010-12-21 20:01:55 -07:00
2012-04-14 17:49:07 -07:00
2011-05-13 07:08:18 -07:00
2012-03-07 17:29:34 -08:00
2012-02-24 10:34:35 -08:00
2011-03-07 20:03:12 -07:00
2012-02-24 10:34:35 -08:00
2011-03-09 18:44:28 -07:00
2012-07-26 10:23:47 -07:00
2012-02-24 10:34:35 -08:00
2010-02-24 12:16:15 -07:00
2012-07-05 08:18:04 -07:00
2011-03-07 20:04:03 -07:00
2011-03-07 20:04:03 -07:00
2010-02-24 12:16:15 -07:00
2010-02-24 12:16:15 -07:00
2012-07-10 17:41:13 +02:00
2011-10-07 00:52:58 -06:00
2012-07-23 16:21:23 -07:00
2012-07-23 16:21:23 -07:00
2012-02-24 10:34:35 -08:00
2011-03-07 20:04:03 -07:00
2010-02-24 12:16:15 -07:00
2012-06-26 20:57:22 -06:00
2012-07-05 08:05:15 -07:00
2012-06-29 16:16:40 -06:00
2011-09-14 16:01:21 -06:00
2012-06-18 12:08:06 -06:00
2012-07-04 03:45:53 -06:00
2012-05-07 23:55:38 -06:00
2012-07-23 16:08:40 -07:00
2012-07-05 17:25:38 -07:00
2012-07-23 16:04:15 -07:00
2012-06-18 12:08:06 -06:00
2012-07-23 16:04:15 -07:00
2012-06-19 15:01:02 -06:00
2012-06-19 15:01:02 -06:00
2011-07-09 19:15:05 -06:00
2011-07-09 19:15:05 -06:00
2012-03-07 09:03:03 -08:00
2011-03-07 20:02:13 -07:00
2012-06-18 12:08:06 -06:00
2012-06-18 12:08:06 -06:00
2012-02-24 10:34:35 -08:00
2011-07-10 05:56:30 -06:00
2011-03-07 20:02:57 -07:00
2012-06-18 12:08:06 -06:00
2012-06-27 14:53:46 -06:00
2011-07-26 17:09:31 -07:00
2012-06-21 18:08:47 -06:00
2012-07-04 03:45:53 -06:00
2012-07-04 05:04:00 -06:00
2012-07-23 17:34:48 -07:00
2012-07-06 01:37:25 -07:00
2012-07-09 19:14:39 +05:30
2012-07-09 19:14:39 +05:30
2012-06-18 16:18:09 -06:00
2012-07-23 16:08:40 -07:00
2012-07-23 17:43:53 -07:00
2012-08-02 11:48:54 -07:00
2012-07-23 17:43:53 -07:00
2011-03-22 04:53:42 -03:00
2012-06-29 10:37:53 +03:00
2011-11-08 03:16:46 -07:00
2012-05-08 11:54:24 +05:30
2012-07-05 08:05:15 -07:00
2011-10-07 00:52:58 -06:00
2012-07-02 04:05:57 -07:00
2012-06-28 05:47:01 -07:00
2012-02-28 17:33:41 -08:00
2012-05-24 14:01:46 -07:00
2012-02-24 10:34:35 -08:00
2012-04-17 15:50:47 -06:00
2011-05-12 02:52:06 -07:00
2012-04-03 10:31:34 -07:00
2012-07-09 19:14:39 +05:30
2012-06-21 21:40:38 -06:00
2012-07-31 12:06:23 +01:00
2012-03-28 20:59:45 -07:00
2012-05-13 16:11:29 +03:00
2011-11-17 17:09:30 +00:00
2012-07-09 19:14:39 +05:30
2012-07-23 17:51:03 -07:00
2012-07-09 19:14:39 +05:30
2011-08-26 11:46:01 +02:00
2012-07-23 16:31:31 -07:00
2012-08-02 11:48:54 -07:00
2012-06-28 00:07:30 -07:00
2012-07-23 17:51:03 -07:00
2011-10-17 09:12:40 +01:00
2012-03-27 15:55:54 -07:00
2012-06-26 03:14:20 -07:00
2011-01-06 19:58:28 -08:00
2009-12-11 16:16:33 -08:00
2011-06-01 02:25:04 -07:00
2010-11-17 12:01:52 +01:00
2010-11-17 12:01:54 +01:00
2010-07-05 16:31:36 +03:00
2010-11-17 12:01:54 +01:00
2011-03-31 11:26:23 -03:00
2012-06-23 16:16:29 -07:00
2012-06-05 04:04:11 -07:00
2012-07-09 19:14:39 +05:30
2012-07-09 19:14:39 +05:30
2012-05-08 17:25:36 -06:00
2012-05-08 17:25:36 -06:00
2012-04-19 04:25:06 -06:00
2012-06-14 02:39:47 -07:00
2012-07-23 17:43:53 -07:00
2012-07-23 17:43:53 -07:00
2012-06-20 20:11:36 -06:00
2012-06-20 20:11:36 -06:00
2012-07-04 06:05:51 -06:00
2012-05-08 17:25:36 -06:00
2012-07-23 17:43:53 -07:00
2011-11-23 14:45:37 -08:00
2012-07-09 19:14:39 +05:30
2012-06-06 01:42:20 -07:00
2011-09-24 13:28:57 +05:30
2011-03-10 22:17:45 -07:00
2012-06-20 07:18:15 -07:00
2011-09-15 12:09:37 -07:00
2012-07-09 19:14:39 +05:30
2012-07-09 19:14:39 +05:30
2012-05-13 16:09:46 +03:00
2012-07-24 13:34:56 -07:00
2012-04-13 06:34:26 -06:00
2011-12-08 11:29:00 -08:00
2012-07-27 15:14:26 -07:00
2012-07-09 19:14:39 +05:30
2011-12-13 10:46:43 -08:00
2011-03-11 09:39:58 -08:00
2011-03-11 09:39:58 -08:00
2012-02-24 10:34:35 -08:00
2012-02-24 10:34:35 -08:00
2012-06-19 15:23:29 -07:00
2012-05-26 13:14:01 -07:00
2012-07-23 17:43:53 -07:00
2012-05-08 20:36:20 +08:00
2012-03-05 15:38:02 -08:00
2012-05-08 20:36:20 +08:00
2012-07-23 17:43:53 -07:00
2012-03-07 17:29:34 -08:00
2012-06-18 12:08:06 -06:00
2012-03-08 10:48:12 -08:00
2012-03-07 17:29:34 -08:00
2012-07-23 17:43:53 -07:00
2012-07-23 17:43:53 -07:00
2011-09-15 11:39:10 -07:00
2010-12-21 21:05:16 -07:00
2011-09-15 11:39:10 -07:00
2012-06-28 00:12:35 -06:00
2012-06-18 12:08:06 -06:00
2011-09-15 11:39:10 -07:00
2010-12-21 21:05:14 -07:00
2012-02-24 10:34:35 -08:00
2011-07-09 19:15:06 -06:00
2012-07-23 17:43:53 -07:00
2012-07-09 19:14:39 +05:30
2012-06-29 07:19:52 -07:00
2012-07-23 17:43:53 -07:00
2012-06-18 12:08:06 -06:00
2012-06-18 12:08:06 -06:00
2012-06-22 08:40:03 -06:00
2012-06-22 08:40:03 -06:00
2012-07-23 16:22:12 -07:00
2010-12-21 20:01:55 -07:00
2012-06-18 12:08:06 -06:00
2010-12-21 20:01:55 -07:00
2011-07-08 02:18:24 -07:00
2010-12-21 20:01:55 -07:00
2012-05-07 23:55:22 -06:00
2011-07-10 05:56:31 -06:00
2010-12-21 20:01:54 -07:00
2009-11-22 10:24:33 -08:00
2009-10-20 09:40:47 -07:00
2012-02-24 10:34:35 -08:00
2010-12-17 15:13:44 -08:00
2010-02-17 17:23:20 -08:00
2009-10-20 09:40:47 -07:00
2012-03-07 09:03:03 -08:00
2011-11-17 17:09:30 +00:00
2010-12-21 14:45:56 -08:00
2012-06-05 04:04:11 -07:00
2012-02-24 10:34:35 -08:00
2012-02-24 10:34:35 -08:00
2012-03-28 18:30:01 +01:00
2012-05-31 16:03:44 -07:00
2012-07-24 13:34:56 -07:00
2012-02-24 10:34:35 -08:00
2012-02-24 10:34:35 -08:00
2012-02-24 10:34:35 -08:00
2012-08-02 11:48:54 -07:00
2012-07-24 13:34:56 -07:00
2012-05-09 14:19:16 -07:00
2012-04-03 11:08:37 -07:00
2012-06-20 07:18:15 -07:00
2012-06-20 07:18:15 -07:00
2012-03-06 17:35:24 -08:00
2011-11-17 17:09:30 +00:00
2012-03-08 10:48:12 -08:00
2011-09-15 12:09:22 -07:00
2012-03-06 17:37:14 -08:00
2012-07-23 17:43:53 -07:00
2011-09-15 11:39:10 -07:00
2012-05-10 09:39:42 -07:00
2012-06-18 00:47:26 -06:00
2012-02-21 09:36:34 +00:00
2011-11-17 17:09:30 +00:00
2011-11-17 17:09:30 +00:00
2012-03-06 16:13:50 -08:00
2011-09-15 12:09:08 -07:00
2012-05-08 17:25:37 -06:00
2012-05-08 17:25:37 -06:00