From: "Rob Herring (Arm)" <robh@kernel.org>
To: "Sandy Huang" <hjc@rock-chips.com>,
"Heiko Stübner" <heiko@sntech.de>, "Andy Yan" <andyshrk@163.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: Andy Yan <andy.yan@rock-chip.com>,
dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port
Date: Mon, 9 Nov 2026 12:47:58 -0600 [thread overview]
Message-ID: <20261109184759.467215-1-robh@kernel.org> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: "Rob Herring (Arm)" <robh@kernel.org>
To: "Sandy Huang" <hjc@rock-chips.com>,
"Heiko Stübner" <heiko@sntech.de>, "Andy Yan" <andyshrk@163.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: Andy Yan <andy.yan@rock-chip.com>,
dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port
Date: Mon, 9 Nov 2026 12:47:58 -0600 [thread overview]
Message-ID: <20261109184759.467215-1-robh@kernel.org> (raw)
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
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2026-11-09 18:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 18:47 Rob Herring (Arm) [this message]
2026-11-09 18:47 ` [PATCH] dt-bindings: display: rockchip: Allow single 'port' node for DP input port Rob Herring (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261109184759.467215-1-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=andy.yan@rock-chip.com \
--cc=andyshrk@163.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.