diff options
author | 2012-02-17 20:26:22 +0530 | |
---|---|---|
committer | 2012-03-05 07:49:44 -0700 | |
commit | 25553ff0756c59b617af6bdd280c94e943164184 (patch) | |
tree | 6ca9ec045b5d2e10523fdf46facac59aa683f4ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: gpiolib: Support for open drain/collector gpios (diff) | |
download | linux-dev-25553ff0756c59b617af6bdd280c94e943164184.tar.xz linux-dev-25553ff0756c59b617af6bdd280c94e943164184.zip |
gpio: gpiolib: Support for open source/emitter gpios
Adding support for the open source gpio on which client
can specify the open source property through GPIO flag
GPIOF_OPEN_SOURCE at the time of gpio request.
The open source pins are normally pulled low and it
cannot be driven to output with value of 0 and so
when client request for setting the pin to LOW, the
gpio will be set to input direction to make pin in tristate
and hence PULL-DOWN on pins will make the state to LOW.
The open source pin can be driven to HIGH by setting output
with value of 1.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions