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