dt-bindings: serial: samsung: add specific compatible for Tesla FSD
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 5 Dec 2023 09:22:26 +0000 (10:22 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 7 Dec 2023 13:31:50 +0000 (14:31 +0100)
Tesla FSD is a derivative of Samsung Exynos SoC, thus just like the
others it reuses several devices from older designs.  Historically we
kept the old (block's) compatible only.  This works fine and there is no
bug here, however guidelines expressed in
Documentation/devicetree/bindings/writing-bindings.rst state that:
1. Compatibles should be specific.
2. We should add new compatibles in case of bugs or features.

Add Tesla FSD compatible specific to be used with an existing fallback.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231205092229.19135-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/serial/samsung_uart.yaml

index e32c1b46283604e1708423011644e6d069350ef4..4b6fc82c2edf971c4e9719d836fa7dccd127cc5c 100644 (file)
@@ -29,6 +29,7 @@ properties:
       - items:
           - enum:
               - samsung,exynos7-uart
+              - tesla,fsd-uart
           - const: samsung,exynos4210-uart
       - items:
           - enum: