linux/arch/arm/mach-davinci/include/mach
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
..
cdce949.h davinci: add support for CDCE949 clock synthesizer 2010-02-04 13:29:58 -08:00
clock.h ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
common.h ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
cp_intc.h ARM: davinci: remove __init atrribute from function declaration 2013-06-14 10:53:35 +05:30
cpufreq.h davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.h davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
cputype.h Fix common misspellings 2011-03-31 11:26:23 -03:00
da8xx.h ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
ddr2.h ARM: mach-davinci: remove mach/memory.h 2011-10-13 12:49:47 -04:00
entry-macro.S ARM: davinci: da8xx: fix interrupt handling 2012-07-09 16:01:11 +05:30
hardware.h ARM: davinci: implement DEBUG_LL port choice 2012-05-09 17:06:41 +05:30
irqs.h Davinci: tnetv107x IRQ definitions 2010-05-06 15:02:05 -07:00
mux.h [media] ARM: davinci: da850: Add SoC related definitions for VPIF 2012-10-05 21:58:35 -03:00
pm.h davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.h ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.h ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
sram.h ARM: davinci: add platform hook to fetch the SRAM pool 2012-10-27 16:28:35 +05:30
time.h
timex.h davinci: explain CLOCK_TICK_RATE of 27MHz in include/mach/timex.h 2010-02-04 13:29:41 -08:00
tnetv107x.h ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
uncompress.h ARM: remove unused arch_decomp_wdog() 2013-01-11 10:54:03 +08:00