linux/Documentation/devicetree/bindings/gpio
Wei Chen f936779329 pinctrl: sirf: add sirf atlas7 pinctrl and gpio support
The Pinctrl module (ioc) controls the Pad's function select
(each pad can have 8 functions), Pad's Drive Strength, Pad's
Pull Select and Pad's Input Disable status.

The ioc has two modules, ioc_top & ioc_rtc. Both of these two
modules have function select/clear, Pull select and Drive
Strength registers. But only ioc_rtc has input-disable
registers. The Pads on ioc_top have to access ioc_rtc to set
their input-disable status and intpu-disable-value.

So have to use one ioc driver instance to drive these two
ioc modules at the same time, and each ioc module will be
treat as one bank on the "IOC Device".

The GPIO Controller controls the GPIO status if the Pad has
been config as GPIO by Pinctrl already. Includes the GPIO
Input/output, Interrupt type, Interrupt Status, and Set/Get
Values.
The GPIO pull up/down are controlled by Pinctrl.

There are 7 GPIO Groups and splited into 3 MACROs in atlas7.
The GPIO Groups in one MACRO share one GPIO controllers, each
GPIO Group are treated as one GPIO bank.

For example:
In VDIFM macro, there is one GPIO Controller, it has 3 banks
to control 3 gpio groups. Its gpio name space is from 0 to 95.

The Device Tree can be written as following:

gpio-ranges = <&pinctrl 0 0 0>,
<&pinctrl 32 0 0>,
<&pinctrl 64 0 0>;

gpio-ranges-group-names = "gnss_gpio_grp",
"lcd_vip_gpio_grp",
"sdio_i2s_gpio_grp";

bank#0 is from 0~31, the pins are from pinctrl's "gnss_gpio_grp".
bank#2 is from 32~63, the pins are from pinctrl's "lcd_vip_gpio_grp".
bank#3 is from 64~95, the pins are from pinctrl's "sdio_i2s_gpio_grp".

Signed-off-by: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-19 16:01:30 +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,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_atmel.txt arm: at91: at91sam9x5: fix gpio number per bank 2012-10-13 09:09:29 +08:00
gpio_lpc32xx.txt
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 drivers/gpio: Altera soft IP GPIO driver device tree binding 2015-03-07 20:36:33 +01: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-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 option to configure IRQ output polarity as active high 2014-12-03 14:34:45 +01:00
gpio-mm-lantiq.txt
gpio-msm.txt gpio: msm: Add device tree and irqdomain support for gpio-msm-v2 2013-06-12 14:50:12 -07: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 DT binding documentation 2014-08-28 14:19:40 +02:00
gpio-pcf857x.txt Documentation: devicetree: Fix double words in Doumentation/devicetree 2015-01-28 15:13:11 -07: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-sx150x.txt gpio: sx150x: add dts support for sx150x driver 2015-01-19 11:20: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 Documentation: gpio: Add APM X-Gene standby GPIO controller DTS binding 2015-01-20 10:39:25 +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-zevio.txt gpio: New driver for LSI ZEVIO SoCs 2014-02-27 10:30:42 +01:00
gpio-zynq.txt devicetree: Add Zynq GPIO devicetree bindings documentation 2014-07-10 11:13:44 +02:00
gpio.txt gpio: Document GPIO hogging mechanism 2015-03-04 11:10:32 +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
nvidia,tegra20-gpio.txt dt: name all Tegra binding docs consistently 2012-06-11 11:48:42 -06: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 r8a7793 and r8a7794 support 2014-11-27 15:01:19 +01:00
snps-dwapb-gpio.txt gpio: dwapb: correct gpio-cells in binding document 2014-03-26 10:31:35 +01:00
sodaville.txt
spear_spics.txt gpio: SPEAr: add spi chipselect control driver 2012-11-18 00:01:27 +01:00