2021-06-04 17:11:00

by Martin Blumenstingl

[permalink] [raw]
Subject: [PATCH] ARM: dts: meson: Set the fifo-size of uart_A to 128 bytes

The first UART controller in the "Everything-Else" power domain is
called uart_A. Unlike all other UARTs (which use a 64 byte fifo-size in
hardware) uart_A has a fifo-size of 128 bytes. This UART controller is
typically used for Bluetooth HCI.
The fifo-size of 128 bytes is valid from all SoCs from Meson6 (or
possibly even earlier) all the way up to the latest 64-bit ones.

Signed-off-by: Martin Blumenstingl <[email protected]>
---
arch/arm/boot/dts/meson.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
index 8bae6ed0abb2..bd0e864964e9 100644
--- a/arch/arm/boot/dts/meson.dtsi
+++ b/arch/arm/boot/dts/meson.dtsi
@@ -50,6 +50,7 @@ uart_A: serial@84c0 {
compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
reg = <0x84c0 0x18>;
interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
+ fifo-size = <128>;
status = "disabled";
};

--
2.31.1


2021-06-14 08:01:07

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: meson: Set the fifo-size of uart_A to 128 bytes

On 04/06/2021 19:08, Martin Blumenstingl wrote:
> The first UART controller in the "Everything-Else" power domain is
> called uart_A. Unlike all other UARTs (which use a 64 byte fifo-size in
> hardware) uart_A has a fifo-size of 128 bytes. This UART controller is
> typically used for Bluetooth HCI.
> The fifo-size of 128 bytes is valid from all SoCs from Meson6 (or
> possibly even earlier) all the way up to the latest 64-bit ones.
>
> Signed-off-by: Martin Blumenstingl <[email protected]>
> ---
> arch/arm/boot/dts/meson.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
> index 8bae6ed0abb2..bd0e864964e9 100644
> --- a/arch/arm/boot/dts/meson.dtsi
> +++ b/arch/arm/boot/dts/meson.dtsi
> @@ -50,6 +50,7 @@ uart_A: serial@84c0 {
> compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
> reg = <0x84c0 0x18>;
> interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
> + fifo-size = <128>;
> status = "disabled";
> };
>
>

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

2021-06-14 08:05:08

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: meson: Set the fifo-size of uart_A to 128 bytes

Hi,

On Fri, 4 Jun 2021 19:08:44 +0200, Martin Blumenstingl wrote:
> The first UART controller in the "Everything-Else" power domain is
> called uart_A. Unlike all other UARTs (which use a 64 byte fifo-size in
> hardware) uart_A has a fifo-size of 128 bytes. This UART controller is
> typically used for Bluetooth HCI.
> The fifo-size of 128 bytes is valid from all SoCs from Meson6 (or
> possibly even earlier) all the way up to the latest 64-bit ones.

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.14/dt)

[1/1] ARM: dts: meson: Set the fifo-size of uart_A to 128 bytes
https://git.kernel.org/amlogic/c/7db3cde5123e2acdd65ff7458628a9835c804b27

--
Neil