linux/Documentation/devicetree/bindings/gpio
Neil Armstrong 9e80f9064e pinctrl: Add SX150X GPIO Extender Pinctrl Driver
Since the I2C sx150x GPIO expander driver uses platform_data to manage
the pins configurations, rewrite the driver as a pinctrl driver using
pinconf to get/set pin configurations from DT or debugfs.

The pinctrl driver is functionnally equivalent as the gpio-only driver
and can use DT for pinconf. The platform_data confirmation is dropped.

This patchset removed the gpio-only driver and selects the Pinctrl driver
config instead. This patchset also migrates the gpio dt-bindings to pinctrl
and add the pinctrl optional properties.

The driver was tested with a SX1509 device on a BeagleBone black with
interrupt support and on an X86_64 machine over an I2C to USB converter.

This is a fixed version that builds and runs on non-OF platforms and on
arm based OF. The GPIO version is removed and the bindings are also moved
to the pinctrl bindings.

Changes since v2
 - rebased on v4.9-rc1
 - removed MODULE_DEVICE_TABLE as in upstream bb411e771b
   ("gpio: sx150x: fix implicit assumption module.h is present")

Changes since v1
 - Fix Kconfig descriptions on pinctrl and gpio
 - Fix Kconfig dependency
 - Remove oscio support for non-789 devices
 - correct typo in dt bindings
 - remove probe reset for non-789 devices

