2018-11-08 09:59:47

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH] arm64: dts: meson-axg: s400: add cts-rts to the bluetooth uart

The uart used with bluetooth chipset on the s400 has flow control
available. Let's enable it.

Signed-off-by: Jerome Brunet <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index ba44b0419404..29ccb8ad0de6 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -543,8 +543,9 @@

&uart_A {
status = "okay";
- pinctrl-0 = <&uart_a_pins>;
+ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
pinctrl-names = "default";
+ uart-has-rtscts;
};

&uart_AO {
--
2.19.1



2018-11-08 13:27:35

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson-axg: s400: add cts-rts to the bluetooth uart

On 08/11/2018 10:56, Jerome Brunet wrote:
> The uart used with bluetooth chipset on the s400 has flow control
> available. Let's enable it.
>
> Signed-off-by: Jerome Brunet <[email protected]>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
> index ba44b0419404..29ccb8ad0de6 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
> @@ -543,8 +543,9 @@
>
> &uart_A {
> status = "okay";
> - pinctrl-0 = <&uart_a_pins>;
> + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
> pinctrl-names = "default";
> + uart-has-rtscts;
> };
>
> &uart_AO {
>

Reviewed-by: Neil Armstrong <[email protected]>

2018-11-15 19:58:15

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: meson-axg: s400: add cts-rts to the bluetooth uart

Jerome Brunet <[email protected]> writes:

> The uart used with bluetooth chipset on the s400 has flow control
> available. Let's enable it.

Queued for v4.21 with Neil's tag (branch: v4.21/dt64)

Kevin