summaryrefslogtreecommitdiffstats
path: root/drivers/edac/amd64_edac.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-02-17 20:26:21 +0530
committerGrant Likely <grant.likely@secretlab.ca>2012-03-05 07:49:44 -0700
commitaca5ce14eb773a75e5d935968b2e390dc5bd29c3 (patch)
tree7da20e783f03b076d41163aad82dfb6878964ff9 /drivers/edac/amd64_edac.c
parent3d2ddfdcf05f5f816f829f81858c54827d7be5b4 (diff)
downloadblackbird-op-linux-aca5ce14eb773a75e5d935968b2e390dc5bd29c3.tar.gz
blackbird-op-linux-aca5ce14eb773a75e5d935968b2e390dc5bd29c3.zip
gpio: gpiolib: Support for open drain/collector gpios
Adding support for the open drain gpio on which client can specify the open drain property through GPIO flag GPIOF_OPEN_DRAIN at the time of gpio request. The open drain pins are normally pulled high and it cannot be driven to output with value of 1 and so when client request for setting the pin to HIGH, the gpio will be set to input direction to make pin in tristate and hence PULL-UP on pins will make the state to HIGH. The open drain pin can be driven to LOW by setting output with value of 0. 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 'drivers/edac/amd64_edac.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud