summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-lp3943.c
diff options
context:
space:
mode:
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>2018-01-11 09:47:17 +0300
committerJohan Hovold <johan@kernel.org>2018-01-11 13:00:24 +0300
commit138651e1186bef33d0d330ca735d85784ee6535b (patch)
tree8d3507a6419890a8d04d728f717569c64ad13b77 /drivers/gpio/gpio-lp3943.c
parentee0309b46a20304d30c0e0447a2da2a94115731c (diff)
downloadlinux-138651e1186bef33d0d330ca735d85784ee6535b.tar.xz
USB: serial: f81534: add output pin control
The F81532/534 had 3 output pin (M0/SD, M1, M2) with open-drain mode to control transceiver. We'll read it from internal Flash with address 0x2f05~0x2f08 for 4 ports. The value is range from 0 to 7. The M0/SD is MSB of this value. For a examples, If read value is 6, we'll write M0/SD, M1, M2 as 1, 1, 0. Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-lp3943.c')
0 files changed, 0 insertions, 0 deletions