mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-10 18:53:38 +00:00
ARM: dts: rockchip: pull up cts lines on rk3288
The flow control lines from a user accessible UART are optional, the user might not have anything connected to those pins. In order to prevent random interrupts happening and noise affecting the cts pin should be pulled up. Note that the default state for that pin on the rk3288 is pulled up, so this patch merely restores them. This is similar to what we're already doing with the RX pin, so it should be safe. At worst it might be a slightly higher power usage (through ~50 kohms) when the cts is low. Suggested-by: Neil Hendin <nhendin@chromium.org> Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
d5f9f4ff73
commit
8915f36441
1 changed files with 4 additions and 4 deletions
|
@ -1211,7 +1211,7 @@ uart0_xfer: uart0-xfer {
|
|||
};
|
||||
|
||||
uart0_cts: uart0-cts {
|
||||
rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_none>;
|
||||
rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
uart0_rts: uart0-rts {
|
||||
|
@ -1226,7 +1226,7 @@ uart1_xfer: uart1-xfer {
|
|||
};
|
||||
|
||||
uart1_cts: uart1-cts {
|
||||
rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_none>;
|
||||
rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
uart1_rts: uart1-rts {
|
||||
|
@ -1249,7 +1249,7 @@ uart3_xfer: uart3-xfer {
|
|||
};
|
||||
|
||||
uart3_cts: uart3-cts {
|
||||
rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_none>;
|
||||
rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
uart3_rts: uart3-rts {
|
||||
|
@ -1264,7 +1264,7 @@ uart4_xfer: uart4-xfer {
|
|||
};
|
||||
|
||||
uart4_cts: uart4-cts {
|
||||
rockchip,pins = <5 14 3 &pcfg_pull_none>;
|
||||
rockchip,pins = <5 14 3 &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
uart4_rts: uart4-rts {
|
||||
|
|
Loading…
Reference in a new issue