1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Samsung AMOLED MIPI-DSI panels 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Hoegeun Kwon <hoegeun.kwon@samsung.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel VadotallOf: 13c66ec88fSEmmanuel Vadot - $ref: panel-common.yaml# 14c66ec88fSEmmanuel Vadot 156be33864SEmmanuel Vadot - if: 166be33864SEmmanuel Vadot properties: 176be33864SEmmanuel Vadot compatible: 186be33864SEmmanuel Vadot contains: 196be33864SEmmanuel Vadot enum: 206be33864SEmmanuel Vadot - samsung,s6e3ha2 216be33864SEmmanuel Vadot - samsung,s6e3hf2 226be33864SEmmanuel Vadot then: 236be33864SEmmanuel Vadot required: 246be33864SEmmanuel Vadot - enable-gpios 256be33864SEmmanuel Vadot 26c66ec88fSEmmanuel Vadotproperties: 27c66ec88fSEmmanuel Vadot compatible: 28c66ec88fSEmmanuel Vadot enum: 29c66ec88fSEmmanuel Vadot # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel 30c66ec88fSEmmanuel Vadot - samsung,s6e63j0x03 31c66ec88fSEmmanuel Vadot # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel 32c66ec88fSEmmanuel Vadot - samsung,s6e3ha2 33c66ec88fSEmmanuel Vadot # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel 34c66ec88fSEmmanuel Vadot - samsung,s6e3hf2 35c66ec88fSEmmanuel Vadot 36*7d0873ebSEmmanuel Vadot reg: 37*7d0873ebSEmmanuel Vadot maxItems: 1 38*7d0873ebSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot reset-gpios: true 40c66ec88fSEmmanuel Vadot enable-gpios: true 41c66ec88fSEmmanuel Vadot te-gpios: true 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot vdd3-supply: 44c66ec88fSEmmanuel Vadot description: I/O voltage supply 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot vci-supply: 47c66ec88fSEmmanuel Vadot description: voltage supply for analog circuits 48c66ec88fSEmmanuel Vadot 49c66ec88fSEmmanuel Vadotrequired: 50c66ec88fSEmmanuel Vadot - compatible 51c66ec88fSEmmanuel Vadot - reg 52c66ec88fSEmmanuel Vadot - vdd3-supply 53c66ec88fSEmmanuel Vadot - vci-supply 54c66ec88fSEmmanuel Vadot - reset-gpios 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel VadotadditionalProperties: false 57c66ec88fSEmmanuel Vadot 58c66ec88fSEmmanuel Vadotexamples: 59c66ec88fSEmmanuel Vadot - | 60c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 61c66ec88fSEmmanuel Vadot 62c66ec88fSEmmanuel Vadot dsi { 63c66ec88fSEmmanuel Vadot #address-cells = <1>; 64c66ec88fSEmmanuel Vadot #size-cells = <0>; 65c66ec88fSEmmanuel Vadot 66c66ec88fSEmmanuel Vadot panel@0 { 67c66ec88fSEmmanuel Vadot compatible = "samsung,s6e3ha2"; 68c66ec88fSEmmanuel Vadot reg = <0>; 69c66ec88fSEmmanuel Vadot vdd3-supply = <&ldo27_reg>; 70c66ec88fSEmmanuel Vadot vci-supply = <&ldo28_reg>; 71c66ec88fSEmmanuel Vadot reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>; 72c66ec88fSEmmanuel Vadot enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>; 73c66ec88fSEmmanuel Vadot te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot }; 76c66ec88fSEmmanuel Vadot 77c66ec88fSEmmanuel Vadot... 78