android_kernel_oneplus_msm8998/include/linux/platform_data
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
..
ad5449.h
ad5755.h
ad7266.h
ad7298.h
ad7303.h iio:dac: Add support for the AD7303 2013-06-11 20:25:58 +01:00
ad7791.h
ad7793.h
ad7887.h
ads7828.h
arm-ux500-pm.h ARM: ux500: move PM-related PRCMU functions to machine 2013-04-08 13:57:53 +02:00
asoc-imx-ssi.h
asoc-kirkwood.h
asoc-mx27vis.h
asoc-palm27x.h
asoc-s3c.h ASoC: Samsung: I2S: Modify the I2S driver to support I2S on Exynos5420 2013-08-13 13:44:09 +01:00
asoc-s3c24xx_simtec.h
asoc-ti-mcbsp.h
asoc-ux500-msp.h ARM: ux500: move mach/msp.h to <linux/platform_data/*> 2013-04-08 13:59:22 +02:00
at91_adc.h iio: at91: Use different prescal, startup mask in MR for different IP 2013-08-29 21:49:28 +01:00
ata-pxa.h
ata-samsung_cf.h
atmel.h mtd: atmel_nand: add a new dt binding item for nand dma support 2013-08-05 20:56:15 +01:00
bd6107.h backlight: Add ROHM BD6107 backlight driver 2013-07-16 13:01:19 +09:00
brcmfmac-sdio.h brcmfmac: abstract tx packet processing functions 2013-08-15 16:07:55 -04:00
camera-mx1.h
camera-mx2.h
camera-mx3.h [media] V4L2: mx3_camera: add support for asynchronous subdevice registration 2013-08-18 09:06:37 -03:00
camera-pxa.h
camera-rcar.h [media] V4L2: soc_camera: Renesas R-Car VIN driver 2013-08-18 09:01:10 -03:00
clk-integrator.h
clk-lpss.h ACPI / LPSS: register clock device for Lynxpoint DMA properly 2013-05-14 10:23:58 +05:30
clk-nomadik.h
clk-realview.h
clk-u300.h
clk-ux500.h clk: ux500: Pass clock base adresses in initcall for u8540 and u9540 2013-06-06 18:16:04 -07:00
clocksource-nomadik-mtu.h
coda.h media: coda: use genalloc API 2013-04-29 18:28:13 -07:00
crypto-atmel.h ARM: AT91SAM9G45: same platform data structure for all crypto peripherals 2013-03-10 16:46:41 +08:00
crypto-ux500.h
cyttsp4.h Input: cyttsp4 - add core driver for Cypress TMA4XX touchscreen devices 2013-06-30 21:24:21 -07:00
davinci_asp.h
db8500_thermal.h
dma-atmel.h dmaengine: at_hdmac: extend hardware handshaking interface identification 2013-07-05 11:40:29 +05:30
dma-coh901318.h dma: coh901318: create a proper platform data file 2013-01-07 17:35:57 +01:00
dma-ep93xx.h
dma-imx-sdma.h
dma-imx.h dma: imx-dma: Add oftree support 2013-07-05 11:40:26 +05:30
dma-mmp_tdma.h
dma-mv_xor.h
dma-rcar-hpbdma.h dma: add driver for R-Car HPB-DMAC 2013-09-02 17:35:55 +05:30
dma-ste-dma40.h dmaengine: ste_dma40: Allow memcpy channels to be configured from DT 2013-06-04 11:12:11 +02:00
dmtimer-omap.h
dsp-omap.h
dwc3-exynos.h
dwc3-omap.h usb: dwc3: omap: remove platform data associated with dwc3-omap 2013-03-18 11:16:38 +02:00
edma.h ARM: edma: Add function to manually trigger an EDMA channel 2013-09-04 18:38:46 +05:30
efm32-spi.h spi: new controller driver for efm32 SoCs 2013-08-09 17:32:57 +01:00
efm32-uart.h
ehci-sh.h
elm.h mtd: devices: elm: check for device's presence before configuration 2013-04-05 12:57:18 +01:00
emif_plat.h memory: emif: Handle devices which are not rated for >85C 2013-03-25 13:18:12 -07:00
eth-netx.h
fsa9480.h
g762.h Add support for GMT G762/G763 PWM fan controllers 2013-06-27 10:31:42 -07:00
gpio-davinci.h ARM: davinci: gpio: use gpiolib API instead of inline functions 2013-09-25 04:16:37 +05:30
gpio-em.h gpio: em: Add pinctrl support 2013-07-21 17:24:41 +02:00
gpio-omap.h
gpio-rcar.h gpio-rcar: Add RCAR_GP_PIN macro 2013-06-04 21:03:56 +09:00
gpio-ts5500.h
gpio_backlight.h backlight: Add GPIO-based backlight driver 2013-07-16 13:01:05 +09:00
hwmon-s3c.h
i2c-cbus-gpio.h
i2c-davinci.h
i2c-imx.h
i2c-nomadik.h
i2c-nuc900.h
i2c-s3c2410.h ARM: s3c: i2c: add platform_device forward declaration 2013-02-14 15:04:40 +01:00
ina2xx.h
invensense_mpu6050.h Invensense MPU6050 Device Driver. 2013-02-10 17:42:43 +00:00
iommu-omap.h
irda-pxaficp.h
irq-renesas-intc-irqpin.h irqchip: intc-irqpin: GPL header for platform data 2013-03-18 21:26:06 +09:00
irq-renesas-irqc.h irqchip: Renesas IRQC driver 2013-03-18 21:26:06 +09:00
keyboard-pxa930_rotary.h
keyboard-spear.h
keypad-ep93xx.h
keypad-nomadik-ske.h
keypad-omap.h
keypad-pxa27x.h Input: pxa27x-keypad - use matrix_keymap for matrix keys 2013-06-18 22:56:51 -07:00
keypad-w90p910.h
keyscan-davinci.h
lcd-mipid.h
leds-kirkwood-netxbig.h
leds-kirkwood-ns2.h
leds-lm355x.h
leds-lm3642.h
leds-lp55xx.h leds: support new LP8501 device - another LP55xx common 2013-08-26 17:22:10 -07:00
leds-omap.h
leds-pca963x.h leds-pca9633: Rename to leds-pca963x 2013-08-26 17:22:14 -07:00
leds-s3c24xx.h
lm3630_bl.h
lm3639_bl.h
lp855x.h backlight: lp855x: remove duplicate platform data 2013-04-29 18:28:19 -07:00
lp8727.h
lp8755.h regulator: lp8755: new driver for LP8755 2012-12-24 16:32:34 +00:00
lv5207lp.h backlight: Add Sanyo LV5207LP backlight driver 2013-07-16 13:01:10 +09:00
macb.h
mailbox-omap.h ARM: OMAP2+: add user and fifo info to mailbox platform data 2013-06-11 11:41:30 -05:00
max197.h
max310x.h serial: max310x: Add MAX14830 support 2013-07-26 15:53:27 -07:00
max6697.h hwmon: Driver for Maxim MAX6697 and compatibles 2013-02-06 09:57:56 -08:00
mfd-mcp-sa11x0.h
microread.h NFC: Initial support for Inside Secure microread 2013-02-03 20:37:42 +01:00
mipi-csis.h
mmc-davinci.h ARM: davinci: mmc: derive version information from device name 2013-04-03 09:42:16 +05:30
mmc-esdhc-imx.h mmc: esdhc-imx: parse max-frequency from devicetree 2013-06-27 11:29:41 -04:00
mmc-msm_sdcc.h
mmc-mvsdio.h
mmc-mxcmmc.h
mmc-omap.h
mmc-pxamci.h ARM: pxa: propagate errors from regulator_enable() to pxamci 2013-07-23 12:15:15 -07:00
mmc-s3cmci.h
mmc-sdhci-s3c.h mmc: sdhci-s3c: remove platform dependencies 2013-04-19 13:51:23 +02:00
mmp_audio.h
mmp_dma.h
mouse-pxa930_trkball.h
msm_serial_hs.h
mtd-davinci-aemif.h
mtd-davinci.h
mtd-mxc_nand.h
mtd-nand-omap2.h mtd: omap-nand: pass device_node in platform data 2013-01-14 09:55:19 -08:00
mtd-nand-pxa3xx.h mtd: nand: pxa3xx: Remove unneeded internal cmdset 2013-08-30 21:34:58 +01:00
mtd-nand-s3c2410.h
mtd-onenand-omap2.h mtd: omap-onenand: pass device_node in platform data 2013-02-01 14:10:11 -08:00
mtd-orion_nand.h
mv_usb.h usb: mv_usb: remove clock name from pdata 2013-04-02 11:42:47 +03:00
net-cw1200.h cw1200: rename the cw1200 platform definition header 2013-06-03 15:54:56 -04:00
ntc_thermistor.h hwmon: Fix CamelCase checkpatch warnings 2013-04-07 21:16:40 -07:00
omap-twl4030.h
omap-wd-timer.h
omap1_bl.h
omap4-keypad.h
omap_drm.h
pca953x.h gpio: (gpio-pca953x) move header to linux/platform_data/ 2013-08-29 12:33:52 -07:00
pcmcia-pxa2xx_viper.h
pinctrl-nomadik.h pinctrl: nomadik: delete ancient pin control API 2013-08-07 22:30:58 +02:00
pn544.h
pwm-renesas-tpu.h pwm: Add Renesas TPU PWM driver 2013-06-21 11:33:28 +02:00
pxa2xx_udc.h
pxa_sdhci.h
rcar-du.h drm/rcar-du: Rework output routing support 2013-08-09 23:17:52 +02:00
remoteproc-omap.h remoteproc/omap: fix a sparse warning 2013-07-01 15:30:51 +03:00
s3c-hsotg.h ARM defconfigs: add missing inclusions of linux/platform_device.h 2013-02-14 15:14:32 -08:00
s3c-hsudc.h
sa11x0-serial.h
samsung-usbphy.h usb: phy: samsung: Introducing usb phy driver for hsotg 2013-01-18 15:06:30 +02:00
sc18is602.h
serial-imx.h
serial-omap.h SERIAL: OMAP: Remove the slave idle handling from the driver 2013-05-19 16:37:08 -06:00
serial-sccnxp.h Revert "serial: sccnxp: Add DT support" 2013-08-02 15:25:19 +08:00
sh_ipmmu.h iommu/shmobile: Add iommu driver for Renesas IPMMU modules 2013-02-06 10:57:25 +01:00
shmob_drm.h
sht15.h
si5351.h clk: si5351: Allow user to define disabled state for every clock output 2013-05-28 22:50:31 -07:00
simplefb.h fbdev changes for 3.12: 2013-09-05 09:49:32 -07:00
spi-clps711x.h
spi-davinci.h ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
spi-ep93xx.h
spi-imx.h
spi-nuc900.h
spi-omap2-mcspi.h spi: spi-omap2-mcspi.c: Toggle CS after each word 2013-01-26 17:00:04 +08:00
spi-s3c64xx.h spi: s3c64xx: move to generic dmaengine API 2013-04-12 13:54:58 +01:00
ssm2518.h ASoC: Add ssm2518 support 2013-05-25 10:33:30 -04:00
st1232_pdata.h Input: st1232 - add reset pin handling 2013-04-15 10:00:44 -07:00
st_sensors_pdata.h iio: Added ST-sensors platform data to select the DRDY interrupt pin 2013-08-03 18:40:28 +01:00
tegra_emc.h
touchscreen-s3c2410.h
tsl2563.h iio:light:tsl2563 move out of staging 2013-01-27 17:37:24 +00:00
uio_dmem_genirq.h
uio_pruss.h
usb-davinci.h
usb-ehci-mxc.h
usb-ehci-orion.h
usb-ehci-s5p.h
usb-imx_udc.h
usb-musb-ux500.h usb: musb: ux500: move channel number knowledge into the driver 2013-06-04 11:12:02 +02:00
usb-mx2.h
usb-ohci-exynos.h ARM: EXYNOS: change the name of USB ohci header 2013-04-08 21:54:16 +09:00
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap.h mfd: omap-usb-host: override number of ports from platform data 2013-02-13 13:22:49 +02:00
usb-pxa3xx-ulpi.h
usb-rcar-phy.h phy-rcar-usb: add R8A7778 support 2013-06-11 16:11:16 +09:00
usb-s3c2410_udc.h
usb3503.h usb: misc: usb3503: Add to select the ports to disable 2013-05-30 21:32:52 +09:00
ux500_wdt.h watchdog: Add support for ux500_wdt watchdog 2013-02-14 00:22:53 +01:00
video-ep93xx.h
video-imxfb.h
video-msm_fb.h
video-mx3fb.h
video-nuc900fb.h
video-pxafb.h
video_s3c.h video/s3c: move platform_data out of arch/arm 2013-04-11 14:49:20 +03:00
voltage-omap.h
vsp1.h [media] v4l: Renesas R-Car VSP1 driver 2013-08-18 07:30:16 -03:00
wiznet.h