[PATCH v4 2/4] dt-bindings: serial: fsl-linflexuart: add compatible for S32G3

Wadim Mueller posted 4 patches 1 year, 8 months ago
[PATCH v4 2/4] dt-bindings: serial: fsl-linflexuart: add compatible for S32G3
Posted by Wadim Mueller 1 year, 8 months ago
Add a compatible string for the uart binding of NXP S32G3 platforms. Here
we use "s32v234-linflexuart" as fallback since the current linflexuart
driver can still work on S32G3.

Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
 .../devicetree/bindings/serial/fsl,s32-linflexuart.yaml       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
index 7a105551fa6a..4171f524a928 100644
--- a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml
@@ -23,7 +23,9 @@ properties:
     oneOf:
       - const: fsl,s32v234-linflexuart
       - items:
-          - const: nxp,s32g2-linflexuart
+          - enum:
+              - nxp,s32g2-linflexuart
+              - nxp,s32g3-linflexuart
           - const: fsl,s32v234-linflexuart
 
   reg:
-- 
2.25.1
Re: [PATCH v4 2/4] dt-bindings: serial: fsl-linflexuart: add compatible for S32G3
Posted by Rob Herring 1 year, 8 months ago
On Sun, 24 Mar 2024 22:43:24 +0100, Wadim Mueller wrote:
> Add a compatible string for the uart binding of NXP S32G3 platforms. Here
> we use "s32v234-linflexuart" as fallback since the current linflexuart
> driver can still work on S32G3.
> 
> Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
> ---
>  .../devicetree/bindings/serial/fsl,s32-linflexuart.yaml       | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Looks like this was missed, so I applied it, thanks!
Re: [PATCH v4 2/4] dt-bindings: serial: fsl-linflexuart: add compatible for S32G3
Posted by Krzysztof Kozlowski 1 year, 8 months ago
On 24/03/2024 22:43, Wadim Mueller wrote:
> Add a compatible string for the uart binding of NXP S32G3 platforms. Here
> we use "s32v234-linflexuart" as fallback since the current linflexuart
> driver can still work on S32G3.
> 
> Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof