xref: /linux/Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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  - $ref: /schemas/spi/spi-peripheral-props.yaml#
15
16properties:
17  compatible:
18    const: samsung,ams495qa01
19
20  reg:
21    maxItems: 1
22
23  reset-gpios:
24    description: reset gpio, must be GPIO_ACTIVE_LOW
25  elvdd-supply:
26    description: regulator that supplies voltage to the panel display
27  enable-gpios: true
28  port: true
29  vdd-supply:
30    description: regulator that supplies voltage to panel logic
31
32required:
33  - compatible
34  - reg
35  - reset-gpios
36  - vdd-supply
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/gpio/gpio.h>
43    spi {
44        #address-cells = <1>;
45        #size-cells = <0>;
46        panel@0 {
47            compatible = "samsung,ams495qa01";
48            reg = <0>;
49            reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
50            vdd-supply = <&vcc_3v3>;
51
52            port {
53                mipi_in_panel: endpoint {
54                  remote-endpoint = <&mipi_out_panel>;
55                };
56            };
57        };
58    };
59
60...
61