summaryrefslogtreecommitdiff
path: root/crypto/crypto_wq.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-04-05 13:11:11 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2016-04-05 15:02:34 (GMT)
commit8b866b0682c5de249afed3f7cb23c8421bc735b0 (patch)
tree98da781dfde46a0485a2e9fd7da9797b2a89021e /crypto/crypto_wq.c
parentcee1b40d96f1b49e9a1b38e2d57d37a2c20ced31 (diff)
downloadlinux-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/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions