Philip Avinash
f1a4c52ff5
ARM: davinci: gpio: use gpiolib API instead of inline functions
...
Remove NEED_MACH_GPIO_H config select option for ARCH_DAVINCI
to start using gpiolib interface for davinci platforms. This makes
it easier to use the gpio driver on other platforms as it breaks
dependency on mach-davinci.
Latencies for gpio_get/set APIs will increase. On measurement,
latency was found to have increased by 18 microsecond with
gpiolib API as compared to inline APIs.
Measurement was done on DA850 EVM for gpio_get_value() API by
taking the printk timing across the call with interrupts disabled.
inline gpio API with interrupt disabled
[ 29.734337] before gpio_get
[ 29.736847] after gpio_get
Time difference 0.00251
gpio library with interrupt disabled
[ 272.876763] before gpio_get
[ 272.879291] after gpio_get
Time difference 0.002528
Latency increased by (0.002528 - 0.00251) = 18 microsecond.
While at it, remove GPIO_TYPE_DAVINCI enum definition as
gpio-davinci.c is converted to Linux device driver model.
Signed-off-by: Philip Avinash <avinashphilip@ti.com >
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
[nsekhar@ti.com: minor edits to commit message]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2013-09-25 04:16:37 +05:30
..
2013-09-02 11:49:56 +05:30
2013-08-26 14:09:03 -04:00
2012-10-17 12:31:15 +01:00
2013-08-21 09:28:29 +02:00
2013-09-09 11:15:49 -07:00
2013-08-14 13:55:15 +05:30
2013-08-05 08:52:45 +09:00
2013-08-19 14:20:21 +05:30
2013-09-06 13:21:16 -07:00
2013-08-17 19:34:52 +01:00
2013-07-10 11:10:27 -07:00
2013-09-09 16:35:29 -07:00
2013-09-10 13:33:09 -07:00
2013-09-05 14:54:29 -07:00
2013-08-15 15:42:57 -07:00
2013-08-26 11:32:07 -04:00
2013-08-30 21:37:01 +01:00
2013-09-16 20:35:55 +02:00
2013-08-28 13:34:41 +02:00
2013-09-25 04:16:37 +05:30
2013-08-30 17:34:52 -07:00
2013-09-10 13:03:41 -07:00
2013-09-01 13:50:20 +01:00
2013-09-10 13:33:09 -07:00
2013-09-10 20:04:59 -07:00
2013-09-05 14:54:29 -07:00
2013-08-02 12:33:54 -07:00
2013-07-31 14:20:39 +02:00
2011-06-06 22:55:11 -07:00
2012-10-08 13:50:19 +10:30
2012-10-08 13:50:20 +10:30
2013-03-12 13:59:14 -07:00
2013-08-25 09:39:12 -04:00
2012-12-02 00:05:12 +00:00
2012-10-09 16:22:46 +09:00
2012-03-16 10:38:24 -04:00
2010-12-06 15:58:43 -05:00
2013-09-11 15:58:04 -07:00
2013-07-03 16:07:43 -07:00
2012-09-10 11:13:16 -07:00
2013-09-11 15:59:04 -07:00
2012-03-04 17:54:34 -05:00
2011-08-03 11:30:42 -04:00
2012-03-23 16:58:34 -07:00
2013-09-21 13:57:47 -06:00
2009-01-04 13:33:20 -08:00
2008-11-28 12:38:38 +01:00
2013-09-04 09:23:46 -04:00
2010-03-03 11:25:58 +01:00
2013-08-30 23:44:11 -07:00
2011-01-13 08:03:17 -08:00
2013-08-26 18:40:56 -04:00
2013-08-19 12:27:17 -07:00
2013-08-27 17:50:38 -07:00
2012-05-02 09:30:32 +01:00
2013-05-16 11:09:18 +02:00
2013-09-11 15:56:57 -07:00
2013-09-11 15:58:25 -07:00
2010-08-10 13:47:42 -07:00
2013-05-20 12:27:59 -07:00
2008-06-04 14:56:12 +01:00
2013-08-14 17:14:51 +02:00
2013-08-14 17:14:54 +02:00
2013-09-13 15:09:52 +02:00
2013-08-27 01:44:40 +02:00
2013-09-10 02:54:50 +02:00
2013-09-11 15:59:10 -07:00
2013-09-07 12:56:26 +10:00
2009-09-10 10:00:05 -07:00
2013-09-10 18:56:29 -04:00
2013-05-12 14:16:21 +02:00
2013-08-27 22:09:12 -07:00
2013-08-18 17:39:55 -07:00
2013-06-03 20:20:29 +09:00
2013-09-05 20:46:06 -04:00
2013-09-09 10:26:33 -07:00
2013-08-02 12:33:54 -07:00
2013-08-27 09:18:29 +02:00
2013-08-29 21:55:23 -04:00
2013-09-10 13:37:36 -07:00
2007-02-09 17:39:36 -05:00
2012-05-07 14:35:00 +02:00
2010-07-28 09:59:01 -04:00
2013-06-28 16:04:36 +02:00
2013-07-06 14:09:38 -07:00
2013-01-17 12:19:09 -08:00
2011-11-29 12:46:19 -05:00
2013-03-03 23:59:59 -08:00
2008-01-28 23:21:18 +01:00
2013-07-15 11:25:00 +09:30
2012-10-13 10:46:48 +01:00
2013-09-03 20:57:49 -04:00
2012-10-13 10:46:48 +01:00
2013-09-07 19:54:57 -04:00
2012-11-22 13:43:27 +09:00
2013-08-26 20:15:23 +09:00
2012-10-13 10:46:48 +01:00
2013-06-27 16:53:30 +08:00
2009-06-18 19:50:21 +08:00
2012-10-13 10:46:48 +01:00
2011-05-26 17:12:33 -07:00
2013-06-19 20:30:32 -07:00
2013-08-22 22:13:54 -07:00
2009-12-17 10:58:17 -05:00
2013-09-12 10:12:47 -07:00
2013-09-13 23:06:40 -04:00
2013-09-06 09:17:30 +01:00
2013-09-06 09:17:30 +01:00
2013-09-03 07:41:11 +02:00
2013-09-11 15:57:35 -07:00
2012-11-08 16:58:30 +01:00
2006-09-30 01:47:55 +02:00
2013-09-13 15:09:52 +02:00
2013-08-30 08:42:01 +10:00
2013-04-30 10:09:06 +02:00
2013-08-26 13:46:11 +02:00
2013-08-26 13:46:11 +02:00
2013-09-13 15:11:21 +02:00
2013-08-26 21:40:24 +02:00
2013-03-22 16:19:59 -07:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:57:49 -07:00
2013-08-02 11:34:30 +08:00
2013-08-23 10:22:29 +02:00
2013-08-26 09:30:03 -07:00
2013-08-29 14:08:24 -04:00
2008-07-09 12:09:28 -04:00
2013-08-22 20:30:15 -07:00
2013-09-11 15:59:37 -07:00
2011-01-31 21:17:41 -08:00
2012-11-10 00:40:24 -08:00
2013-09-13 15:09:52 +02:00
2012-10-09 16:22:40 +09:00
2012-10-09 16:22:39 +09:00
2013-08-14 11:38:34 +02:00
2012-12-09 00:20:28 -05:00
2013-09-11 15:59:42 -07:00
2013-08-29 15:32:08 -04:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-08-09 10:49:00 +02:00
2013-08-20 11:46:54 -07:00
2013-08-09 07:53:54 -07:00
2013-08-09 07:53:54 -07:00
2012-05-31 17:49:32 -07:00
2013-04-29 15:42:02 -04:00
2012-10-13 10:46:48 +01:00
2013-09-13 15:09:52 +02:00
2013-08-02 22:38:10 -04:00
2012-10-13 10:46:48 +01:00
2013-08-28 21:35:14 -07:00
2013-09-11 15:58:52 -07:00
2013-09-17 12:52:31 +03:00
2013-08-25 09:39:12 -04:00
2013-01-06 01:11:25 -08:00
2013-09-10 18:56:32 -04:00
2013-09-07 15:49:18 -07:00
2013-03-22 22:17:36 -06:00
2013-09-11 15:59:45 -07:00
2013-08-23 09:02:14 -04:00
2011-01-10 19:04:08 +01:00
2013-08-06 14:10:45 +00:00
2013-09-11 15:57:51 -07:00
2013-09-12 15:38:02 -07:00
2013-06-01 22:24:07 +02:00
2013-08-21 11:52:20 -07:00
2013-09-11 15:57:48 -07:00
2013-08-22 23:20:54 +08:00
2013-09-13 10:55:58 -07:00
2012-12-01 10:07:54 +00:00
2013-09-11 15:58:01 -07:00
2013-09-13 10:55:58 -07:00
2013-09-12 15:38:03 -07:00
2012-05-29 16:22:20 -07:00
2013-09-11 15:58:01 -07:00
2013-09-07 09:48:41 -07:00
2013-09-03 16:35:47 +09:30
2012-09-28 14:31:03 +09:30
2013-08-20 15:37:42 +09:30
2009-04-01 07:38:54 -04:00
2013-01-04 16:11:45 -08:00
2013-08-12 15:27:01 +00:00
2013-06-26 12:10:56 +02:00
2013-08-02 12:33:54 -07:00
2013-09-08 20:20:23 -04:00
2013-05-27 22:50:59 -07:00
2013-09-15 22:18:13 -04:00
2013-08-28 00:26:48 +02:00
2013-09-06 14:49:16 -04:00
2013-09-03 15:26:29 -04:00
2013-09-05 10:40:45 -04:00
2013-08-27 13:52:52 -04:00
2013-09-03 16:40:32 -04:00
2013-08-21 10:29:51 +01:00
2013-09-10 13:53:52 -07:00
2013-08-28 20:50:19 +01:00
2013-08-12 15:27:01 +00:00
2013-08-27 10:53:44 +02:00
2013-09-10 13:53:52 -07:00
2013-08-15 17:22:27 -07:00
2013-03-29 17:54:33 -07:00
2013-09-03 22:52:48 -04:00
2012-03-14 17:25:56 +08:00
2013-03-01 23:51:07 -05:00
2013-09-05 14:54:29 -07:00
2013-09-15 17:41:30 -04:00
2013-09-06 13:30:06 -07:00
2013-09-09 14:29:15 -07:00
2013-08-23 16:08:27 -04:00
2013-09-04 11:55:10 -07:00
2013-07-03 16:08:03 -07:00
2013-03-19 09:47:30 +01:00
2013-08-27 18:42:48 -07:00
2013-08-19 21:22:34 -07:00
2013-08-14 17:14:52 +02:00
2013-06-19 12:55:10 +02:00
2011-03-31 11:26:23 -03:00
2013-08-06 14:21:01 -07:00
2013-08-19 10:18:11 -07:00
2012-11-03 15:27:07 -04:00
2013-08-14 19:54:30 +01:00
2013-08-20 16:53:58 -05:00
2013-08-17 09:32:32 -04:00
2013-09-11 15:59:36 -07:00
2010-02-08 18:19:41 -06:00
2013-09-11 15:59:37 -07:00
2013-05-07 18:38:27 -07:00
2010-02-10 17:47:17 -08:00
2013-09-11 15:59:20 -07:00
2013-08-18 17:40:16 -07:00
2013-08-31 14:43:50 -07:00
2013-09-03 10:07:40 -07:00
2013-09-12 15:38:02 -07:00
2013-04-12 10:26:23 +02:00
2012-10-13 10:46:48 +01:00
2013-03-15 00:34:50 -04:00
2013-02-23 17:50:17 -08:00
2006-07-13 13:21:35 -07:00
2007-05-02 11:56:33 +01:00
2013-04-29 18:28:22 -07:00
2011-07-08 14:02:53 +02:00
2013-09-12 15:38:02 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2010-10-22 10:20:06 -07:00
2013-09-12 09:25:23 -07:00
2013-08-27 14:25:27 +05:30
2013-08-20 17:10:41 -07:00
2013-08-27 14:25:09 +05:30
2013-09-10 18:56:32 -04:00
2013-09-01 14:16:33 -07:00
2013-09-04 00:27:25 -04:00
2013-09-04 20:51:33 +03:00
2013-09-04 23:11:42 +03:00
2013-09-04 20:53:16 +03:00
2013-09-11 15:58:25 -07:00
2013-02-26 22:25:17 +01:00
2013-08-02 12:33:54 -07:00
2013-08-07 16:52:33 -07:00
2005-04-16 15:20:36 -07:00
2013-08-13 08:19:26 -07:00
2013-06-20 19:02:45 +04:00
2013-06-10 13:45:25 -07:00
2008-05-26 16:15:32 +02:00
2011-06-14 22:48:51 -04:00
2006-12-07 02:14:08 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2013-08-30 17:26:09 -04:00
2012-03-28 18:30:03 +01:00
2012-12-17 17:15:17 -08:00
2013-09-12 15:38:02 -07:00
2013-08-13 17:57:47 -07:00
2012-02-10 11:42:25 -08:00
2013-09-11 15:58:25 -07:00
2011-03-15 00:43:46 +01:00
2012-11-18 20:30:55 -05:00
2013-08-28 09:51:41 -07:00
2012-09-13 16:47:34 +02:00
2013-07-31 12:16:45 -07:00
2013-08-29 13:54:34 -07:00
2013-09-03 09:10:24 -04:00
2013-08-14 17:58:56 +02:00
2012-10-09 16:22:32 +09:00
2013-09-12 07:49:51 +02:00
2012-03-20 21:29:40 -04:00
2013-02-04 15:40:28 -08:00
2013-07-24 15:12:53 -07:00
2008-07-25 10:53:26 -07:00
2012-12-11 17:22:27 -08:00
2013-04-15 21:23:03 +01:00
2013-08-12 11:56:16 -07:00
2013-09-07 14:35:32 -07:00
2013-08-05 10:52:36 -06:00
2013-08-29 13:30:21 +10:00
2013-09-03 19:17:59 +02:00
2012-10-13 10:46:48 +01:00
2013-09-11 15:57:09 -07:00
2013-07-09 10:33:21 -07:00
2013-09-03 18:25:03 -07:00
2013-09-11 15:58:01 -07:00
2006-04-26 12:56:16 +01:00
2012-10-13 10:46:48 +01:00
2013-08-14 17:14:54 +02:00
2013-08-22 08:53:30 -07:00
2013-07-30 08:30:16 -04:00
2013-09-11 15:58:02 -07:00