Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Neil Armstrong <neil.armstrong@linaro.org> |
| 11 | - Thierry Reding <thierry.reding@gmail.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: panel-common.yaml# |
| 15 | - $ref: /schemas/display/lvds.yaml# |
| 16 | |
| 17 | select: |
| 18 | properties: |
| 19 | compatible: |
| 20 | contains: |
| 21 | const: sgd,gktw70sdae4se |
| 22 | |
| 23 | required: |
| 24 | - compatible |
| 25 | |
| 26 | properties: |
| 27 | compatible: |
| 28 | items: |
| 29 | - const: sgd,gktw70sdae4se |
| 30 | - const: panel-lvds |
| 31 | |
| 32 | data-mapping: |
| 33 | const: jeida-18 |
| 34 | |
| 35 | width-mm: |
| 36 | const: 153 |
| 37 | |
| 38 | height-mm: |
| 39 | const: 86 |
| 40 | |
| 41 | panel-timing: true |
| 42 | port: true |
| 43 | |
| 44 | additionalProperties: false |
| 45 | |
| 46 | required: |
| 47 | - compatible |
| 48 | - port |
| 49 | - data-mapping |
| 50 | - width-mm |
| 51 | - height-mm |
| 52 | - panel-timing |
| 53 | |
| 54 | examples: |
| 55 | - |+ |
| 56 | panel { |
| 57 | compatible = "sgd,gktw70sdae4se", "panel-lvds"; |
| 58 | |
| 59 | width-mm = <153>; |
| 60 | height-mm = <86>; |
| 61 | |
| 62 | data-mapping = "jeida-18"; |
| 63 | |
| 64 | panel-timing { |
| 65 | clock-frequency = <32000000>; |
| 66 | hactive = <800>; |
| 67 | vactive = <480>; |
| 68 | hback-porch = <39>; |
| 69 | hfront-porch = <39>; |
| 70 | vback-porch = <29>; |
| 71 | vfront-porch = <13>; |
| 72 | hsync-len = <47>; |
| 73 | vsync-len = <2>; |
| 74 | }; |
| 75 | |
| 76 | port { |
| 77 | panel_in: endpoint { |
| 78 | remote-endpoint = <&lvds_encoder>; |
| 79 | }; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | ... |