Linux Tegra architecture development
 help / color / mirror / Atom feed
From: "Rob Herring (Arm)" <robh@kernel.org>
To: 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>,
	Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>
Cc: Thierry Reding <thierry.reding@gmail.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: display: nvidia,tegra20-dc: Move 'rgb' node properties
Date: Mon,  2 Nov 2026 08:28:01 -0600	[thread overview]
Message-ID: <20261102142802.2742565-1-robh@kernel.org> (raw)

Properties are supposed to be defined in the main schema and not in
conditional schemas. Move the properties for the 'rgb' node to the main
schema.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../display/tegra/nvidia,tegra20-dc.yaml      | 43 ++++++++++---------
 1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml
index 69be95afd562..a42bf7ed37a2 100644
--- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml
+++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml
@@ -77,8 +77,27 @@ properties:
     description: A list of phandles of outputs that this display controller can drive.
 
   rgb:
+    description: Each display controller node has a child node that represents the
+      RGB output associated with the controller.
     type: object
 
+    properties:
+      nvidia,ddc-i2c-bus:
+        $ref: /schemas/types.yaml#/definitions/phandle
+        description: phandle of an I2C controller used for DDC EDID probing
+
+      nvidia,hpd-gpio:
+        description: specifies a GPIO used for hotplug detection
+        maxItems: 1
+
+      nvidia,edid:
+        $ref: /schemas/types.yaml#/definitions/uint8-array
+        description: supplies a binary EDID blob
+
+      nvidia,panel:
+        $ref: /schemas/types.yaml#/definitions/phandle
+        description: phandle of a display panel
+
 allOf:
   - if:
       properties:
@@ -105,27 +124,9 @@ allOf:
             - const: winb-vfilter
             - const: winc
             - const: cursor
-
-        rgb:
-          description: Each display controller node has a child node, named "rgb", that represents
-            the RGB output associated with the controller.
-          type: object
-          properties:
-            nvidia,ddc-i2c-bus:
-              $ref: /schemas/types.yaml#/definitions/phandle
-              description: phandle of an I2C controller used for DDC EDID probing
-
-            nvidia,hpd-gpio:
-              description: specifies a GPIO used for hotplug detection
-              maxItems: 1
-
-            nvidia,edid:
-              $ref: /schemas/types.yaml#/definitions/uint8-array
-              description: supplies a binary EDID blob
-
-            nvidia,panel:
-              $ref: /schemas/types.yaml#/definitions/phandle
-              description: phandle of a display panel
+    else:
+      properties:
+        rgb: false
 
   - if:
       properties:
-- 
2.53.0


                 reply	other threads:[~2026-11-02 14:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261102142802.2742565-1-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=thierry.reding@gmail.com \
    --cc=thierry.reding@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox