diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-04-05 13:11:11 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-05 15:02:34 (GMT) |
commit | 8b866b0682c5de249afed3f7cb23c8421bc735b0 (patch) | |
tree | 98da781dfde46a0485a2e9fd7da9797b2a89021e /crypto/khazad.c | |
parent | cee1b40d96f1b49e9a1b38e2d57d37a2c20ced31 (diff) | |
download | linux-8b866b0682c5de249afed3f7cb23c8421bc735b0.tar.xz |
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 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions