diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-01-15 23:23:03 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-01-22 16:00:55 +0100 |
commit | 5d16e40dd70298f8e35c727df56a05a49326c044 (patch) | |
tree | c2842a0611bf8ef395f0be756ab508c8bc83c91a /Documentation | |
parent | dt-bindings: display: mxsfb: Convert binding to YAML (diff) | |
download | linux-5d16e40dd70298f8e35c727df56a05a49326c044.tar.xz linux-5d16e40dd70298f8e35c727df56a05a49326c044.zip |
dt-bindings: display: mxsfb: Add and fix compatible strings
Additional compatible strings have been added in DT source for the
i.MX6SL, i.MX6SLL, i.MX6UL and i.MX7D without updating the bindings.
Most of the upstream DT sources use the fsl,imx28-lcdif compatible
string, which mostly predates the realization that the LCDIF in the
i.MX6 and newer SoCs have extra features compared to the i.MX28.
Update the bindings to add the missing compatible strings, with the
correct fallback values. This fails to validate some of the upstream DT
sources. Instead of adding the incorrect compatible fallback to the
binding, the sources should be updated separately.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115222304.5427-3-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index bbd47d80d253..4fc24d482b1c 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -15,11 +15,19 @@ description: | properties: compatible: - enum: - - fsl,imx23-lcdif - - fsl,imx28-lcdif - - fsl,imx6sx-lcdif - - fsl,imx8mq-lcdif + oneOf: + - enum: + - fsl,imx23-lcdif + - fsl,imx28-lcdif + - fsl,imx6sx-lcdif + - items: + - enum: + - fsl,imx6sl-lcdif + - fsl,imx6sll-lcdif + - fsl,imx6ul-lcdif + - fsl,imx7d-lcdif + - fsl,imx8mq-lcdif + - const: fsl,imx6sx-lcdif reg: maxItems: 1 |