1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/panel/samsung,atna33xc20.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel 8 9maintainers: 10 - Douglas Anderson <dianders@chromium.org> 11 12allOf: 13 - $ref: panel-common.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel 19 - const: samsung,atna33xc20 20 # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel 21 - items: 22 - const: samsung,atna45af01 23 - const: samsung,atna33xc20 24 25 enable-gpios: true 26 port: true 27 power-supply: true 28 no-hpd: true 29 hpd-gpios: true 30 31additionalProperties: false 32 33required: 34 - compatible 35 - enable-gpios 36 - power-supply 37 38examples: 39 - | 40 #include <dt-bindings/clock/qcom,rpmh.h> 41 #include <dt-bindings/gpio/gpio.h> 42 #include <dt-bindings/interrupt-controller/irq.h> 43 44 i2c { 45 #address-cells = <1>; 46 #size-cells = <0>; 47 48 bridge@2d { 49 compatible = "ti,sn65dsi86"; 50 reg = <0x2d>; 51 52 interrupt-parent = <&tlmm>; 53 interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; 54 55 enable-gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>; 56 57 vpll-supply = <&src_pp1800_s4a>; 58 vccio-supply = <&src_pp1800_s4a>; 59 vcca-supply = <&src_pp1200_l2a>; 60 vcc-supply = <&src_pp1200_l2a>; 61 62 clocks = <&rpmhcc RPMH_LN_BB_CLK2>; 63 clock-names = "refclk"; 64 65 no-hpd; 66 67 ports { 68 #address-cells = <1>; 69 #size-cells = <0>; 70 71 port@0 { 72 reg = <0>; 73 endpoint { 74 remote-endpoint = <&dsi0_out>; 75 }; 76 }; 77 78 port@1 { 79 reg = <1>; 80 sn65dsi86_out: endpoint { 81 remote-endpoint = <&panel_in_edp>; 82 }; 83 }; 84 }; 85 86 aux-bus { 87 panel { 88 compatible = "samsung,atna33xc20"; 89 enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>; 90 power-supply = <&pp3300_dx_edp>; 91 hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>; 92 93 port { 94 panel_in_edp: endpoint { 95 remote-endpoint = <&sn65dsi86_out>; 96 }; 97 }; 98 }; 99 }; 100 }; 101 }; 102