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

From: Neil Armstrong
Date: Mon Jun 14 2021 - 03:57:21 EST


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 <martin.blumenstingl@xxxxxxxxxxxxxx>
> ---
> 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 <narmstrong@xxxxxxxxxxxx>