Skip to contentSkip to conversation

dt-bindings: display: bridge: tc358867: mark port 0 and 1 configuration as valid

PATCH Applied Marek Vasut 2 participants 2 messages Jan 7 – Jan 15

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: display: bridge: tc358867: mark port 0 and 1 configuration as valid

Current binding document enforces presence of either port@0 (DSI in) or port@1 (DPI IN/OUT), with port@2 (DP out) being optional. This bridge is capable of DSI->DP, DPI->DP and DPI->DP, it is therefore perfectly valid to have both port@0 and port@1 described in the DT, because this is fairy standard DPI->DP configuration of this bridge. Replace oneOf with anyOf to cover this configuration.

---
Cc: Andrey Gusakov <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 .../devicetree/bindings/display/bridge/toshiba,tc358767.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/display/bridge/toshiba,tc358767.yaml +1 -1
index 70f229dc4e0c4..75804114f71f7 100644
@@ -115,11 +115,11 @@ properties:
                   enum:
                     - 0 # No pre-emphasis
                     - 1 # 3.5dB pre-emphasis
                     - 2 # 6dB pre-emphasis
 
-    oneOf:
+    anyOf:
       - required:
           - port@0
       - required:
           - port@1
 
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw
Quoted 27 lines · Marek Vasut

Current binding document enforces presence of either port@0 (DSI in) or port@1 (DPI IN/OUT), with port@2 (DP out) being optional. This bridge is capable of DSI->DP, DPI->DP and DPI->DP, it is therefore perfectly valid to have both port@0 and port@1 described in the DT, because this is fairy standard DPI->DP configuration of this bridge. Replace oneOf with anyOf to cover this configuration.

---
Cc: Andrey Gusakov <[email protected]>
Cc: Andrzej Hajda <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

Quoted 4 lines
---
 .../devicetree/bindings/display/bridge/toshiba,tc358767.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!