diff options
author | Roja Rani Yarubandi <rojay@codeaurora.org> | 2020-03-04 16:52:03 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-06 13:16:20 +0100 |
commit | 9fa3c4b1fa379f2b55859c6d27ba0563aac06516 (patch) | |
tree | ab2e984dbeb488a204212ae12936474db1f062c0 /drivers/gpio/gpiolib.h | |
parent | 97cbaf2c829b476887582f5ae92363ebea27cc47 (diff) |
tty: serial: qcom_geni_serial: Fix GPIO swapping with workaround
Add capability to support RX-TX, CTS-RTS pins swap in HW.
Configure UART_IO_MACRO_CTRL register accordingly if RX-TX pair
or CTS-RTS pair or both pairs swapped.
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20200304112203.408-1-rojay@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
0 files changed, 0 insertions, 0 deletions