Skip to content

Commit 63f4e7d

Browse files
andrejpicejsuperna9999
authored andcommitted
dt-bindings: drm/bridge: ti-sn65dsi83: Add properties for ti,lvds-vod-swing
Add properties which can be used to specify LVDS differential output voltage. Since this also depends on near-end signal termination also include property which sets this. LVDS differential output voltage is specified with an array (min, max), which should match the one from connected device. Signed-off-by: Andrej Picej <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3ec5c15 commit 63f4e7d

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ properties:
8080
- const: 4
8181

8282
port@2:
83-
$ref: /schemas/graph.yaml#/properties/port
8483
description: Video port for LVDS Channel-A output (panel or bridge).
84+
$ref: '#/$defs/lvds-port'
8585

8686
port@3:
87-
$ref: /schemas/graph.yaml#/properties/port
8887
description: Video port for LVDS Channel-B output (panel or bridge).
88+
$ref: '#/$defs/lvds-port'
8989

9090
required:
9191
- port@0
@@ -96,6 +96,36 @@ required:
9696
- reg
9797
- ports
9898

99+
$defs:
100+
lvds-port:
101+
$ref: /schemas/graph.yaml#/$defs/port-base
102+
unevaluatedProperties: false
103+
104+
properties:
105+
endpoint:
106+
$ref: /schemas/media/video-interfaces.yaml#
107+
unevaluatedProperties: false
108+
109+
properties:
110+
ti,lvds-termination-ohms:
111+
description: The value of near end differential termination in ohms.
112+
enum: [100, 200]
113+
default: 200
114+
115+
ti,lvds-vod-swing-clock-microvolt:
116+
description: LVDS diferential output voltage <min max> for clock
117+
lanes in microvolts.
118+
$ref: /schemas/types.yaml#/definitions/uint32-array
119+
minItems: 2
120+
maxItems: 2
121+
122+
ti,lvds-vod-swing-data-microvolt:
123+
description: LVDS diferential output voltage <min max> for data
124+
lanes in microvolts.
125+
$ref: /schemas/types.yaml#/definitions/uint32-array
126+
minItems: 2
127+
maxItems: 2
128+
99129
allOf:
100130
- if:
101131
properties:

0 commit comments

Comments
 (0)