linux_dsm_epyc7002/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
abilis,tb10x-gpio.txt
brcm,kona-gpio.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
cavium-octeon-gpio.txt
cirrus,clps711x-mctrl-gpio.txt gpio: Driver for SYSCON-based GPIOs 2014-03-18 09:28:31 +01:00
fsl-imx-gpio.txt
fujitsu,mb86s70-gpio.txt gpio: Add Fujitsu MB86S7x GPIO driver 2015-01-20 11:23:18 +01:00
gpio_atmel.txt
gpio_lpc32xx.txt
gpio-74x164.txt
gpio-74xx-mmio.txt GPIO: 74xx-mmio: Add DT bindings documentation 2014-10-21 10:48:45 +02:00
gpio-adnp.txt
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-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-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-mvebu.txt
gpio-mxs.txt
gpio-nmk.txt
gpio-omap.txt
gpio-palmas.txt
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
gpio-restart.txt power: Add simple gpio-restart driver 2014-09-26 19:51:15 +02:00
gpio-samsung.txt
gpio-stericsson-coh901.txt
gpio-stmpe.txt
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-tz1090-pdc.txt
gpio-tz1090.txt
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
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
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