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/samsung,s6d16d0.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Samsung S6D16D0 4" 864x480 AMOLED panel |
| 8 | |
| 9 | maintainers: |
| 10 | - Linus Walleij <linus.walleij@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: samsung,s6d16d0 |
| 18 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 22 | port: true |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 23 | reset-gpios: true |
| 24 | |
| 25 | vdd1-supply: |
| 26 | description: I/O voltage supply |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - vdd1-supply |
| 32 | - reset-gpios |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | #include <dt-bindings/gpio/gpio.h> |
| 39 | |
| 40 | dsi { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | panel@0 { |
| 45 | compatible = "samsung,s6d16d0"; |
| 46 | reg = <0>; |
| 47 | vdd1-supply = <&foo>; |
| 48 | reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>; |
| 49 | |
| 50 | port { |
| 51 | panel_in: endpoint { |
| 52 | remote-endpoint = <&dsi_out>; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | }; |
| 57 | |
| 58 | ... |