brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · d749041 Raw
100 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/samsung,s6d27a1.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S6D27A1 display panel8 9description: The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile10  Displays (SMD).11 12maintainers:13  - Markuss Broks <markuss.broks@gmail.com>14 15allOf:16  - $ref: panel-common.yaml#17  - $ref: /schemas/spi/spi-peripheral-props.yaml#18 19properties:20  compatible:21    const: samsung,s6d27a122 23  reg:24    maxItems: 125 26  interrupts:27    description: provides an optional ESD (electrostatic discharge)28      interrupt that signals abnormalities in the display hardware.29      This can also be raised for other reasons like erroneous30      configuration.31    maxItems: 132 33  reset-gpios: true34 35  vci-supply:36    description: regulator that supplies the VCI analog voltage37      usually around 3.0 V38 39  vccio-supply:40    description: regulator that supplies the VCCIO voltage usually41      around 1.8 V42 43  backlight: true44 45  spi-cpha: true46 47  spi-cpol: true48 49  spi-max-frequency:50    maximum: 120000051 52  port: true53 54required:55  - compatible56  - reg57  - vci-supply58  - vccio-supply59  - spi-cpha60  - spi-cpol61  - port62 63unevaluatedProperties: false64 65examples:66  - |67    #include <dt-bindings/gpio/gpio.h>68    #include <dt-bindings/interrupt-controller/irq.h>69 70    spi {71        compatible = "spi-gpio";72        sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;73        miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;74        mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;75        cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;76        num-chipselects = <1>;77        #address-cells = <1>;78        #size-cells = <0>;79        panel@0 {80            compatible = "samsung,s6d27a1";81            spi-max-frequency = <1200000>;82            spi-cpha;83            spi-cpol;84            reg = <0>;85            vci-supply = <&lcd_3v0_reg>;86            vccio-supply = <&lcd_1v8_reg>;87            reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;88            interrupt-parent = <&gpio>;89            interrupts = <5 IRQ_TYPE_EDGE_RISING>;90 91            port {92                panel_in: endpoint {93                    remote-endpoint = <&display_out>;94                };95            };96        };97    };98 99...100