[PATCH v1] dt-bindings: display: Convert fsl,imx-fb.txt to dt-schema

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue Nov 29 02:03:49 PST 2022


On 28/11/2022 18:42, Uwe Kleine-König wrote:
> So I'd go for putting into the legacy binding what is currently done in
> arch/arm/boot/dts and the driver allowing exactly:
> 
> 	compatible = "fsl,imx27-fb", "fsl,imx21-fb";
> 	compatible = "fsl,imx25-fb", "fsl,imx21-fb";
> 	compatible = "fsl,imx21-fb";
> 	compatible = "fsl,imx1-fb";
> 
> I thinks this is accomplished using:
> 
>   compatible:
>     oneOf:
>       - enum:
>           - fsl,imx1-fb
> 	  - fsl,imx21-fb
>       - items
>           - enum:
> 	      - fsl,imx25-fb
> 	      - fsl,imx27-fb
> 	  - const: fsl,imx21-fb
> 
> right?

Yes, looks correct.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list