0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Samsung AMOLED MIPI-DSI panels
0008
0009 maintainers:
0010 - Hoegeun Kwon <hoegeun.kwon@samsung.com>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014
0015 - if:
0016 properties:
0017 compatible:
0018 contains:
0019 enum:
0020 - samsung,s6e3ha2
0021 - samsung,s6e3hf2
0022 then:
0023 required:
0024 - enable-gpios
0025
0026 properties:
0027 compatible:
0028 enum:
0029 # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel
0030 - samsung,s6e63j0x03
0031 # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
0032 - samsung,s6e3ha2
0033 # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
0034 - samsung,s6e3hf2
0035
0036 reg: true
0037 reset-gpios: true
0038 enable-gpios: true
0039 te-gpios: true
0040
0041 vdd3-supply:
0042 description: I/O voltage supply
0043
0044 vci-supply:
0045 description: voltage supply for analog circuits
0046
0047 required:
0048 - compatible
0049 - reg
0050 - vdd3-supply
0051 - vci-supply
0052 - reset-gpios
0053
0054 additionalProperties: false
0055
0056 examples:
0057 - |
0058 #include <dt-bindings/gpio/gpio.h>
0059
0060 dsi {
0061 #address-cells = <1>;
0062 #size-cells = <0>;
0063
0064 panel@0 {
0065 compatible = "samsung,s6e3ha2";
0066 reg = <0>;
0067 vdd3-supply = <&ldo27_reg>;
0068 vci-supply = <&ldo28_reg>;
0069 reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
0070 enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
0071 te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
0072 };
0073 };
0074
0075 ...