diff mbox series

dt-bindings: serial: 8250: Add Exar compatibles

Message ID 20210716225319.1282704-1-linus.walleij@linaro.org
State New
Headers show
Series dt-bindings: serial: 8250: Add Exar compatibles | expand

Commit Message

Linus Walleij July 16, 2021, 10:53 p.m. UTC
The Intel IXP425 Vulcan board has an Exar XR16L2551 8250-compatible.
It works like an 8250 but it is always good to specify exactly which
component we are using. This allows us to specify:

compatible = "exar,xr16l2551", "ns8250";

Put in some sibling Exar serial compatibles while we're at it.

Cc: Marc Zyngier <maz@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 Documentation/devicetree/bindings/serial/8250.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) July 22, 2021, 3:07 a.m. UTC | #1
On Sat, 17 Jul 2021 00:53:19 +0200, Linus Walleij wrote:
> The Intel IXP425 Vulcan board has an Exar XR16L2551 8250-compatible.
> It works like an 8250 but it is always good to specify exactly which
> component we are using. This allows us to specify:
> 
> compatible = "exar,xr16l2551", "ns8250";
> 
> Put in some sibling Exar serial compatibles while we're at it.
> 
> Cc: Marc Zyngier <maz@kernel.org>
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  Documentation/devicetree/bindings/serial/8250.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index a0bf061b80fe..fa767440f281 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -64,6 +64,12 @@  properties:
       - const: nuvoton,npcm750-uart
       - const: nvidia,tegra20-uart
       - const: nxp,lpc3220-uart
+      - items:
+          - enum:
+              - exar,xr16l2552
+              - exar,xr16l2551
+              - exar,xr16l2550
+          - const: ns8250
       - items:
           - enum:
               - altr,16550-FIFO32