pinctrl: mt7986: allow configuring uart rx/tx and rts/cts separately
authorSam Shih <sam.shih@mediatek.com>
Sat, 8 Oct 2022 16:48:06 +0000 (18:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Oct 2022 09:56:02 +0000 (11:56 +0200)
commitaef1bef2dfdd6e1bf003cb745eb3941bca01b714
tree2224cc8be28d33b146c845956bc2ec2ce7c63bb1
parent61164d220f524945d4006263bb4946a023f0dbb4
pinctrl: mt7986: allow configuring uart rx/tx and rts/cts separately

Some mt7986 boards use uart rts/cts pins as gpio,
This patch allows to change rts/cts to gpio mode, but keep
rx/tx as UART function.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Link: https://lore.kernel.org/r/20221008164807.113590-1-linux@fw-web.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt7986.c