OpenCloudOS-Kernel/Documentation/devicetree/bindings/gpio
Linus Torvalds 1a46712aa9 This is the bulk of GPIO changes for kernel v4.6:
Core changes:
 
 - The gpio_chip is now a *real device*. Until now the gpio chips
   were just piggybacking the parent device or (gasp) floating in
   space outside of the device model. We now finally make GPIO chips
   devices. The gpio_chip will create a gpio_device which contains
   a struct device, and this gpio_device struct is kept private.
   Anything that needs to be kept private from the rest of the kernel
   will gradually be moved over to the gpio_device.
 
 - As a result of making the gpio_device a real device, we have added
   resource management, so devm_gpiochip_add_data() will cut down on
   overhead and reduce code lines. A huge slew of patches convert
   almost all drivers in the subsystem to use this.
 
 - Building on making the GPIO a real device, we add the first step
   of a new userspace ABI: the GPIO character device. We take small
   steps here, so we first add a pure *information* ABI and the tool
   "lsgpio" that will list all GPIO devices on the system and all
   lines on these devices. We can now discover GPIOs properly from
   userspace. We still have not come up with a way to actually *use*
   GPIOs from userspace.
 
 - To encourage people to use the character device for the future,
   we have it always-enabled when using GPIO. The old sysfs ABI is
   still opt-in (and can be used in parallel), but is marked as
   deprecated. We will keep it around for the foreseeable future,
   but it will not be extended to cover ever more use cases.
 
 Cleanup:
 
 - Bjorn Helgaas removed a whole slew of per-architecture <asm/gpio.h>
   includes. This dates back to when GPIO was an opt-in feature and
   no shared library even existed: just a header file with proper
   prototypes was provided and all semantics were up to the arch to
   implement. These patches make the GPIO chip even more a proper
   device and cleans out leftovers of the old in-kernel API here
   and there. Still some cruft is left but it's very little now.
 
 - There is still some clamping of return values for .get() going
   on, but we now return sane values in the vast majority of drivers
   and the errorpath is sanitized. Some patches for powerpc, blackfin
   and unicore still drop in.
 
 - We continue to switch the ARM, MIPS, blackfin, m68k local GPIO
   implementations to use gpiochip_add_data() and cut down on code
   lines.
 
 - MPC8xxx is converted to use the generic GPIO helpers.
 
 - ATH79 is converted to use the generic GPIO helpers.
 
 New drivers:
 
 - WinSystems WS16C48
 
 - Acces 104-DIO-48E
 
 - F81866 (a F7188x variant)
 
 - Qoric (a MPC8xxx variant)
 
 - TS-4800
 
 - SPI serializers (pisosr): simple 74xx shift registers connected
   to SPI to obtain a dirt-cheap output-only GPIO expander.
 
 - Texas Instruments TPIC2810
 
 - Texas Instruments TPS65218
 
 - Texas Instruments TPS65912
 
 - X-Gene (ARM64) standby GPIO controller
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJW6m24AAoJEEEQszewGV1zUasP/RpTrjRcNI5QFHjudd2oioDx
 R/IljC06Q072ZqVy/MR7QxwhoU8jUnCgKgv4rgMa1OcfHblxC2R1+YBKOUSij831
 E+SYmYDYmoMhN7j5Aslr66MXg1rLdFSdCZWemuyNruAK8bx6cTE1AWS8AELQzzTn
 Re/CPpCDbujLy0ZK2wJHgr9ZkdcBGICtDRCrOR3Kyjpwk/DSZcruK1PDN+VQMI3k
 bJlwgtGenOHINgCq/16edpwj/hzmoJXhTOZXJHI5XVR6czTwb3SvCYACvCkauI/a
 /N7b3quG88b5y0OPQPVxp5+VVl9GyVcv5oGzIfTNat/g5QinShZIT4kVV9r0xu6/
 TQHh1HlXleh+QI3yX0oRv9ztHreMf+vdpw1dhIwLqHqfJ7AWdOGk7BbKjwCrsOoq
 t/qUVFnyvooLpyr53Z5JY8+LqyynHF68G+jUQyHLgTZ0GCE+z+1jqNl1T501n3kv
 3CSlNYxSN/YUBN3cnroAIU/ZWcV4YRdxmOtEWP+7xgcdzTE6s/JHb2fuEfVHzWPf
 mHWtJGy8U0IR4VSSEln5RtjhRr0PAjTHeTOGAmivUnaIGDziTowyUVF+X5hwC77E
 DGTuLVx/Kniv173DK7xNAsUZNAETBa3fQZTgu+RfOpMiM1FZc7tI1rd7K7PjbyCc
 d2M0gcq+d11ITJTxC7OM
 =9AJ4
 -----END PGP SIGNATURE-----

