2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/include/dt-bindings/gpio
Laxman Dewangan 4c0facddb7 gpio: core: Decouple open drain/source flag with active low/high
Currently, the GPIO interface is said to Open Drain if it is Single
Ended and active LOW. Similarly, it is said as Open Source if it is
Single Ended and active HIGH.

The active HIGH/LOW is used in the interface for setting the pin
state to HIGH or LOW when enabling/disabling the interface.

In Open Drain interface, pin is set to HIGH by putting pin in
high impedance and LOW by driving to the LOW.

In Open Source interface, pin is set to HIGH by driving pin to
HIGH and set to LOW by putting pin in high impedance.

With above, the Open Drain/Source is unrelated to the active LOW/HIGH
in interface. There is interface where the enable/disable of interface
is ether active LOW or HIGH but it is Open Drain type.

Hence decouple the Open Drain with Single Ended + Active LOW and
Open Source with Single Ended + Active HIGH.

Adding different flag for the Open Drain/Open Source which is valid
only when Single ended flag is enabled.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-04-07 12:23:29 +02:00
..
gpio.h gpio: core: Decouple open drain/source flag with active low/high 2017-04-07 12:23:29 +02:00
meson8-gpio.h pinctrl: add driver for Amlogic Meson SoCs 2015-01-26 09:13:00 +01:00
meson8b-gpio.h pinctrl: Add support for Meson8b 2015-04-07 11:44:40 +02:00
meson-gxbb-gpio.h pinctrl: amlogic: Add support for Amlogic Meson GXBB SoC 2016-05-11 10:47:11 +02:00
meson-gxl-gpio.h pinctrl: meson: Add GXL pinctrl definitions 2016-11-04 23:05:06 +01:00
tegra186-gpio.h ARM: tegra: Add DT binding for Tegra186 GPIO controllers 2016-04-22 13:32:29 +02:00
tegra-gpio.h ARM: tegra: Fix naming in GPIO DT binding header 2016-04-22 13:23:17 +02:00