Skip to contentSkip to conversation

dt-bindings: display: imx: add deprecated property 'port' and 'display-timings'

PATCH Applied Frank Li 3 participants 5 messages May 11 – May 13

Subsystems (5)
lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: display: imx: add deprecated property 'port' and 'display-timings'

Add deprecated property 'port' and 'display-timings' for i.MX5 SoCs (over
15 years) to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/imx/imx51-apf51dev.dtb: disp1 (fsl,imx-parallel-display): 'display-timings', 'port' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml

---
 .../display/imx/fsl,imx-parallel-display.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml +11 -0
index bbcfe7e2958b7..b0c5869771fae 100644
@@ -42,6 +42,17 @@ properties:
     unevaluatedProperties: false
     description: output port connected to a panel
 
+  port:
+    $ref: /schemas/graph.yaml#/properties/port
+    unevaluatedProperties: false
+    deprecated: true
+    description: input port connected to the IPU display interface, see port@0
+
+  display-timings:
+    $ref: /schemas/display/panel/display-timings.yaml#
+    unevaluatedProperties: false
+    deprecated: true
+
 required:
   - compatible
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 4 lines · Frank Li

Add deprecated property 'port' and 'display-timings' for i.MX5 SoCs (over
15 years) to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/imx/imx51-apf51dev.dtb: disp1 (fsl,imx-parallel-display): 'display-timings', 'port' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml

Instead of documenting the deprecated properties, could this device/devicetree be converted to non-deprecated properties?

Quoted 31 lines
---
 .../display/imx/fsl,imx-parallel-display.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml +11 -0
index bbcfe7e2958b7..b0c5869771fae 100644
@@ -42,6 +42,17 @@ properties:
     unevaluatedProperties: false
     description: output port connected to a panel
 
+  port:
+    $ref: /schemas/graph.yaml#/properties/port
+    unevaluatedProperties: false
+    deprecated: true
+    description: input port connected to the IPU display interface, see port@0
+
+  display-timings:
+    $ref: /schemas/display/panel/display-timings.yaml#
+    unevaluatedProperties: false
+    deprecated: true
+
 required:
   - compatible
 
Signature · 1 line
2.43.0
author maintainer
#2 lore raw
Quoted 8 lines · Conor Dooley
Quoted 4 lines · Frank Li

Add deprecated property 'port' and 'display-timings' for i.MX5 SoCs (over
15 years) to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/imx/imx51-apf51dev.dtb: disp1 (fsl,imx-parallel-display): 'display-timings', 'port' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml

Instead of documenting the deprecated properties, could this device/devicetree be converted to non-deprecated properties?

Change dts will cause break back compatiblity. This is too old chips and I have not information panel's detail information.

Frank

Quoted 32 lines
Quoted 32 lines
---
 .../display/imx/fsl,imx-parallel-display.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml +11 -1
index bbcfe7e2958b7..b0c5869771fae 100644
@@ -42,6 +42,17 @@ properties:
     unevaluatedProperties: false
     description: output port connected to a panel
 
+  port:
+    $ref: /schemas/graph.yaml#/properties/port
+    unevaluatedProperties: false
+    deprecated: true
+    description: input port connected to the IPU display interface, see port@0
+
+  display-timings:
+    $ref: /schemas/display/panel/display-timings.yaml#
+    unevaluatedProperties: false
+    deprecated: true
+
 required:
   - compatible
 
--

2.43.0

Acked-by
#3 lore raw
Quoted 11 lines · Frank Li
Quoted 8 lines · Conor Dooley
Quoted 4 lines · Frank Li

Add deprecated property 'port' and 'display-timings' for i.MX5 SoCs (over
15 years) to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/imx/imx51-apf51dev.dtb: disp1 (fsl,imx-parallel-display): 'display-timings', 'port' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml

Instead of documenting the deprecated properties, could this device/devicetree be converted to non-deprecated properties?

Change dts will cause break back compatiblity. This is too old chips and

How would changing the dts impact backwards compatibility? That argument doesn't make sense to me, I am of course not suggesting removing support from these properties from the driver.

I do accept that the argument of lacking info on the panel.

pw-bot: not-applicable

Quoted 38 lines

I have not information panel's detail information.

Frank

Quoted 32 lines
Quoted 32 lines
---
 .../display/imx/fsl,imx-parallel-display.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/devicetree/bindings/display/imx/fsl,imx-parallel-display.yaml +11 -1
index bbcfe7e2958b7..b0c5869771fae 100644
@@ -42,6 +42,17 @@ properties:
     unevaluatedProperties: false
     description: output port connected to a panel
 
+  port:
+    $ref: /schemas/graph.yaml#/properties/port
+    unevaluatedProperties: false
+    deprecated: true
+    description: input port connected to the IPU display interface, see port@0
+
+  display-timings:
+    $ref: /schemas/display/panel/display-timings.yaml#
+    unevaluatedProperties: false
+    deprecated: true
+
 required:
   - compatible
 
--

2.43.0

maintainer Applied
#4 lore raw
In reply to Frank Li
Quoted 10 lines · Frank Li

Add deprecated property 'port' and 'display-timings' for i.MX5 SoCs (over
15 years) to fix below CHECK_DTBS warnings:
arm/boot/dts/nxp/imx/imx51-apf51dev.dtb: disp1 (fsl,imx-parallel-display): 'display-timings', 'port' do not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml

---
 .../display/imx/fsl,imx-parallel-display.yaml         | 11 +++++++++++
 1 file changed, 11 insertions(+)

Applied, thanks!