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/mitsubishi,aa104xd12.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
| 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: mitsubishi,aa104xd12 |
| 22 | |
| 23 | required: |
| 24 | - compatible |
| 25 | |
| 26 | properties: |
| 27 | compatible: |
| 28 | items: |
| 29 | - const: mitsubishi,aa104xd12 |
| 30 | - const: panel-lvds |
| 31 | |
| 32 | vcc-supply: |
| 33 | description: Reference to the regulator powering the panel VCC pins. |
| 34 | |
| 35 | data-mapping: |
| 36 | const: jeida-24 |
| 37 | |
| 38 | width-mm: |
| 39 | const: 210 |
| 40 | |
| 41 | height-mm: |
| 42 | const: 158 |
| 43 | |
| 44 | panel-timing: true |
| 45 | port: true |
| 46 | |
| 47 | additionalProperties: false |
| 48 | |
| 49 | required: |
| 50 | - compatible |
| 51 | - vcc-supply |
| 52 | - data-mapping |
| 53 | - width-mm |
| 54 | - height-mm |
| 55 | - panel-timing |
| 56 | - port |
| 57 | |
| 58 | examples: |
| 59 | - |+ |
| 60 | |
| 61 | panel { |
| 62 | compatible = "mitsubishi,aa104xd12", "panel-lvds"; |
| 63 | vcc-supply = <&vcc_3v3>; |
| 64 | |
| 65 | width-mm = <210>; |
| 66 | height-mm = <158>; |
| 67 | |
| 68 | data-mapping = "jeida-24"; |
| 69 | |
| 70 | panel-timing { |
| 71 | /* 1024x768 @65Hz */ |
| 72 | clock-frequency = <65000000>; |
| 73 | hactive = <1024>; |
| 74 | vactive = <768>; |
| 75 | hsync-len = <136>; |
| 76 | hfront-porch = <20>; |
| 77 | hback-porch = <160>; |
| 78 | vfront-porch = <3>; |
| 79 | vback-porch = <29>; |
| 80 | vsync-len = <6>; |
| 81 | }; |
| 82 | |
| 83 | port { |
| 84 | panel_in: endpoint { |
| 85 | remote-endpoint = <&lvds_encoder>; |
| 86 | }; |
| 87 | }; |
| 88 | }; |
| 89 | |
| 90 | ... |