Merge tag 'gpio-v4.6-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 kernel v4.6.  There is quite a
  lot of interesting stuff going on.

  The patches to other subsystems and arch-wide are ACKed as far as
  possible, though I consider things like per-arch <asm/gpio.h> as
  essentially a part of the GPIO subsystem so it should not be needed.

  Core changes:

   - The gpio_chip is now a *real device*.  Until now the gpio chips
     were just piggybacking the parent device or (gasp) floating in
     space outside of the device model.

     We now finally make GPIO chips devices.  The gpio_chip will create
     a gpio_device which contains a struct device, and this gpio_device
     struct is kept private.  Anything that needs to be kept private
     from the rest of the kernel will gradually be moved over to the
     gpio_device.

   - As a result of making the gpio_device a real device, we have added
     resource management, so devm_gpiochip_add_data() will cut down on
     overhead and reduce code lines.  A huge slew of patches convert
     almost all drivers in the subsystem to use this.

   - Building on making the GPIO a real device, we add the first step of
     a new userspace ABI: the GPIO character device.  We take small
     steps here, so we first add a pure *information* ABI and the tool
     "lsgpio" that will list all GPIO devices on the system and all
     lines on these devices.

     We can now discover GPIOs properly from userspace.  We still have
     not come up with a way to actually *use* GPIOs from userspace.

   - To encourage people to use the character device for the future, we
     have it always-enabled when using GPIO.  The old sysfs ABI is still
     opt-in (and can be used in parallel), but is marked as deprecated.

     We will keep it around for the foreseeable future, but it will not
     be extended to cover ever more use cases.

  Cleanup:

   - Bjorn Helgaas removed a whole slew of per-architecture <asm/gpio.h>
     includes.

     This dates back to when GPIO was an opt-in feature and no shared
     library even existed: just a header file with proper prototypes was
     provided and all semantics were up to the arch to implement.  These
     patches make the GPIO chip even more a proper device and cleans out
     leftovers of the old in-kernel API here and there.

     Still some cruft is left but it's very little now.

   - There is still some clamping of return values for .get() going on,
     but we now return sane values in the vast majority of drivers and
     the errorpath is sanitized.  Some patches for powerpc, blackfin and
     unicore still drop in.

   - We continue to switch the ARM, MIPS, blackfin, m68k local GPIO
     implementations to use gpiochip_add_data() and cut down on code
     lines.

   - MPC8xxx is converted to use the generic GPIO helpers.

   - ATH79 is converted to use the generic GPIO helpers.

  New drivers:

   - WinSystems WS16C48

   - Acces 104-DIO-48E

   - F81866 (a F7188x variant)

   - Qoric (a MPC8xxx variant)

   - TS-4800

   - SPI serializers (pisosr): simple 74xx shift registers connected to
     SPI to obtain a dirt-cheap output-only GPIO expander.

   - Texas Instruments TPIC2810

   - Texas Instruments TPS65218

   - Texas Instruments TPS65912

   - X-Gene (ARM64) standby GPIO controller"

