linux/include/dt-bindings
Thomas Petazzoni ede033e1e8 dt-bindings: gpio: document the new pull-up/pull-down flags
This commit extends the flags that can be used in GPIO specifiers to
indicate if a pull-up resistor or pull-down resistor should be
enabled.

While some pinctrl DT bindings already offer the capability of
configuring pull-up/pull-down resistors at the pin level, a number of
simple GPIO controllers don't have any pinmuxing capability, and
therefore do not rely on the pinctrl DT bindings.

Such simple GPIO controllers however sometimes allow to configure
pull-up and pull-down resistors on a per-pin basis, and whether such
resistors should be enabled or not is a highly board-specific HW
characteristic.

By using two additional bits of the GPIO flag specifier, we can easily
allow the Device Tree to describe which GPIOs should have their
pull-up or pull-down resistors enabled. Even though the two options
are mutually exclusive, we still need two bits to encode at least
three states: no pull-up/pull-down, pull-up, pull-down.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-02-13 09:07:43 +01:00
..
arm
bus bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x 2018-07-09 22:31:27 -07:00
clk
clock Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2019-01-02 18:56:59 -08:00
display License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma dt-bindings: dmaengine: dw-dmac: add protection control property 2018-11-24 20:07:22 +05:30
firmware/imx dt-bindings: imx: add scu resource id headfile 2018-11-14 09:20:34 +08:00
gce dt-bindings: soc: Add documentation for the MediaTek GCE unit 2018-08-03 19:52:14 +05:30
gpio dt-bindings: gpio: document the new pull-up/pull-down flags 2019-02-13 09:07:43 +01:00
i2c
iio iio: adc: Update QCOM ADC license to SPDX format 2018-08-18 18:11:46 +01:00
input Input: gpio-keys - add support for wakeup event action 2018-03-14 10:13:22 -07:00
interrupt-controller ARM: dt: relicense two DT binding IRQ headers 2018-10-26 07:46:32 -05:00
leds License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mailbox dt-bindings: tegra186-hsp: Add shared mailboxes 2018-12-21 22:31:26 -06:00
media media: xilinx: Use SPDX-License-Identifier 2018-12-03 13:40:05 -05:00
memory dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI 2018-07-18 17:01:04 +02:00
mfd dt-bindings: Add binding for atmel-usart in SPI mode 2018-09-10 16:07:11 +01:00
mips MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd 2017-09-04 21:19:02 +02:00
mux License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
net dt-bindings: net: vsc8531: add two additional LED modes for VSC8584 2018-10-08 10:31:27 -07:00
phy dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1 2018-10-22 19:27:14 -07:00
pinctrl Pin control bulk changes for the v4.21 kernel cycle: 2019-01-01 13:19:16 -08:00
power i.MX drivers change for 4.21: 2018-12-12 13:33:06 -08:00
pwm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regulator regulator: act8945a-regulator: Implement PM functionalities 2018-12-12 16:59:04 +00:00
reset dt-bindings: clock: Add Allwinner suniv F1C100s CCU 2018-12-04 08:41:13 +01:00
soc drivers: qcom: rpmh-rsc: add RPMH controller for QCOM SoCs 2018-07-21 13:32:06 -05:00
sound ASoC: qdsp6: dt-bindings: Add q6afe display_port dt binding 2018-12-14 12:48:48 +00:00
spmi
thermal dt-bindings: thermal: tegra-bpmp: Add Tegra194 support 2018-11-27 18:41:23 +01:00
usb dt-bindings: connector: Add support for USB-PD PPS APDOs to bindings 2018-09-20 12:56:02 +02:00