[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210908064528.922-4-clin@suse.com>
Date: Wed, 8 Sep 2021 14:45:23 +0800
From: Chester Lin <clin@...e.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Radu Nicolae Pirea <radu-nicolae.pirea@....nxp.com>,
Andreas Färber <afaerber@...e.de>
CC: s32@....com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-serial@...r.kernel.org, Shawn Guo <shawnguo@...nel.org>,
Li Yang <leoyang.li@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
catalin-dan.udma@....com, bogdan.hamciuc@....com,
bogdan.folea@....com, ciprianmarian.costea@....com,
ghennadi.procopciuc@....com, Matthias Brugger <mbrugger@...e.com>,
"Ivan T . Ivanov" <iivanov@...e.de>,
"Lee, Chun-Yi" <jlee@...e.com>, Chester Lin <clin@...e.com>
Subject: [PATCH v2 3/8] dt-bindings: serial: fsl-linflexuart: add compatible for S32G2
Add a compatible string for the uart binding of NXP S32G2 platforms. Here
we use "s32v234-linflexuart" as fallback since the current linflexuart
driver can still work on S32G2.
Signed-off-by: Chester Lin <clin@...e.com>
---
Changes in v2:
- Remove redundant minItems/maxItems from compatible properties.
- Remove the redundant example.
- Rename the vendor string to "nxp," for s32g2.
.../devicetree/bindings/serial/fsl,s32-linflexuart.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
index b6fc123e8375..8b643bae3c7b 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
@@ -20,9 +20,11 @@ allOf:
properties:
compatible:
- description: The LINFlexD controller in UART mode.
- items:
+ oneOf:
- const: fsl,s32v234-linflexuart
+ - items:
+ - const: nxp,s32g2-linflexuart
+ - const: fsl,s32v234-linflexuart
reg:
maxItems: 1
--
2.30.0
Powered by blists - more mailing lists