Changes since RFC
 - Put #ifdef CONFIG_OF/CONFIG_OF_GPIO to remove OF code for non-of platforms
 - No more rely on OF_GPIO config
 - Moved and enhanced bindings to pinctrl bindings
 - Removed gpio-sx150x.c
 - Temporary select PINCTRL_SX150X when GPIO_SX150X
 - Temporary mark GPIO_SX150X as deprecated

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Peter Rosin <peda@axentia.se>
Acked-by: Rob Herring <robh@kernel.org>
ested-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-10-24 16:30:40 +02:00
..
8xxx_gpio.txt dt: binding: reword PowerPC 8xxx GPIO documentation 2013-12-03 00:01:03 -06:00
abilis,tb10x-gpio.txt gpio: add TB10x GPIO driver 2013-10-25 23:42:34 +02:00
brcm,bcm6345-gpio.txt gpio: dt-bindings: add brcm,bcm6345-gpio bindings 2016-08-11 16:15:53 +02:00
brcm,brcmstb-gpio.txt dt-bindings: brcmstb-gpio: document properties for wakeup 2015-07-16 00:11:02 +02:00
brcm,kona-gpio.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
cavium-octeon-gpio.txt MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
cirrus,clps711x-mctrl-gpio.txt gpio: syscon: Change the compatibility string 2016-06-08 10:48:17 +02:00
fsl-imx-gpio.txt GPIO changes for v3.6: 2012-07-26 13:56:38 -07:00
fujitsu,mb86s70-gpio.txt gpio: Add Fujitsu MB86S7x GPIO driver 2015-01-20 11:23:18 +01:00
gpio_atmel.txt arm: at91: at91sam9x5: fix gpio number per bank 2012-10-13 09:09:29 +08:00
gpio_lpc32xx.txt
gpio_oxnas.txt dt-bindings: Add Oxford Semiconductor OXNAS pinctrl and gpio bindings 2016-05-30 09:41:45 +02:00
gpio-74x164.txt gpio: 74x164: add dt support for nxp's 74x594 2016-03-31 10:25:51 +02:00
gpio-74xx-mmio.txt GPIO: 74xx-mmio: Add DT bindings documentation 2014-10-21 10:48:45 +02:00
gpio-adnp.txt gpio: adnp: dt: Reference generic interrupt binding 2012-09-20 08:54:58 +02:00
gpio-altera.txt dt-bindings: gpio: altera: Fix altr,interrupt-type property 2016-03-09 09:47:42 +07:00
gpio-aspeed.txt gpio: dt-bindings: Add documentation for Aspeed GPIO controllers 2016-09-07 16:41:45 +02:00
gpio-ath79.txt DEVICETREE: Add bindings for the ATH79 GPIO controllers 2015-06-21 21:54:08 +02:00
gpio-atlas7.txt pinctrl: sirf: add sirf atlas7 pinctrl and gpio support 2015-05-19 16:01:30 +02:00
gpio-axp209.txt gpio: Add AXP209 GPIO driver 2016-08-11 10:24:08 +02:00
gpio-clps711x.txt gpio: clps711x: Change the compatibility string 2016-06-08 10:48:09 +02:00
gpio-davinci.txt devicetree: bindings: gpio-davinic: fix documentation 2014-03-11 11:20:01 +01:00
gpio-dsp-keystone.txt gpio: syscon: reuse for keystone 2 socs 2014-09-16 14:42:16 -07:00
gpio-etraxfs.txt gpio: etraxfs: add support for ARTPEC-3 2015-07-27 15:02:23 +02:00
gpio-fan.txt (gpio-fan): Add thermal control hooks 2015-03-09 09:59:36 -07:00
gpio-grgpio.txt gpio: grgpio: Add irq support 2013-04-26 08:52:38 +02:00
gpio-lp3943.txt Documentation: Add LP3943 DT bindings and document 2014-01-21 08:27:55 +00:00
gpio-max732x.txt gpio: max732x: Add DT binding documentation 2015-01-15 18:18:44 +01:00
gpio-max77620.txt gpio: add DT binding doc for gpio of PMIC max77620/max20024 2016-06-07 09:35:15 +02:00
gpio-mcp23s08.txt gpio: mcp23s08: Add support for mcp23s18 2016-03-09 09:50:37 +07:00
gpio-mm-lantiq.txt
gpio-mpc8xxx.txt gpio: mpc8xxx: Add new platforms GPIO DT node description 2016-03-31 10:29:58 +02:00
gpio-mvebu.txt Documentation: add description of DT binding for the gpio-mvebu driver 2012-09-22 14:51:37 +00:00
gpio-mxs.txt bindings: update imx and mxs #gpio-cells 2012-07-06 19:57:42 +08:00
gpio-nmk.txt pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific prefixes 2012-07-13 10:14:39 +02:00
gpio-omap.txt ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
gpio-palmas.txt gpio: palmas: add dt support 2013-07-29 18:14:33 +02:00
gpio-pca953x.txt gpio: pca953x: Add support for TI PCA9536 2016-06-07 09:35:15 +02:00
gpio-pcf857x.txt Documentation: devicetree: Fix double words in Doumentation/devicetree 2015-01-28 15:13:11 -07:00
gpio-pisosr.txt gpio: Add generic serializer DT binding 2016-03-15 09:54:28 +01:00
gpio-samsung.txt gpio: samsung: Remove OF support for s3c24xx 2013-06-12 05:22:17 +09:00
gpio-stericsson-coh901.txt pinctrl: coh901: add device tree support 2013-05-31 11:25:45 +02:00
gpio-stmpe.txt gpio: stmpe: Add DT support for stmpe gpio 2012-12-01 17:45:16 +01:00
gpio-stp-xway.txt GPIO: MIPS: lantiq: convert gpio-stp-xway to OF 2012-05-21 14:31:53 +01:00
gpio-tpic2810.txt dt-bindings: GPIO: Add TPIC2810 binding 2016-08-24 14:20:32 +02:00
gpio-ts4800.txt gpio: add bindings for TS-4800 gpio controller 2016-02-05 15:05:48 +01:00
gpio-ts4900.txt gpio: add bindings for Technologic I2C-FPGA gpio controller 2016-08-19 11:02:57 +02:00
gpio-twl4030.txt gpio/twl4030: get platform data from device tree 2012-09-07 19:22:27 +02:00
gpio-tz1090-pdc.txt gpio-tz1090-pdc: add TZ1090 PDC gpio driver 2013-07-20 19:03:48 +02:00
gpio-tz1090.txt gpio-tz1090: add TZ1090 gpio driver 2013-07-20 19:00:44 +02:00
gpio-vf610.txt Documentation: dts: add bindings for Vybrid GPIO/PORT module 2014-10-24 14:22:27 +02:00
gpio-xgene-sb.txt gpio: X-Gene standby GPIO controller DTS binding 2016-02-19 12:56:08 +01:00
gpio-xgene.txt Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding 2014-08-28 14:20:45 +02:00
gpio-xilinx.txt DT: Add documentation for gpio-xilinx 2013-06-17 07:48:42 +02:00
gpio-xlp.txt gpio: xlp: Add GPIO driver support for Broadcom Vulcan ARM64 2016-03-31 10:44:08 +02:00
gpio-zevio.txt gpio: New driver for LSI ZEVIO SoCs 2014-02-27 10:30:42 +01:00
gpio-zynq.txt gpio: zynq: Document interrupt-controller DT binding 2015-10-27 17:01:28 +01:00
gpio.txt gpio: of: make it possible to name GPIO lines 2016-05-10 13:43:48 +02:00
ibm,ppc4xx-gpio.txt gpio: dt-bindings: add ibm,ppc4xx-gpio binding 2016-05-19 09:16:36 -05:00
microchip,pic32-gpio.txt dt/bindings: Correct clk binding example for PIC32 gpio. 2016-05-28 12:35:04 +02:00
moxa,moxart-gpio.txt gpio: Add MOXA ART GPIO driver 2013-12-03 11:26:08 +01:00
mrvl-gpio.txt gpio: mrvl: dt-binding: remove orion-gpio description 2016-09-08 01:15:45 +02:00
netxbig-gpio-ext.txt leds: netxbig: add device tree binding 2015-11-03 08:59:25 +01:00
nvidia,tegra20-gpio.txt dt: name all Tegra binding docs consistently 2012-06-11 11:48:42 -06:00
nvidia,tegra186-gpio.txt ARM: tegra: Add DT binding for Tegra186 GPIO controllers 2016-04-22 13:32:29 +02:00
nxp,lpc1850-gpio.txt gpio: add DT bindings for lpc1850-gpio driver 2015-05-05 17:53:47 +02:00
pl061-gpio.txt gpio: pl061: document gpio-ranges property for bindings file 2014-12-03 14:46:27 +01:00
renesas,gpio-rcar.txt gpio: rcar: Add r8a7796 (R-Car M3-W) support 2016-09-08 01:15:46 +02:00
snps-dwapb-gpio.txt Documentation: dt-bindings: Fix interrupt documentation file path 2015-11-24 11:11:17 +00:00
sodaville.txt
spear_spics.txt gpio: SPEAr: add spi chipselect control driver 2012-11-18 00:01:27 +01:00
wd,mbl-gpio.txt gpio: dt-bindings: add wd,mbl-gpio bindings 2016-05-10 13:58:47 +02:00
zx296702-gpio.txt gpio: Document ZTE zx296702 GPIO DT binding 2015-07-16 10:11:41 +02:00