linux_dsm_epyc7002/arch/arm/mach-davinci
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
..
include/mach ARM: davinci: gpio: use gpiolib API instead of inline functions 2013-09-25 04:16:37 +05:30
aemif.c ARM: davinci: move platform_data definitions 2012-09-14 11:16:54 +02:00
asp.h ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific 2012-08-27 11:12:09 -07:00
board-da830-evm.c ARM: davinci: da8xx boards: gpio device creation 2013-09-25 02:18:22 +05:30
board-da850-evm.c ARM: davinci: da8xx boards: gpio device creation 2013-09-25 02:18:22 +05:30
board-dm355-evm.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm355-leopard.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm365-evm.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm644x-evm.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm646x-evm.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-mityomapl138.c ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
board-neuros-osd2.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-omapl138-hawk.c ARM: davinci: da8xx boards: gpio device creation 2013-09-25 02:18:22 +05:30
board-sffsdr.c ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
board-tnetv107x-evm.c ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
cdce949.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
clock.c ARM: davinci: clk framework support for enable/disable functionality 2013-04-01 16:54:47 +05:30
clock.h ARM: davinci: clk framework support for enable/disable functionality 2013-04-01 16:54:47 +05:30
common.c ARM: davinci: remove obsoleted init_consistent_dma_size() 2012-11-13 10:13:20 +01:00
cp_intc.c ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpuidle.c ARM: davinci: cpuidle: Fix target residency 2013-07-27 07:56:37 +02:00
da8xx-dt.c ARM: davinci: da850: add OF_DEV_AUXDATA entry for davinci_emac 2013-08-22 00:44:58 +05:30
da830.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
da850.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
davinci.h ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
devices-da8xx.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
devices-tnetv107x.c ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
devices.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
dm355.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
dm365.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
dm644x.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
dm646x.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
Kconfig cpufreq: davinci: select CPU_FREQ_TABLE 2013-06-18 13:53:07 +05:30
Makefile ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
Makefile.boot ARM: davinci: move dtb targets to common location 2012-11-19 22:25:59 -08:00
mux.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm_domain.c [media] media: davinci: vpss: enable vpss clocks 2013-04-14 20:08:09 -03:00
pm.c ARM: davinci: ensure global variables are declared 2013-04-17 19:26:41 +05:30
psc.c ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.c ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
sleep.S Merge branch 'depends/rmk/memory_h' into next/fixes 2011-10-31 23:11:53 +01:00
sram.c ARM: davinci: sram.c: fix incorrect type in assignment 2013-04-17 19:26:41 +05:30
time.c sched_clock: Make ARM's sched_clock generic for all architectures 2013-06-12 14:02:13 -07:00
tnetv107x.c ARM: davinci: uart: move to devid based clk_get 2013-07-22 15:34:55 +05:30
usb.c v3.10 board updates for DaVinci 2013-04-17 23:54:41 -07:00