[PATCH 1/4] dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI
From: Romain TISSERAND
Date: Thu Nov 26 2026 - 21:08:25 EST
A MIPI-DSI panel is a child node of its DSI host and the driver does not
use a graph port for it. Commit 2f50e0a0f9d3 ("dt-bindings: display:
panel: Make DSI panels port optional") made the port optional in the DSI
panel bindings for that reason. sitronix,st7701 was not part of it, as
the binding also covers panels with an RGB input set up over SPI, which
do need the port to the display controller output.
Make the port optional, and keep it required for the SPI-controlled RGB
panel (anbernic,rg28xx-panel) only, as that commit does for
ilitek,ili9806e.
The Allwinner sun6i-a31-mipi-dsi host links its panel through the child
node and has no output port, so the Miyoo A30 panel added next needs
this.
Signed-off-by: Romain TISSERAND <romain.tisserand@xxxxxxxxx>
---
.../bindings/display/panel/sitronix,st7701.yaml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
index 044b84d8638d..3ca9aa215b7f 100644
--- a/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
+++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7701.yaml
@@ -54,7 +54,6 @@ required:
- reg
- VCC-supply
- IOVCC-supply
- - port
- reset-gpios
allOf:
@@ -69,6 +68,16 @@ allOf:
then:
$ref: /schemas/spi/spi-peripheral-props.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ # RGB input, controlled over SPI
+ const: anbernic,rg28xx-panel
+ then:
+ required:
+ - port
+
- if:
properties:
compatible:
--
2.43.0