* tag 'gpio-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (194 commits)
  Revert "Share upstreaming patches"
  gpio: mcp23s08: Fix clearing of interrupt.
  gpiolib: Fix comment referring to gpio_*() in gpiod_*()
  gpio: pca953x: Fix pca953x_gpio_set_multiple() on 64-bit
  gpio: xgene: Fix kconfig for standby GIPO contoller
  gpio: Add generic serializer DT binding
  gpio: uapi: use 0xB4 as ioctl() major
  gpio: tps65912: fix bad merge
  Revert "gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free"
  gpio: omap: drop dev field from gpio_bank structure
  gpio: mpc8xxx: Slightly update the code for better readability
  gpio: mpc8xxx: Remove *read_reg and *write_reg from struct mpc8xxx_gpio_chip
  gpio: mpc8xxx: Fixup setting gpio direction output
  gpio: mcp23s08: Add support for mcp23s18
  dt-bindings: gpio: altera: Fix altr,interrupt-type property
  gpio: add driver for MEN 16Z127 GPIO controller
  gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free
  gpio: timberdale: Switch to devm_ioremap_resource()
  gpio: ts4800: Add IMX51 dependency
  gpiolib: rewrite gpiodev_add_to_list
  ...
2016-03-17 21:05:32 -07: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,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: Driver for SYSCON-based GPIOs 2014-03-18 09:28:31 +01: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-74x164.txt gpio: 74x164: dts: Add documentation for the dt binding 2012-09-11 19:21:34 +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-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-clps711x.txt GPIO: clps711x: Add DT support 2013-06-11 15:44:57 -07: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-mcp23s08.txt gpio: mcp23s08: Add support for mcp23s18 2016-03-09 09:50:37 +07:00
gpio-mm-lantiq.txt GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio 2012-05-21 14:31:53 +01:00
gpio-mpc8xxx.txt dt-bindings: define little-endian property for QorIQ GPIO 2015-12-11 16:13:02 -08: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 onsemi,pca9654 id 2015-12-09 08:04:38 +01: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-poweroff.txt Power: gpio-poweroff: Fix documentation and gpio_is_valid 2013-01-06 17:53:00 +00:00
gpio-restart.txt power: Add simple gpio-restart driver 2014-09-26 19:51:15 +02: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-sx150x.txt gpio: sx150x: Add support for sx1502 2015-12-22 11:07:48 +01:00
gpio-tps65086.txt gpio: tps65086: Add DT bindings for the TPS65086 GPO controller 2015-11-19 09:24:36 +01:00
gpio-ts4800.txt gpio: add bindings for TS-4800 gpio controller 2016-02-05 15:05:48 +01: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: Add Netlogic XLP GPIO devicetree bindings documentation 2015-05-06 16:30:59 +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 This is the bulk of GPIO changes for v4.4: 2015-11-02 12:59:12 -08:00
gpio_atmel.txt arm: at91: at91sam9x5: fix gpio number per bank 2012-10-13 09:09:29 +08:00
gpio_lpc32xx.txt gpio/lpc32xx: Add device tree support 2012-05-18 16:48:36 -06:00
microchip,pic32-gpio.txt pinctrl: Add DT bindings for PIC32 pin control and GPIO 2016-02-05 23:53:26 +01:00
moxa,moxart-gpio.txt gpio: Add MOXA ART GPIO driver 2013-12-03 11:26:08 +01:00
mrvl-gpio.txt gpio: mrvl: documentation: trivial: fix typo 2015-03-09 15:45:40 +01: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
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 r8a7795 (R-Car H3) support 2015-07-27 14:51:40 +02:00
snps-dwapb-gpio.txt Documentation: dt-bindings: Fix interrupt documentation file path 2015-11-24 11:11:17 +00:00
sodaville.txt gpio: Add a driver for Sodaville GPIO controller 2012-02-03 16:13:25 -07:00
spear_spics.txt gpio: SPEAr: add spi chipselect control driver 2012-11-18 00:01:27 +01:00
zx296702-gpio.txt gpio: Document ZTE zx296702 GPIO DT binding 2015-07-16 10:11:41 +02:00