Skip to contentSkip to conversation

dt-bindings: lcdif: add lcd panel related property for imx28

PATCH Applied Frank Li 2 participants 2 messages May 29, 2025 – Jun 5, 2025

Subsystems (5)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: lcdif: add lcd panel related property for imx28

Allow lcd panel related property for imx28 and keep the same restriction for other platform. It is legancy platform and set these property to deprecated.

Fix below CHECK_DTB warnings:
arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dtb: lcdif@80030000 (fsl,imx28-lcdif): 'display', 'display0' do not match any of the regexes: 'pinctrl-[0-9]+'

---
 .../bindings/display/fsl,lcdif.yaml           | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +18 -1
index 8e3a98aeec32d..2dd0411ec6516 100644
@@ -71,12 +71,23 @@ properties:
     $ref: /schemas/graph.yaml#/properties/port
     description: The LCDIF output port
 
+  display:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description: phandle to display panel
+    deprecated: true
+
+  display0:
+    $ref: panel/panel-common.yaml#
+    deprecated: true
+
+  lcd-supply:
+    deprecated: true
+
 required:
   - compatible
   - reg
   - clocks
   - interrupts
-  - port
 
 additionalProperties: false
 
@@ -175,6 +186,12 @@ allOf:
       properties:
         dmas: false
         dma-names: false
+        display: false
+        display0: false
+        lcd-supply: false
+
+      required:
+        - port
 
 examples:
   - |
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Frank Li

Allow lcd panel related property for imx28 and keep the same restriction for other platform. It is legancy platform and set these property to deprecated.

Quoted 8 lines

Fix below CHECK_DTB warnings:
arch/arm/boot/dts/nxp/mxs/imx28-apx4devkit.dtb: lcdif@80030000 (fsl,imx28-lcdif): 'display', 'display0' do not match any of the regexes: 'pinctrl-[0-9]+'

---
 .../bindings/display/fsl,lcdif.yaml           | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

Applied, thanks!