From: Chester Lin Date: Wed, 8 Sep 2021 06:45:23 +0000 (+0800) Subject: dt-bindings: serial: fsl-linflexuart: add compatible for S32G2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ed96dadec820b4081351f08273713128d8c16791;p=linux.git 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 Reviewed-by: Rob Herring Signed-off-by: Shawn Guo --- diff --git a/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml b/Documentation/devicetree/bindings/serial/fsl,s32-linflexuart.yaml index b6fc123e83757..8b643bae3c7b6 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