18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/samsung,s6d27a1.yaml# 58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68cc087a1SEmmanuel Vadot 78cc087a1SEmmanuel Vadottitle: Samsung S6D27A1 display panel 88cc087a1SEmmanuel Vadot 98cc087a1SEmmanuel Vadotdescription: The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile 108bab661aSEmmanuel Vadot Displays (SMD). 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadotmaintainers: 138cc087a1SEmmanuel Vadot - Markuss Broks <markuss.broks@gmail.com> 148cc087a1SEmmanuel Vadot 158cc087a1SEmmanuel VadotallOf: 168cc087a1SEmmanuel Vadot - $ref: panel-common.yaml# 178bab661aSEmmanuel Vadot - $ref: /schemas/spi/spi-peripheral-props.yaml# 188cc087a1SEmmanuel Vadot 198cc087a1SEmmanuel Vadotproperties: 208cc087a1SEmmanuel Vadot compatible: 218cc087a1SEmmanuel Vadot const: samsung,s6d27a1 228cc087a1SEmmanuel Vadot 23*7d0873ebSEmmanuel Vadot reg: 24*7d0873ebSEmmanuel Vadot maxItems: 1 258cc087a1SEmmanuel Vadot 268cc087a1SEmmanuel Vadot interrupts: 278cc087a1SEmmanuel Vadot description: provides an optional ESD (electrostatic discharge) 288cc087a1SEmmanuel Vadot interrupt that signals abnormalities in the display hardware. 298cc087a1SEmmanuel Vadot This can also be raised for other reasons like erroneous 308cc087a1SEmmanuel Vadot configuration. 318cc087a1SEmmanuel Vadot maxItems: 1 328cc087a1SEmmanuel Vadot 338cc087a1SEmmanuel Vadot reset-gpios: true 348cc087a1SEmmanuel Vadot 358cc087a1SEmmanuel Vadot vci-supply: 368cc087a1SEmmanuel Vadot description: regulator that supplies the VCI analog voltage 378cc087a1SEmmanuel Vadot usually around 3.0 V 388cc087a1SEmmanuel Vadot 398cc087a1SEmmanuel Vadot vccio-supply: 408cc087a1SEmmanuel Vadot description: regulator that supplies the VCCIO voltage usually 418cc087a1SEmmanuel Vadot around 1.8 V 428cc087a1SEmmanuel Vadot 438cc087a1SEmmanuel Vadot backlight: true 448cc087a1SEmmanuel Vadot 458cc087a1SEmmanuel Vadot spi-cpha: true 468cc087a1SEmmanuel Vadot 478cc087a1SEmmanuel Vadot spi-cpol: true 488cc087a1SEmmanuel Vadot 498cc087a1SEmmanuel Vadot spi-max-frequency: 508cc087a1SEmmanuel Vadot maximum: 1200000 518cc087a1SEmmanuel Vadot 528cc087a1SEmmanuel Vadot port: true 538cc087a1SEmmanuel Vadot 548cc087a1SEmmanuel Vadotrequired: 558cc087a1SEmmanuel Vadot - compatible 568cc087a1SEmmanuel Vadot - reg 578cc087a1SEmmanuel Vadot - vci-supply 588cc087a1SEmmanuel Vadot - vccio-supply 598cc087a1SEmmanuel Vadot - spi-cpha 608cc087a1SEmmanuel Vadot - spi-cpol 618cc087a1SEmmanuel Vadot - port 628cc087a1SEmmanuel Vadot 638cc087a1SEmmanuel VadotunevaluatedProperties: false 648cc087a1SEmmanuel Vadot 658cc087a1SEmmanuel Vadotexamples: 668cc087a1SEmmanuel Vadot - | 678cc087a1SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 688cc087a1SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 698cc087a1SEmmanuel Vadot 708cc087a1SEmmanuel Vadot spi { 718cc087a1SEmmanuel Vadot compatible = "spi-gpio"; 728cc087a1SEmmanuel Vadot sck-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 738cc087a1SEmmanuel Vadot miso-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; 748cc087a1SEmmanuel Vadot mosi-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>; 758cc087a1SEmmanuel Vadot cs-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; 768cc087a1SEmmanuel Vadot num-chipselects = <1>; 778cc087a1SEmmanuel Vadot #address-cells = <1>; 788cc087a1SEmmanuel Vadot #size-cells = <0>; 798cc087a1SEmmanuel Vadot panel@0 { 808cc087a1SEmmanuel Vadot compatible = "samsung,s6d27a1"; 818cc087a1SEmmanuel Vadot spi-max-frequency = <1200000>; 828cc087a1SEmmanuel Vadot spi-cpha; 838cc087a1SEmmanuel Vadot spi-cpol; 848cc087a1SEmmanuel Vadot reg = <0>; 858cc087a1SEmmanuel Vadot vci-supply = <&lcd_3v0_reg>; 868cc087a1SEmmanuel Vadot vccio-supply = <&lcd_1v8_reg>; 878cc087a1SEmmanuel Vadot reset-gpios = <&gpio 4 GPIO_ACTIVE_LOW>; 888cc087a1SEmmanuel Vadot interrupt-parent = <&gpio>; 898cc087a1SEmmanuel Vadot interrupts = <5 IRQ_TYPE_EDGE_RISING>; 908cc087a1SEmmanuel Vadot 918cc087a1SEmmanuel Vadot port { 928cc087a1SEmmanuel Vadot panel_in: endpoint { 938cc087a1SEmmanuel Vadot remote-endpoint = <&display_out>; 948cc087a1SEmmanuel Vadot }; 958cc087a1SEmmanuel Vadot }; 968cc087a1SEmmanuel Vadot }; 978cc087a1SEmmanuel Vadot }; 988cc087a1SEmmanuel Vadot 998cc087a1SEmmanuel Vadot... 100