[PATCH] dt-bindings: bridge: Convert Samsung MIPI DSIM bridge to yaml

Marek Vasut marex at denx.de
Mon Apr 3 16:10:00 UTC 2023


On 3/31/23 21:57, Fabio Estevam wrote:

[...]

> +properties:
> +  compatible:
> +    enum:
> +      - samsung,exynos3250-mipi-dsi
> +      - samsung,exynos4210-mipi-dsi
> +      - samsung,exynos5410-mipi-dsi
> +      - samsung,exynos5422-mipi-dsi
> +      - samsung,exynos5433-mipi-dsi
> +      - fsl,imx8mm-mipi-dsim
> +      - fsl,imx8mp-mipi-dsim

Can you handle "fsl,imx8mn-mipi-dsim", "fsl,imx8mm-mipi-dsim" here too ?
The MX8MN DSIM bridge is compatible with MX8MM DSIM bridge. The change 
should be something like:

diff --git 
a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml 
b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
index 2698752dc6edf..6a30194d3347e 100644
--- 
a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
+++ 
b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
@@ -16,14 +16,18 @@ description: |

  properties:
    compatible:
-    enum:
-      - samsung,exynos3250-mipi-dsi
-      - samsung,exynos4210-mipi-dsi
-      - samsung,exynos5410-mipi-dsi
-      - samsung,exynos5422-mipi-dsi
-      - samsung,exynos5433-mipi-dsi
-      - fsl,imx8mm-mipi-dsim
-      - fsl,imx8mp-mipi-dsim
+    oneOf:
+      - enum:
+          - samsung,exynos3250-mipi-dsi
+          - samsung,exynos4210-mipi-dsi
+          - samsung,exynos5410-mipi-dsi
+          - samsung,exynos5422-mipi-dsi
+          - samsung,exynos5433-mipi-dsi
+          - fsl,imx8mm-mipi-dsim
+          - fsl,imx8mp-mipi-dsim
+      - items:
+          - const: fsl,imx8mn-mipi-dsim
+          - const: fsl,imx8mm-mipi-dsim

    reg:
      maxItems: 1


More information about the dri-devel mailing list