[PATCH 2/3] dt-bindings: lcdif: Decouple imx8mq from imx6sx
Fabio Estevam
festevam at gmail.com
Mon Dec 11 20:41:37 UTC 2023
From: Fabio Estevam <festevam at denx.de>
On i.MX6SX, the LCDIF has an associated power domain.
i.MX8MQ does not have an LCDIF power domain, so allow passing only
"fsl,imx8mq-lcdif" as compatible string to fix the following
dt-schema warning:
imx8mq-evk.dtb: lcd-controller at 30320000: 'power-domains' is a required property
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
Signed-off-by: Fabio Estevam <festevam at denx.de>
---
Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
index 1c2be8d6f633..8969e56d4c98 100644
--- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
+++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
@@ -20,6 +20,7 @@ properties:
- fsl,imx23-lcdif
- fsl,imx28-lcdif
- fsl,imx6sx-lcdif
+ - fsl,imx8mq-lcdif
- fsl,imx8mp-lcdif
- fsl,imx93-lcdif
- items:
@@ -77,7 +78,9 @@ allOf:
properties:
compatible:
contains:
- const: fsl,imx6sx-lcdif
+ enum:
+ - fsl,imx6sx-lcdif
+ - fsl,imx8mq-lcdif
then:
properties:
clocks:
@@ -113,6 +116,7 @@ allOf:
enum:
- fsl,imx6sx-lcdif
- fsl,imx8mp-lcdif
+ - fsl,imx8mq-lcdif
- fsl,imx93-lcdif
then:
properties:
--
2.34.1
More information about the dri-devel
mailing list