devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: serial: amlogic,meson-uart: add fifo-size property
       [not found] <20210518075833.3736038-1-narmstrong@baylibre.com>
@ 2021-05-18  7:58 ` Neil Armstrong
  2021-05-19 21:36   ` [PATCH 1/3] dt-bindings: serial: amlogic, meson-uart: " Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Armstrong @ 2021-05-18  7:58 UTC (permalink / raw)
  To: gregkh, jirislaby, devicetree
  Cc: linux-serial, linux-arm-kernel, linux-amlogic, linux-kernel,
	Neil Armstrong, Martin Blumenstingl

On most of the Amlogic SoCs, the first UART controller in the "Everything-Else"
power domain has 128bytes of RX & TX FIFO, so add an optional property to describe
a different FIFO size from the other ports (64bytes).

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 .../devicetree/bindings/serial/amlogic,meson-uart.yaml       | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
index 75ebc9952a99..7487aa6ef849 100644
--- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml
@@ -55,6 +55,11 @@ properties:
       - const: pclk
       - const: baud
 
+  fifo-size:
+    description: The fifo size supported by the UART channel.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [64, 128]
+
 required:
   - compatible
   - reg
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/3] dt-bindings: serial: amlogic, meson-uart: add fifo-size property
  2021-05-18  7:58 ` [PATCH 1/3] dt-bindings: serial: amlogic,meson-uart: add fifo-size property Neil Armstrong
@ 2021-05-19 21:36   ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-05-19 21:36 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: jirislaby, Martin Blumenstingl, devicetree, linux-kernel,
	linux-arm-kernel, linux-serial, gregkh, linux-amlogic

On Tue, 18 May 2021 09:58:31 +0200, Neil Armstrong wrote:
> On most of the Amlogic SoCs, the first UART controller in the "Everything-Else"
> power domain has 128bytes of RX & TX FIFO, so add an optional property to describe
> a different FIFO size from the other ports (64bytes).
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> ---
>  .../devicetree/bindings/serial/amlogic,meson-uart.yaml       | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-19 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20210518075833.3736038-1-narmstrong@baylibre.com>
2021-05-18  7:58 ` [PATCH 1/3] dt-bindings: serial: amlogic,meson-uart: add fifo-size property Neil Armstrong
2021-05-19 21:36   ` [PATCH 1/3] dt-bindings: serial: amlogic, meson-uart: " Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).