dt-bindings: display: panel: Make DSI panels port optional
Subsystems (17)
PATCH v3 1/1 dt-bindings: display: panel: Make DSI panels port optional
DSI panels can be placed under DSI bus directly and some of the Linux DRM drivers will work fine with it: mipi_dsi_host_register() adds device for such panel and DRM driver does not use OF graph to configure lanes. Examples are Samsung Exynos and Allwinner DRM drivers.
The Linux panel drivers affected here do not use OF graph, either.
Requiring graph port for such panels is tying the binding to one specific implementation of Linux DRM drivers, e.g. Qualcomm DRM which requires the port. That's a mistake, because:
1. It prevents usage of such panel in DTS for other platforms,
2. Places the constraint (port requirement) in wrong domain - the DSI host needs the port, not the panel.
The port is not needed for the panel hardware to operate thus it should be optional.
---
Change in v3:
1. Require port for the SPI-only rocktech,rk050hr345-ct106a?
Change in v2:
1. Rephrase commit msg
2. Tag
Remaining one Ilitek is fixed in:
https://lore.kernel.org/all/[email protected]/
--- .../devicetree/bindings/display/panel/anbernic,td4310.yaml | 1 - Documentation/devicetree/bindings/display/panel/boe,td4320.yaml | 1 - .../devicetree/bindings/display/panel/boe,tv101wum-ll2.yaml | 1 - .../devicetree/bindings/display/panel/ebbg,ft8719.yaml | 1 - .../devicetree/bindings/display/panel/elida,kd35t133.yaml | 1 - .../bindings/display/panel/feiyang,fy07024di26a30d.yaml | 1 - .../devicetree/bindings/display/panel/himax,hx83112a.yaml | 1 - .../devicetree/bindings/display/panel/himax,hx83112b.yaml | 1 - .../devicetree/bindings/display/panel/himax,hx8394.yaml | 1 - .../devicetree/bindings/display/panel/ilitek,ili7807s.yaml | 1 - .../devicetree/bindings/display/panel/ilitek,ili9805.yaml | 1 - .../devicetree/bindings/display/panel/ilitek,ili9806e.yaml | 2 +- Documentation/devicetree/bindings/display/panel/lxd,m9189a.yaml | 1 - .../devicetree/bindings/display/panel/novatek,nt35532.yaml | 1 - .../devicetree/bindings/display/panel/novatek,nt36672a.yaml | 1 - .../devicetree/bindings/display/panel/novatek,nt36672e.yaml | 1 - .../devicetree/bindings/display/panel/novatek,nt37801.yaml | 1 - .../devicetree/bindings/display/panel/novatek,nt51021.yaml | 1 - .../devicetree/bindings/display/panel/raydium,rm67191.yaml | 1 - .../devicetree/bindings/display/panel/raydium,rm67200.yaml | 1 - .../devicetree/bindings/display/panel/raydium,rm69220.yaml | 1 - .../devicetree/bindings/display/panel/raydium,rm692e5.yaml | 1 - .../devicetree/bindings/display/panel/renesas,r61307.yaml | 1 - .../devicetree/bindings/display/panel/renesas,r69328.yaml | 1 - .../devicetree/bindings/display/panel/ronbo,rb070d30.yaml | 1 - .../devicetree/bindings/display/panel/samsung,ams581vf01.yaml | 1 - .../devicetree/bindings/display/panel/samsung,ams639rq08.yaml | 1 - .../bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml | 1 - .../devicetree/bindings/display/panel/samsung,sofef01-m.yaml | 1 - .../devicetree/bindings/display/panel/sony,td4353-jdi.yaml | 1 - .../bindings/display/panel/sony,tulip-truly-nt35521.yaml | 1 - .../bindings/display/panel/startek,kd070fhfid015.yaml | 1 - .../devicetree/bindings/display/panel/synaptics,r63353.yaml | 1 - .../devicetree/bindings/display/panel/visionox,g2647fb105.yaml | 1 - .../devicetree/bindings/display/panel/visionox,r66451.yaml | 1 - .../devicetree/bindings/display/panel/visionox,rm69299.yaml | 1 - .../devicetree/bindings/display/panel/visionox,rm692e5.yaml | 1 - .../devicetree/bindings/display/panel/visionox,vtdr6130.yaml | 1 - .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 1 - 39 files changed, 1 insertion(+), 39 deletions(-)
Documentation/devicetree/bindings/display/panel/anbernic,td4310.yaml +0 -1
@@ -31,7 +31,6 @@ properties: required: - compatible - - port - reg - reset-gpios - vdd-supply
Documentation/devicetree/bindings/display/panel/boe,td4320.yaml +0 -1
@@ -36,7 +36,6 @@ required: - compatible - reg - reset-gpios - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/boe,tv101wum-ll2.yaml +0 -1
@@ -33,7 +33,6 @@ required: - reset-gpios - vsp-supply - vsn-supply - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml +0 -1
@@ -41,7 +41,6 @@ required: - vddpos-supply - vddneg-supply - reset-gpios - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml +0 -1
@@ -32,7 +32,6 @@ required: - compatible - reg - backlight - - port - iovcc-supply - vdd-supply
Documentation/devicetree/bindings/display/panel/feiyang,fy07024di26a30d.yaml +0 -1
@@ -35,7 +35,6 @@ required: - reg - avdd-supply - dvdd-supply - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/himax,hx83112a.yaml +0 -1
@@ -40,7 +40,6 @@ required: - vdd1-supply - vsn-supply - vsp-supply - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/himax,hx83112b.yaml +0 -1
@@ -40,7 +40,6 @@ required: - iovcc-supply - vsn-supply - vsp-supply - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml +0 -1
@@ -49,7 +49,6 @@ required: - compatible - reg - backlight - - port - vcc-supply - iovcc-supply
Documentation/devicetree/bindings/display/panel/ilitek,ili7807s.yaml +0 -1
@@ -41,7 +41,6 @@ required: - vddi-supply - avdd-supply - avee-supply - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml +0 -1
@@ -32,7 +32,6 @@ required: - dvdd-supply - reg - reset-gpios - - port - backlight unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml +1 -1
@@ -33,7 +33,6 @@ required: - vdd-supply - reset-gpios - backlight - - port if: properties:
@@ -44,6 +43,7 @@ if: then: $ref: /schemas/spi/spi-peripheral-props.yaml# required: + - port - spi-max-frequency else: required:
Documentation/devicetree/bindings/display/panel/lxd,m9189a.yaml +0 -1
@@ -35,7 +35,6 @@ required: - reset-gpios - power-supply - backlight - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/novatek,nt35532.yaml +0 -1
@@ -47,7 +47,6 @@ required: - reg - reset-gpios - vddi-supply - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml +0 -1
@@ -54,7 +54,6 @@ required: - vddpos-supply - vddneg-supply - reset-gpios - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/novatek,nt36672e.yaml +0 -1
@@ -34,7 +34,6 @@ required: - avdd-supply - avee-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/novatek,nt37801.yaml +0 -1
@@ -36,7 +36,6 @@ required: - vci-supply - vdd-supply - vddio-supply - - port - reset-gpios additionalProperties: false
Documentation/devicetree/bindings/display/panel/novatek,nt51021.yaml +0 -1
@@ -54,7 +54,6 @@ required: - avdd-supply - havdd-supply - reset-gpios - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml +0 -1
@@ -47,7 +47,6 @@ required: - compatible - reg - dsi-lanes - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/raydium,rm67200.yaml +0 -1
@@ -40,7 +40,6 @@ properties: required: - compatible - - port - reg additionalProperties: false
Documentation/devicetree/bindings/display/panel/raydium,rm69220.yaml +0 -1
@@ -42,7 +42,6 @@ required: - vci-supply - vddio-supply - reset-gpios - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/raydium,rm692e5.yaml +0 -1
@@ -41,7 +41,6 @@ required: - dvdd-supply - vci-supply - vddio-supply - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/renesas,r61307.yaml +0 -1
@@ -55,7 +55,6 @@ properties: required: - compatible - - port - backlight additionalProperties: false
Documentation/devicetree/bindings/display/panel/renesas,r69328.yaml +0 -1
@@ -38,7 +38,6 @@ properties: required: - compatible - - port - backlight additionalProperties: false
Documentation/devicetree/bindings/display/panel/ronbo,rb070d30.yaml +0 -1
@@ -42,6 +42,5 @@ required: - shlr-gpios - updn-gpios - vcc-lcd-supply - - port unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml +0 -1
@@ -45,7 +45,6 @@ required: - vsn-supply - vsp-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/samsung,ams639rq08.yaml +0 -1
@@ -46,7 +46,6 @@ required: - vsn-supply - vsp-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml +0 -1
@@ -29,7 +29,6 @@ properties: required: - compatible - reg - - port - vdd3-supply - vci-supply - reset-gpios
Documentation/devicetree/bindings/display/panel/samsung,sofef01-m.yaml +0 -1
@@ -47,7 +47,6 @@ properties: required: - compatible - - port - reg - reset-gpios - vddio-supply
Documentation/devicetree/bindings/display/panel/sony,td4353-jdi.yaml +0 -1
@@ -52,7 +52,6 @@ required: - vsn-supply - panel-reset-gpios - touch-reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/sony,tulip-truly-nt35521.yaml +0 -1
@@ -41,7 +41,6 @@ required: - negative5-supply - reset-gpios - enable-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/startek,kd070fhfid015.yaml +0 -1
@@ -34,7 +34,6 @@ required: - iovcc-supply - reg - reset-gpios - - port - power-supply additionalProperties: false
Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml +0 -1
@@ -31,7 +31,6 @@ required: - avdd-supply - dvdd-supply - reset-gpios - - port - backlight unevaluatedProperties: false
Documentation/devicetree/bindings/display/panel/visionox,g2647fb105.yaml +0 -1
@@ -45,7 +45,6 @@ required: - vsn-supply - vsp-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/visionox,r66451.yaml +0 -1
@@ -31,7 +31,6 @@ required: - vddio-supply - vdd-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/visionox,rm69299.yaml +0 -1
@@ -42,7 +42,6 @@ required: - vdda-supply - vdd3p3-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/visionox,rm692e5.yaml +0 -1
@@ -44,7 +44,6 @@ required: - reset-gpios - vdd-supply - vddio-supply - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml +0 -1
@@ -37,7 +37,6 @@ required: - vddio-supply - vci-supply - reset-gpios - - port additionalProperties: false
Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml +0 -1
@@ -31,7 +31,6 @@ required: - compatible - reg - backlight - - port - iovcc-supply - vci-supply
Signature · 1 line
2.53.0
Quoted 14 lines · Krzysztof Kozlowski
DSI panels can be placed under DSI bus directly and some of the Linux DRM drivers will work fine with it:
mipi_dsi_host_register()adds device for such panel and DRM driver does not use OF graph to configure lanes. Examples are Samsung Exynos and Allwinner DRM drivers.The Linux panel drivers affected here do not use OF graph, either.
Requiring graph port for such panels is tying the binding to one specific implementation of Linux DRM drivers, e.g. Qualcomm DRM which requires the port. That's a mistake, because:
1. It prevents usage of such panel in DTS for other platforms,
2. Places the constraint (port requirement) in wrong domain - the DSI host needs the port, not the panel.
Quoted 6 lines
The port is not needed for the panel hardware to operate thus it should be optional.
Suggested-by Romain TISSERAND <[email protected]>Signed-off-by Krzysztof Kozlowski <[email protected]>
Thanks,
Ryan Brue
Quoted 14 lines · Krzysztof Kozlowski
DSI panels can be placed under DSI bus directly and some of the Linux DRM drivers will work fine with it:
mipi_dsi_host_register()adds device for such panel and DRM driver does not use OF graph to configure lanes. Examples are Samsung Exynos and Allwinner DRM drivers.The Linux panel drivers affected here do not use OF graph, either.
Requiring graph port for such panels is tying the binding to one specific implementation of Linux DRM drivers, e.g. Qualcomm DRM which requires the port. That's a mistake, because:
1. It prevents usage of such panel in DTS for other platforms,
2. Places the constraint (port requirement) in wrong domain - the DSI host needs the port, not the panel.
Quoted 6 lines
The port is not needed for the panel hardware to operate thus it should be optional.
Suggested-by Romain TISSERAND <[email protected]>Signed-off-by Krzysztof Kozlowski <[email protected]>
Applied to drm-misc.
Rob