Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port
@ 2026-11-09 18:47 Rob Herring (Arm)
  2026-11-22 22:03 ` Heiko Stübner
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-11-09 18:47 UTC (permalink / raw)
  To: Sandy Huang, Heiko Stübner, Andy Yan, David Airlie,
	Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Krzysztof Kozlowski, Conor Dooley
  Cc: Andy Yan, dri-devel, linux-rockchip, devicetree, linux-arm-kernel,
	linux-kernel

Existing RK3399 users have only a single 'port' node. This was common before
connector nodes were defined. Allow for this since there are already stable
users.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../rockchip/rockchip,rk3399-cdn-dp.yaml      | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,rk3399-cdn-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,rk3399-cdn-dp.yaml
index 195f665970bf..425b27346132 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,rk3399-cdn-dp.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,rk3399-cdn-dp.yaml
@@ -63,7 +63,12 @@ properties:
     $ref: /schemas/graph.yaml#/properties/ports
 
     properties:
-      port@0:
+      port@1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Output of the CDN DP
+
+    patternProperties:
+      '^port(@0)?$':
         $ref: /schemas/graph.yaml#/properties/port
         description: Input of the CDN DP
 
@@ -74,13 +79,11 @@ properties:
           endpoint@1:
             description: Connection to the VOPL
 
-      port@1:
-        $ref: /schemas/graph.yaml#/properties/port
-        description: Output of the CDN DP
-
-    required:
-      - port@0
-      - port@1
+    oneOf:
+      - required:
+          - port@0
+      - required:
+          - port
 
   power-domains:
     maxItems: 1
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port
  2026-11-09 18:47 [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port Rob Herring (Arm)
@ 2026-11-22 22:03 ` Heiko Stübner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2026-11-22 22:03 UTC (permalink / raw)
  To: Sandy Huang, Andy Yan, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	Krzysztof Kozlowski, Conor Dooley, Rob Herring (Arm)
  Cc: Andy Yan, dri-devel, linux-rockchip, devicetree, linux-arm-kernel,
	linux-kernel

Am Montag, 9. November 2026, 19:47:58 Mitteleuropäische Normalzeit schrieb Rob Herring (Arm):
> Existing RK3399 users have only a single 'port' node. This was common before
> connector nodes were defined. Allow for this since there are already stable
> users.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-22 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 18:47 [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port Rob Herring (Arm)
2026-11-22 22:03 ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox