linux-stable/include/linux/platform_data
Linus Torvalds 6a497e9d58 This is the bulk of GPIO changes for the v4.9 series:
Subsystem improvements:
 
 - Do away with the last users of the obsolete Kconfig options
   ARCH_REQUIRE_GPIOLIB and ARCH_WANT_OPTIONAL_GPIOLIB (the latter
   always sounded like an item on a wishlist to Santa Claus to
   me). We can now select GPIOLIB and be done with it, for all
   archs. After some struggle it even work on UM. Not that it has
   GPIO, but if it wants to, it can select the library.
 
 - Continued efforts to make drivers properly either tristate or
   bool.
 
 - Introduce a warning for drivers assigning default triggers to
   their irqchip lines when probed from device tree, so we find and
   fix these ambigous drivers. It is agreed that in the OF config
   path, the device tree defines trigger characteristics.
 
 - The same warning, mutatis mutandis, for ACPI-probed GPIO
   irqchips.
 
 - We introduce the ability to mark certain IRQ lines as "unusable"
   as they can be taken by BIOS/firmware, unrouted in silicon and
   generally nasty if you use them, and such things. This is
   put to good use in the STMPE driver and also in the Cherryview
   pin control driver.
 
 - A new "mockup" virtual GPIO device that can be used for testing.
   The plan is to add unit tests under tools/* for exercising this
   device and verify that the kernel code paths are working as they
   should.
 
 - Make memory-mapped I/O-drivers depend on HAS_IOMEM. This was
   implicit all the time, but when people started building UM
   with allyesconfig or allmodconfig it exploded in their face.
 
 - Move some stray bits of device tree and ACPI HW description
   callbacks down into their respective implementation silo. These
   were causing issues when compiling on !HAS_IOMEM as well, so
   now eventually UM compiles the GPIOLIB library if it wants to.
 
 New drivers:
 
 - New driver for the Aspeed GPIO front-end companion to the
   pin controller merged through the pin control tree.
 
 - New driver for the LP873x PMIC GPIO portions.
 
 - New driver for Technologic Systems' I2C FPGA GPIO such as
   TS4900, TS-7970, TS-7990 and TS-4100.
 
 - New driver for the Broadcom BCM63xx series including BCM6338
   and BCM6345.
 
 - New driver for the Intel WhiskeyCove PMIC GPIO.
 
 - New driver for the Allwinner AXP209 PMIC GPIO portions.
 
 - New driver for Diamond Systems 48 line GPIO-MM, another of
   these port-mapped I/O expansion cards.
 
 - Support the STMicroelectronics STMPE1600 variant in the STMPE
   driver.
 
 Driver improvements:
 
 - The STMPE driver now supports rising/falling edge detection
   properly for IRQs.
 
 - The PCA954x will now fetch and enable its VCC regulator properly.
 
 - Major rework of the PCA953x driver with the goal of eventually
   switching it over to use regmap and thus modernize it even more.
 
 - Switch the IOP driver to use the generic MMIO GPIO library.
 
 - Move the ages old HTC EGPIO (extended GPIO) GPIO expander driver
   over to this subsystem from MFD, achieveing some separation of
   concerns.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJX9OvDAAoJEEEQszewGV1zsPQP/3VLy1fNIpMF0DDyq5tA/GNv
 sinnaPgMtt+qBrM2sbJcTVwV9xtHrs12CC3+2lAhBCIEm4YfHbXvaUMNE+aKJzk4
 ZM7/rb8WMUxjQqzDKStdETsQGo6fxh0qU81OEQNbX9alir20jik9DvTufcs6xCgx
 sqh8KsNGO4Y6tiuKZ6mTZvIjVhMwiTm0NBSDKhdim0DdsOcuxyh6xVOj/0LB2Ei6
 g75X1w++wjh0ryY3bzaeWkQSlXDC6eEKeez7VaEkSUyrxH86buomy0+aP0fqs7vY
 LRZzn/TC97YLT6hslS/OhB7uXrDIY2POSwO/SvusJcveGP7WPGyGr5mDtA4ATRWI
 ios0DBWl629kHfhAMzg3kPJS8LfjCerapvtbdAgqvhH+Vb5IPFx45vypDkR2WtJ7
 bNAySIRMQSHZvJSCvYzjqh8AbWdE4i4k70tFXRMOpWeKIvRVI1cDvLD6cLn3hATM
 IPTytM6i2xqnzcq7mK7EJ18afcR0mv1jHgGAv4M0RMkyJ2IrURvFyZIvUB2MTyuL
 PEBh1ZvTs+MO50eeFwzltY91eagkzgWB0f6sm3l7I7bL2oxE2f/WVcVL9jWbgwpF
 otjFO27u0/6rIulfLUQzDo3gbOq7UaN0VTW4E9CYbOtFtNzCxjFIKTv0IJhTu4TT
 OSur7oFpzAMOGYlpYP8j
 =ABbi
 -----END PGP SIGNATURE-----

Merge tag 'gpio-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio

Pull GPIO updates from Linus Walleij:
 "This is the bulk of GPIO changes for the v4.9 series:

  Subsystem improvements:

   - do away with the last users of the obsolete Kconfig options
     ARCH_REQUIRE_GPIOLIB and ARCH_WANT_OPTIONAL_GPIOLIB (the latter
     always sounded like an item on a wishlist to Santa Claus to me). We
     can now select GPIOLIB and be done with it, for all archs. After
     some struggle it even work on UM. Not that it has GPIO, but if it
     wants to, it can select the library.

   - continued efforts to make drivers properly either tristate or bool.

   - introduce a warning for drivers assigning default triggers to their
     irqchip lines when probed from device tree, so we find and fix
     these ambigous drivers. It is agreed that in the OF config path,
     the device tree defines trigger characteristics.

   - the same warning, mutatis mutandis, for ACPI-probed GPIO irqchips.

   - we introduce the ability to mark certain IRQ lines as "unusable" as
     they can be taken by BIOS/firmware, unrouted in silicon and
     generally nasty if you use them, and such things. This is put to
     good use in the STMPE driver and also in the Cherryview pin control
     driver.

   - a new "mockup" virtual GPIO device that can be used for testing.
     The plan is to add unit tests under tools/* for exercising this
     device and verify that the kernel code paths are working as they
     should.

   - make memory-mapped I/O-drivers depend on HAS_IOMEM. This was
     implicit all the time, but when people started building UM with
     allyesconfig or allmodconfig it exploded in their face.

   - move some stray bits of device tree and ACPI HW description
     callbacks down into their respective implementation silo. These
     were causing issues when compiling on !HAS_IOMEM as well, so now
     eventually UM compiles the GPIOLIB library if it wants to.

  New drivers:

   - new driver for the Aspeed GPIO front-end companion to the pin
     controller merged through the pin control tree.

   - new driver for the LP873x PMIC GPIO portions.

   - new driver for Technologic Systems' I2C FPGA GPIO such as TS4900,
     TS-7970, TS-7990 and TS-4100.

   - new driver for the Broadcom BCM63xx series including BCM6338 and
     BCM6345.

   - new driver for the Intel WhiskeyCove PMIC GPIO.

   - new driver for the Allwinner AXP209 PMIC GPIO portions.

   - new driver for Diamond Systems 48 line GPIO-MM, another of these
     port-mapped I/O expansion cards.

   - support the STMicroelectronics STMPE1600 variant in the STMPE
     driver.

  Driver improvements:

   - the STMPE driver now supports rising/falling edge detection
     properly for IRQs.

   - the PCA954x will now fetch and enable its VCC regulator properly.

   - major rework of the PCA953x driver with the goal of eventually
     switching it over to use regmap and thus modernize it even more.

   - switch the IOP driver to use the generic MMIO GPIO library.

   - move the ages old HTC EGPIO (extended GPIO) GPIO expander driver
     over to this subsystem from MFD, achieveing some separation of
     concerns"

* tag 'gpio-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (81 commits)
  gpio: add missing static inline
  gpio: OF: localize some gpiochip init functions
  gpio: acpi: separation of concerns
  gpio: OF: separation of concerns
  gpio: make memory-mapped drivers depend on HAS_IOMEM
  gpio: stmpe: use BIT() macro
  gpio: stmpe: forbid unused lines to be mapped as IRQs
  mfd/gpio: Move HTC GPIO driver to GPIO subsystem
  gpio: MAINTAINERS: Add an entry for GPIO mockup driver
  gpio/mockup: add virtual gpio device
  gpio: Added zynq specific check for special pins on bank zero
  gpio: axp209: Implement get_direction
  gpio: aspeed: remove redundant return value check
  gpio: loongson1: remove redundant return value check
  ARM: omap2: fix missing include
  gpio: tc3589x: fix up complaints on unsigned
  gpio: tc3589x: add .get_direction() and small cleanup
  gpio: f7188x: use gpiochip_get_data instead of container_of
  gpio: tps65218: use devm_gpiochip_add_data() for gpio registration
  gpio: aspeed: fix return value check in aspeed_gpio_probe()
  ...
2016-10-05 11:49:09 -07:00
..
media ir-rx51: use hrtimer instead of dmtimer 2016-06-29 21:54:35 -07:00
ad5449.h
ad5755.h
ad5761.h iio: add ad5761 DAC driver 2016-01-24 14:46:21 +00:00
ad7266.h
ad7291.h staging:iio:ad7291: Move out of staging 2014-07-08 21:17:30 +01:00
ad7298.h
ad7303.h
ad7791.h
ad7793.h
ad7879.h Input: ad7879 - move header to platform_data directory 2016-03-08 10:51:10 -08:00
ad7887.h
adau17x1.h ASoC: adau17x1: Correct typos in file headers 2016-02-24 13:14:05 +09:00
adau1977.h
ads7828.h
arm-ux500-pm.h
asoc-imx-ssi.h
asoc-kirkwood.h
asoc-mx27vis.h
asoc-palm27x.h
asoc-s3c.h ASoC: samsung: pass filter function as pointer 2015-11-21 13:27:22 +00:00
asoc-s3c24xx_simtec.h
asoc-ti-mcbsp.h ARM: OMAP2+: McBSP: Remove the old iclk allow/deny idle code 2016-06-10 05:07:25 -07:00
asoc-ux500-msp.h
at24.h eeprom: at24: add support for at24mac series 2016-07-17 19:58:00 +02:00
at91_adc.h
ata-pxa.h
ata-samsung_cf.h ata: pata_samsung_cf: removes s5pc100 related ata codes 2014-06-30 10:48:08 -04:00
atmel.h ARM: SoC platform updates for v4.4 2015-11-10 14:56:23 -08:00
atmel_mxt_ts.h Input: atmel_mxt_ts - use deep sleep mode when stopped 2015-08-04 17:03:52 -07:00
b53.h net: dsa: b53: Add support for Broadcom RoboSwitch 2016-06-09 22:21:29 -07:00
bcmgenet.h net: bcmgenet: enable driver to work without a device tree 2014-12-08 20:26:59 -05:00
bd6107.h
bfin_rotary.h Input: bfin_rotary - move pin lists into into platform data 2015-02-15 16:06:27 -08:00
brcmfmac.h brcmfmac: switch to new platform data 2016-03-07 14:15:50 +02:00
bt-nokia-h4p.h
clk-integrator.h
clk-lpss.h
clk-realview.h
clk-u300.h
cpuidle-exynos.h cpuidle: exynos: add coupled cpuidle support for exynos4210 2015-01-30 08:39:15 +09:00
crypto-atmel.h
crypto-ux500.h
cyttsp4.h
davinci_asp.h
db8500_thermal.h
dma-atmel.h
dma-coh901318.h
dma-dw.h dmaengine: dw: override LLP support if asked in platform data 2016-08-31 16:13:29 +02:00
dma-ep93xx.h
dma-hsu.h dmaengine: hsu: remove platform data 2015-10-17 21:22:08 -07:00
dma-imx-sdma.h dmaengine: imx-sdma: Add support for version 3 firmware 2015-03-18 13:53:33 +05:30
dma-imx.h dmaengine: imx-sdma: Add a new DMATYPE for SAI 2014-11-17 13:50:43 +05:30
dma-mmp_tdma.h dma: mmp_tdma: Fix build for ARM64 2015-02-03 17:47:35 -08:00
dma-mv_xor.h
dma-s3c24xx.h
dma-ste-dma40.h
dmtimer-omap.h
drv260x-pdata.h Input: drv260x - add TI drv260x haptics driver 2014-08-19 22:19:28 -07:00
dwc3-omap.h
edma.h dmaengine updates for 4.5-rc1 2016-01-13 10:59:52 -08:00
efm32-spi.h
efm32-uart.h
ehci-sh.h
elm.h nand: omap2: Remove horrible ifdefs to fix module probe 2014-09-22 11:37:51 -07:00
emif_plat.h
eth-netx.h
fsa9480.h
g762.h
gpio-ath79.h MIPS: ath79: Add OF support to the GPIO driver 2015-06-21 21:54:09 +02:00
gpio-davinci.h
gpio-dwapb.h gpio: dwapb: convert device node to fwnode 2016-04-29 11:23:53 +02:00
gpio-htc-egpio.h mfd/gpio: Move HTC GPIO driver to GPIO subsystem 2016-09-28 09:28:34 -07:00
gpio-omap.h gpio: omap: Allow building as a loadable module 2015-05-06 15:23:03 +02:00
gpio-ts5500.h
gpio_backlight.h
gpmc-omap.h ARM: OMAP2+: gpmc: Add gpmc timings and settings to platform data 2016-04-15 11:51:02 +03:00
hsmmc-omap.h ARM: OMAP2: HSMMC: explicit fields to declare cover/card detect pin 2015-03-27 12:19:37 +01:00
hwmon-s3c.h
i2c-cbus-gpio.h
i2c-davinci.h i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery 2015-04-10 17:57:28 +02:00
i2c-designware.h i2c: designware: add support of platform data to set I2C mode 2014-09-29 22:41:17 +02:00
i2c-imx.h
i2c-mux-reg.h i2c: mux: Add register-based mux i2c-mux-reg 2015-08-24 14:05:18 +02:00
i2c-nuc900.h
i2c-s3c2410.h
ina2xx.h
intel-mid_wdt.h watchdog: add Intel MID watchdog driver support 2014-06-10 21:48:16 +02:00
invensense_mpu6050.h iio:imu:mpu6050: enhance mounting matrix support 2016-04-23 22:16:01 +01:00
iommu-omap.h ARM: OMAP2+: Remove omap_mmu_dev_attr structure 2015-11-30 10:35:07 -08:00
irda-pxaficp.h
irda-sa11x0.h arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
isl9305.h regulator: isl9305: Add Intersil ISL9305/H driver 2014-09-06 12:43:05 +01:00
itco_wdt.h mfd: watchdog: iTCO_wdt: Expose watchdog properties using platform data 2015-08-11 15:03:21 +01:00
keyboard-pxa930_rotary.h
keyboard-spear.h Input: update email-id of Rajeev Kumar 2015-05-22 10:59:55 -07:00
keypad-ep93xx.h
keypad-nomadik-ske.h
keypad-omap.h
keypad-pxa27x.h
keypad-w90p910.h
keyscan-davinci.h
lcd-mipid.h
leds-kirkwood-netxbig.h leds: netxbig: add device tree binding 2015-11-03 08:59:25 +01:00
leds-kirkwood-ns2.h leds: leds-ns2: move LED modes mapping outside of the driver 2015-08-28 14:06:06 +02:00
leds-lm355x.h
leds-lm3642.h
leds-lp55xx.h
leds-omap.h
leds-pca963x.h
leds-s3c24xx.h
lm3630a_bl.h
lm3639_bl.h
lp855x.h backlight: lp855x: Use private data for regulator control 2015-08-25 08:40:44 +01:00
lp8727.h
lp8755.h
lv5207lp.h
macb.h net/macb: convert to kernel doc 2015-07-27 01:10:29 -07:00
max197.h
max3421-hcd.h usb: host: max3421-hcd: Allow platform-data to specify Vbus polarity 2014-05-29 11:19:30 -07:00
max6697.h
mdio-gpio.h net: mdio-gpio: move platform data header 2015-10-21 19:50:44 -07:00
mfd-mcp-sa11x0.h
mmc-davinci.h
mmc-esdhc-imx.h mmc: sdhci-esdhc-imx: support setting tuning start point 2016-07-25 10:34:54 +02:00
mmc-mxcmmc.h
mmc-omap.h mmc: omap_hsmmc: remove prepare/complete system suspend support. 2015-01-19 09:56:08 +01:00
mmc-pxamci.h
mmc-s3cmci.h
mmc-sdhci-s3c.h
mmp_audio.h
mmp_dma.h dmaengine: mmp-pdma: add number of requestors 2016-02-26 22:56:52 +01:00
mouse-pxa930_trkball.h
mtd-davinci-aemif.h
mtd-davinci.h
mtd-mxc_nand.h
mtd-nand-omap2.h mtd: nand: omap2: Implement NAND ready using gpiolib 2016-04-15 11:55:37 +03:00
mtd-nand-pxa3xx.h mtd: pxa3xx_nand: Remove unused platform-data flash specification 2015-09-02 14:11:40 -07:00
mtd-nand-s3c2410.h mtd: nand: s3c2410: kill the ->ecc_layout field 2016-01-26 10:27:35 -08:00
mtd-onenand-omap2.h
mtd-orion_nand.h
mv_usb.h
net-cw1200.h
nfcmrvl.h NFC: nfcmrvl: add i2c driver 2015-10-27 04:21:14 +01:00
ntc_thermistor.h hwmon: (ntc_thermistor) Add support for ncpXXxh103 2016-03-05 06:25:34 -08:00
nxp-nci.h NFC: nxp-nci: Add support for NXP NCI chips 2015-03-26 11:07:50 +01:00
omap-twl4030.h
omap-wd-timer.h
omap1_bl.h
omap_drm.h
omapdss.h platform_data: omapdss: Remove unused members from omap_dss_board_info 2016-06-03 16:06:35 +03:00
pca953x.h
pcmcia-pxa2xx_viper.h
pinctrl-adi2.h
pinctrl-single.h
pixcir_i2c_ts.h Input: pixcir_i2c_ts - switch the device over to gpiod 2015-07-11 17:28:08 -07:00
pn544.h
pwm_omap_dmtimer.h ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51 2016-04-28 14:26:32 -07:00
pxa2xx_udc.h
pxa_sdhci.h mmc: sdhci-pxav3: Move private driver data to driver source 2014-11-10 12:40:31 +01:00
regulator-haptic.h Input: add regulator haptic driver 2014-12-21 18:59:20 -08:00
remoteproc-omap.h
rtc-ds2404.h rtc: ds2404: move rtc-ds2404.h to platform_data 2016-06-27 10:48:28 +02:00
rtc-m48t86.h rtc: m48t86: move m48t86.h to platform_data 2016-06-27 18:15:25 +02:00
rtc-v3020.h rtc: v3020: move rtc-v3020.h to platform_data 2016-07-09 10:24:21 +02:00
s3c-hsotg.h usb: dwc2: rename all s3c_* to dwc2_* 2015-09-27 10:54:31 -05:00
s3c-hsudc.h
sa11x0-serial.h serial: sa1100: make sa1100_register_uart_fns a function 2016-03-07 16:11:14 -08:00
sc18is602.h
sdhci-pic32.h MIPS: Add support for PIC32MZDA platform 2016-01-24 02:53:28 +01:00
serial-imx.h serial: imx: drop support for IRDA 2015-03-07 03:26:32 +01:00
serial-omap.h ARM: OMAP: serial: Rename DRIVER_NAME 2016-02-06 23:13:30 -08:00
serial-sccnxp.h
sh_ipmmu.h
shmob_drm.h
sht3x.h hwmon: add support for Sensirion SHT3x sensors 2016-06-27 18:58:03 -07:00
sht15.h
shtc1.h hwmon: add support for Sensirion SHTC1 sensor 2014-06-12 08:36:48 -07:00
si5351.h clk: si5351: Do not pass struct clk in platform_data 2015-05-08 11:22:30 -07:00
simplefb.h
sky81452-backlight.h backlight: Add support Skyworks SKY81452 backlight driver 2015-03-12 09:08:19 +00:00
spi-clps711x.h
spi-davinci.h spi: davinci: Choose correct pre-scaler limit based on SOC 2015-07-24 17:35:51 +01:00
spi-ep93xx.h
spi-imx.h
spi-mt65xx.h spi: mediatek: fix spi incorrect endian usage 2015-08-20 11:09:47 -07:00
spi-nuc900.h
spi-omap2-mcspi.h
spi-s3c64xx.h spi: s3c64xx: consider the case when the CS line is not connected 2016-06-29 22:45:23 +01:00
ssm2518.h
st-nci.h NFC: st-nci: Add ese-present/uicc-present dts properties 2015-10-27 03:55:10 +01:00
st21nfca.h NFC: st21nfca: Adding support for secure element 2015-01-28 00:03:36 +01:00
st33zp24.h tpm/st33zp24: Extend Copyright headers 2016-06-25 17:21:42 +03:00
st1232_pdata.h
st_sensors_pdata.h iio: st_sensors: support open drain mode 2016-04-19 19:58:13 +01:00
syscon.h
touchscreen-s3c2410.h ARM: s3c64xx: use new adc/touchscreen driver 2015-12-01 21:50:25 +01:00
tsl2563.h
uio_dmem_genirq.h
uio_pruss.h
usb-davinci.h
usb-ehci-mxc.h ARM: imx: move EHCI platform defines out of platform_data header 2014-07-18 16:10:04 +08:00
usb-ehci-orion.h
usb-musb-ux500.h
usb-mx2.h
usb-ohci-pxa27x.h
usb-ohci-s3c2410.h
usb-omap.h
usb-omap1.h
usb-pxa3xx-ulpi.h
usb-s3c2410_udc.h
usb3503.h
ux500_wdt.h
video-clcd-versatile.h video: fix up versatile CLCD helper move 2014-07-23 17:41:00 +02:00
video-ep93xx.h ARM/fb: ep93xx: switch framebuffer to use modedb only 2015-08-13 12:25:44 +02:00
video-imxfb.h
video-mx3fb.h
video-nuc900fb.h
video-pxafb.h
video_s3c.h
voltage-omap.h
wiznet.h
wkup_m3.h remoteproc/wkup_m3: add a remoteproc driver for TI Wakeup M3 2015-06-17 09:58:08 +03:00
zforce_ts.h Input: zforce_ts - convert to use the gpiod interface 2015-07-08 21:50:57 -07:00