diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-04-05 15:11:11 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-05 17:02:34 +0200 |
commit | 8b866b0682c5de249afed3f7cb23c8421bc735b0 (patch) | |
tree | 98da781dfde46a0485a2e9fd7da9797b2a89021e /drivers/pci/setup-res.c | |
parent | cee1b40d96f1b49e9a1b38e2d57d37a2c20ced31 (diff) |
gpio: tc3589x: implement open drain/source callback
This makes use of the new .set_single_ended() callback to
set the GPIO line as open drain/open source using hardware.
The TC3589x can do this by either disabling the N-MOS
transistor (open drain) or the P-MOS transistor (open source)
of the output driver stage, in the first case making the signal
drive actively low and high impedance as "high" and in the second
case actively high and high impedance, which is as close to native
open drain support as we come.
Cc: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pci/setup-res.c')
0 files changed, 0 insertions, 0 deletions