Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: display: Document dual-link LVDS display common properties

Dual-link LVDS displays receive odd pixels and even pixels separately from
dual LVDS links. One link receives odd pixels and the other receives even
pixels. Some of those displays may also use only one LVDS link to receive
all pixels, being odd and even agnostic. Document common properties for
those displays by extending LVDS display common properties defined in
lvds.yaml.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241104032806.611890-9-victor.liu@nxp.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Liu Ying and committed by
Dmitry Baryshkov
8cd4937e e3160748

+65 -32
+63
Documentation/devicetree/bindings/display/lvds-dual-ports.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/lvds-dual-ports.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Dual-link LVDS Display Common Properties 8 + 9 + maintainers: 10 + - Liu Ying <victor.liu@nxp.com> 11 + 12 + description: | 13 + Common properties for LVDS displays with dual LVDS links. Extend LVDS display 14 + common properties defined in lvds.yaml. 15 + 16 + Dual-link LVDS displays receive odd pixels and even pixels separately from 17 + the dual LVDS links. One link receives odd pixels and the other receives 18 + even pixels. Some of those displays may also use only one LVDS link to 19 + receive all pixels, being odd and even agnostic. 20 + 21 + allOf: 22 + - $ref: lvds.yaml# 23 + 24 + properties: 25 + ports: 26 + $ref: /schemas/graph.yaml#/properties/ports 27 + 28 + patternProperties: 29 + '^port@[01]$': 30 + $ref: /schemas/graph.yaml#/$defs/port-base 31 + unevaluatedProperties: false 32 + description: | 33 + port@0 represents the first LVDS input link. 34 + port@1 represents the second LVDS input link. 35 + 36 + properties: 37 + dual-lvds-odd-pixels: 38 + type: boolean 39 + description: LVDS input link for odd pixels 40 + 41 + dual-lvds-even-pixels: 42 + type: boolean 43 + description: LVDS input link for even pixels 44 + 45 + oneOf: 46 + - required: [dual-lvds-odd-pixels] 47 + - required: [dual-lvds-even-pixels] 48 + - properties: 49 + dual-lvds-odd-pixels: false 50 + dual-lvds-even-pixels: false 51 + 52 + anyOf: 53 + - required: 54 + - port@0 55 + - required: 56 + - port@1 57 + 58 + required: 59 + - ports 60 + 61 + additionalProperties: true 62 + 63 + ...
+1 -13
Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.yaml
··· 20 20 dual-lvds-odd-pixels or dual-lvds-even-pixels). 21 21 22 22 allOf: 23 + - $ref: /schemas/display/lvds-dual-ports.yaml# 23 24 - $ref: panel-common.yaml# 24 25 25 26 properties: ··· 45 44 46 45 properties: 47 46 port@0: 48 - $ref: /schemas/graph.yaml#/$defs/port-base 49 - unevaluatedProperties: false 50 - description: The sink for odd pixels. 51 - properties: 52 - dual-lvds-odd-pixels: true 53 - 54 47 required: 55 48 - dual-lvds-odd-pixels 56 49 57 50 port@1: 58 - $ref: /schemas/graph.yaml#/$defs/port-base 59 - unevaluatedProperties: false 60 - description: The sink for even pixels. 61 - properties: 62 - dual-lvds-even-pixels: true 63 - 64 51 required: 65 52 - dual-lvds-even-pixels 66 53 ··· 64 75 - height-mm 65 76 - data-mapping 66 77 - panel-timing 67 - - ports 68 78 69 79 examples: 70 80 - |+
+1 -19
Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml
··· 22 22 If the panel is more advanced a dedicated binding file is required. 23 23 24 24 allOf: 25 + - $ref: /schemas/display/lvds-dual-ports.yaml# 25 26 - $ref: panel-common.yaml# 26 27 27 28 properties: ··· 56 55 57 56 properties: 58 57 port@0: 59 - $ref: /schemas/graph.yaml#/$defs/port-base 60 - unevaluatedProperties: false 61 - description: The first sink port. 62 - 63 - properties: 64 - dual-lvds-odd-pixels: 65 - type: boolean 66 - description: The first sink port for odd pixels. 67 - 68 58 required: 69 59 - dual-lvds-odd-pixels 70 60 71 61 port@1: 72 - $ref: /schemas/graph.yaml#/$defs/port-base 73 - unevaluatedProperties: false 74 - description: The second sink port. 75 - 76 - properties: 77 - dual-lvds-even-pixels: 78 - type: boolean 79 - description: The second sink port for even pixels. 80 - 81 62 required: 82 63 - dual-lvds-even-pixels 83 64 ··· 71 88 72 89 required: 73 90 - compatible 74 - - ports 75 91 - power-supply 76 92 77 93 examples: