xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/samsung,ams495qa01.yaml (revision e1c4c8dd8d2d10b6104f06856a77bd5b4813a801)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/samsung,ams495qa01.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung AMS495QA01 panel with Magnachip D53E6EA8966 controller
8
9maintainers:
10  - Chris Morgan <macromorgan@hotmail.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    const: samsung,ams495qa01
18
19  reg: true
20  reset-gpios:
21    description: reset gpio, must be GPIO_ACTIVE_LOW
22  elvdd-supply:
23    description: regulator that supplies voltage to the panel display
24  enable-gpios: true
25  port: true
26  vdd-supply:
27    description: regulator that supplies voltage to panel logic
28
29required:
30  - compatible
31  - reg
32  - reset-gpios
33  - vdd-supply
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/gpio/gpio.h>
40    spi {
41        #address-cells = <1>;
42        #size-cells = <0>;
43        panel@0 {
44            compatible = "samsung,ams495qa01";
45            reg = <0>;
46            reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
47            vdd-supply = <&vcc_3v3>;
48
49            port {
50                mipi_in_panel: endpoint {
51                  remote-endpoint = <&mipi_out_panel>;
52                };
53            };
54        };
55    };
56
57...
58