brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · 7ce8540 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,lms380kf01.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung LMS380KF01 display panel8 9description: The LMS380KF01 is a 480x800 DPI display panel from Samsung Mobile10  Displays (SMD) utilizing the WideChips WS2401 display controller. It can be11  used with internal or external backlight control.12 13maintainers:14  - Linus Walleij <linus.walleij@linaro.org>15 16allOf:17  - $ref: panel-common.yaml#18  - $ref: /schemas/spi/spi-peripheral-props.yaml#19 20properties:21  compatible:22    const: samsung,lms380kf0123 24  reg:25    maxItems: 126 27  interrupts:28    description: provides an optional ESD (electrostatic discharge)29      interrupt that signals abnormalities in the display hardware.30      This can also be raised for other reasons like erroneous31      configuration.32    maxItems: 133 34  reset-gpios: true35 36  vci-supply:37    description: regulator that supplies the VCI analog voltage38      usually around 3.0 V39 40  vccio-supply:41    description: regulator that supplies the VCCIO voltage usually42      around 1.8 V43 44  backlight: true45 46  spi-cpha: true47 48  spi-cpol: true49 50  spi-max-frequency:51    maximum: 120000052 53  port: true54 55required:56  - compatible57  - reg58  - spi-cpha59  - spi-cpol60  - port61 62unevaluatedProperties: false63 64examples:65  - |66    #include <dt-bindings/gpio/gpio.h>67    #include <dt-bindings/interrupt-controller/irq.h>68 69    spi {70        compatible = "spi-gpio";71        sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;72        miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;73        mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;74        cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;75        num-chipselects = <1>;76        #address-cells = <1>;77        #size-cells = <0>;78 79        panel@0 {80            compatible = "samsung,lms380kf01";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