[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230807143515.7882-4-clamor95@gmail.com>
Date: Mon, 7 Aug 2023 17:35:13 +0300
From: Svyatoslav Ryhel <clamor95@...il.com>
To: David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Mikko Perttunen <mperttunen@...dia.com>,
Svyatoslav Ryhel <clamor95@...il.com>,
Maxim Schwalm <maxim.schwalm@...il.com>,
Dmitry Osipenko <digetx@...il.com>
Cc: dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v3 3/5] dt-bindings: display: tegra: nvidia,tegra20-hdmi: Add HDMI output port node
From: Maxim Schwalm <maxim.schwalm@...il.com>
Either this node, which is optional, or the nvidia,panel property can be
present.
Signed-off-by: Maxim Schwalm <maxim.schwalm@...il.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@...il.com>
---
.../display/tegra/nvidia,tegra20-hdmi.yaml | 32 +++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml
index f77197e4869f..f8292551b9c8 100644
--- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml
@@ -82,9 +82,39 @@ properties:
description: phandle of a display panel
$ref: /schemas/types.yaml#/definitions/phandle
+ port:
+ description: HDMI output port
+ $ref: /schemas/graph.yaml#/properties/port
+
"#sound-dai-cells":
const: 0
+anyOf:
+ - if:
+ not:
+ properties:
+ nvidia,panel: false
+ then:
+ not:
+ properties:
+ port: true
+ - if:
+ not:
+ properties:
+ port: false
+ then:
+ not:
+ properties:
+ nvidia,panel: true
+
+if:
+ properties:
+ port: false
+then:
+ required:
+ - nvidia,ddc-i2c-bus
+ - nvidia,hpd-gpio
+
additionalProperties: false
required:
@@ -97,8 +127,6 @@ required:
- reset-names
- pll-supply
- vdd-supply
- - nvidia,ddc-i2c-bus
- - nvidia,hpd-gpio
examples:
- |
--
2.39.2
Powered by blists - more mailing lists