brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · d54e96b Raw
57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/focaltech,gpt3.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Focaltech GPT3 3.0" (640x480 pixels) IPS LCD panel8 9maintainers:10  - Christophe Branchereau <cbranchereau@gmail.com>11 12allOf:13  - $ref: panel-common.yaml#14  - $ref: /schemas/spi/spi-peripheral-props.yaml#15 16properties:17  compatible:18    const: focaltech,gpt319 20  reg:21    maxItems: 122 23required:24  - compatible25  - reg26  - power-supply27  - reset-gpios28 29unevaluatedProperties: false30 31examples:32  - |33    #include <dt-bindings/gpio/gpio.h>34 35    spi {36        #address-cells = <1>;37        #size-cells = <0>;38 39        panel@0 {40            compatible = "focaltech,gpt3";41            reg = <0>;42 43            spi-max-frequency = <3125000>;44 45            reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;46 47            backlight = <&backlight>;48            power-supply = <&vcc>;49 50            port {51                panel_input: endpoint {52                    remote-endpoint = <&panel_output>;53                };54            };55        };56    };57