1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*7d0873ebSEmmanuel Vadot%YAML 1.2 3*7d0873ebSEmmanuel Vadot--- 4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/display/samsung/samsung,exynos5-dp.yaml# 5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7d0873ebSEmmanuel Vadot 7*7d0873ebSEmmanuel Vadottitle: Samsung Exynos5250/Exynos5420 SoC Display Port 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadotmaintainers: 10*7d0873ebSEmmanuel Vadot - Inki Dae <inki.dae@samsung.com> 11*7d0873ebSEmmanuel Vadot - Seung-Woo Kim <sw0312.kim@samsung.com> 12*7d0873ebSEmmanuel Vadot - Kyungmin Park <kyungmin.park@samsung.com> 13*7d0873ebSEmmanuel Vadot - Krzysztof Kozlowski <krzk@kernel.org> 14*7d0873ebSEmmanuel Vadot 15*7d0873ebSEmmanuel Vadotproperties: 16*7d0873ebSEmmanuel Vadot compatible: 17*7d0873ebSEmmanuel Vadot const: samsung,exynos5-dp 18*7d0873ebSEmmanuel Vadot 19*7d0873ebSEmmanuel Vadot reg: 20*7d0873ebSEmmanuel Vadot maxItems: 1 21*7d0873ebSEmmanuel Vadot 22*7d0873ebSEmmanuel Vadot clocks: 23*7d0873ebSEmmanuel Vadot maxItems: 1 24*7d0873ebSEmmanuel Vadot 25*7d0873ebSEmmanuel Vadot clock-names: 26*7d0873ebSEmmanuel Vadot items: 27*7d0873ebSEmmanuel Vadot - const: dp 28*7d0873ebSEmmanuel Vadot 29*7d0873ebSEmmanuel Vadot display-timings: 30*7d0873ebSEmmanuel Vadot $ref: /schemas/display/panel/display-timings.yaml# 31*7d0873ebSEmmanuel Vadot 32*7d0873ebSEmmanuel Vadot interrupts: 33*7d0873ebSEmmanuel Vadot maxItems: 1 34*7d0873ebSEmmanuel Vadot 35*7d0873ebSEmmanuel Vadot hpd-gpios: 36*7d0873ebSEmmanuel Vadot description: 37*7d0873ebSEmmanuel Vadot Hotplug detect GPIO. 38*7d0873ebSEmmanuel Vadot Indicates which GPIO should be used for hotplug detection 39*7d0873ebSEmmanuel Vadot 40*7d0873ebSEmmanuel Vadot phys: 41*7d0873ebSEmmanuel Vadot maxItems: 1 42*7d0873ebSEmmanuel Vadot 43*7d0873ebSEmmanuel Vadot phy-names: 44*7d0873ebSEmmanuel Vadot items: 45*7d0873ebSEmmanuel Vadot - const: dp 46*7d0873ebSEmmanuel Vadot 47*7d0873ebSEmmanuel Vadot power-domains: 48*7d0873ebSEmmanuel Vadot maxItems: 1 49*7d0873ebSEmmanuel Vadot 50*7d0873ebSEmmanuel Vadot interlaced: 51*7d0873ebSEmmanuel Vadot type: boolean 52*7d0873ebSEmmanuel Vadot deprecated: true 53*7d0873ebSEmmanuel Vadot description: 54*7d0873ebSEmmanuel Vadot Interlace scan mode. Progressive if defined, interlaced if not defined. 55*7d0873ebSEmmanuel Vadot 56*7d0873ebSEmmanuel Vadot vsync-active-high: 57*7d0873ebSEmmanuel Vadot type: boolean 58*7d0873ebSEmmanuel Vadot deprecated: true 59*7d0873ebSEmmanuel Vadot description: 60*7d0873ebSEmmanuel Vadot VSYNC polarity configuration. High if defined, low if not defined 61*7d0873ebSEmmanuel Vadot 62*7d0873ebSEmmanuel Vadot hsync-active-high: 63*7d0873ebSEmmanuel Vadot type: boolean 64*7d0873ebSEmmanuel Vadot deprecated: true 65*7d0873ebSEmmanuel Vadot description: 66*7d0873ebSEmmanuel Vadot HSYNC polarity configuration. High if defined, low if not defined 67*7d0873ebSEmmanuel Vadot 68*7d0873ebSEmmanuel Vadot ports: 69*7d0873ebSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 70*7d0873ebSEmmanuel Vadot 71*7d0873ebSEmmanuel Vadot properties: 72*7d0873ebSEmmanuel Vadot port: 73*7d0873ebSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 74*7d0873ebSEmmanuel Vadot description: 75*7d0873ebSEmmanuel Vadot Port node with one endpoint connected to a dp-connector node. 76*7d0873ebSEmmanuel Vadot 77*7d0873ebSEmmanuel Vadot required: 78*7d0873ebSEmmanuel Vadot - port 79*7d0873ebSEmmanuel Vadot 80*7d0873ebSEmmanuel Vadot samsung,hpd-gpios: 81*7d0873ebSEmmanuel Vadot maxItems: 1 82*7d0873ebSEmmanuel Vadot deprecated: true 83*7d0873ebSEmmanuel Vadot 84*7d0873ebSEmmanuel Vadot samsung,ycbcr-coeff: 85*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 86*7d0873ebSEmmanuel Vadot deprecated: true 87*7d0873ebSEmmanuel Vadot description: 88*7d0873ebSEmmanuel Vadot Deprecated prop that can parsed from drm_display_mode. 89*7d0873ebSEmmanuel Vadot 90*7d0873ebSEmmanuel Vadot samsung,dynamic-range: 91*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 92*7d0873ebSEmmanuel Vadot deprecated: true 93*7d0873ebSEmmanuel Vadot description: 94*7d0873ebSEmmanuel Vadot Deprecated prop that can parsed from drm_display_mode. 95*7d0873ebSEmmanuel Vadot 96*7d0873ebSEmmanuel Vadot samsung,color-space: 97*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 98*7d0873ebSEmmanuel Vadot deprecated: true 99*7d0873ebSEmmanuel Vadot description: 100*7d0873ebSEmmanuel Vadot Deprecated prop that can parsed from drm_display_info. 101*7d0873ebSEmmanuel Vadot 102*7d0873ebSEmmanuel Vadot samsung,color-depth: 103*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 104*7d0873ebSEmmanuel Vadot deprecated: true 105*7d0873ebSEmmanuel Vadot description: 106*7d0873ebSEmmanuel Vadot Deprecated prop that can parsed from drm_display_info. 107*7d0873ebSEmmanuel Vadot 108*7d0873ebSEmmanuel Vadot samsung,link-rate: 109*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 110*7d0873ebSEmmanuel Vadot deprecated: true 111*7d0873ebSEmmanuel Vadot description: 112*7d0873ebSEmmanuel Vadot Deprecated prop that can reading from monitor by dpcd method. 113*7d0873ebSEmmanuel Vadot 114*7d0873ebSEmmanuel Vadot samsung,lane-count: 115*7d0873ebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 116*7d0873ebSEmmanuel Vadot deprecated: true 117*7d0873ebSEmmanuel Vadot description: 118*7d0873ebSEmmanuel Vadot Deprecated prop that can reading from monitor by dpcd method. 119*7d0873ebSEmmanuel Vadot 120*7d0873ebSEmmanuel Vadotrequired: 121*7d0873ebSEmmanuel Vadot - compatible 122*7d0873ebSEmmanuel Vadot - reg 123*7d0873ebSEmmanuel Vadot - clocks 124*7d0873ebSEmmanuel Vadot - clock-names 125*7d0873ebSEmmanuel Vadot - interrupts 126*7d0873ebSEmmanuel Vadot - phys 127*7d0873ebSEmmanuel Vadot - phy-names 128*7d0873ebSEmmanuel Vadot 129*7d0873ebSEmmanuel VadotadditionalProperties: false 130*7d0873ebSEmmanuel Vadot 131*7d0873ebSEmmanuel Vadotexamples: 132*7d0873ebSEmmanuel Vadot - | 133*7d0873ebSEmmanuel Vadot #include <dt-bindings/clock/exynos5250.h> 134*7d0873ebSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 135*7d0873ebSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 136*7d0873ebSEmmanuel Vadot 137*7d0873ebSEmmanuel Vadot dp-controller@145b0000 { 138*7d0873ebSEmmanuel Vadot compatible = "samsung,exynos5-dp"; 139*7d0873ebSEmmanuel Vadot reg = <0x145b0000 0x1000>; 140*7d0873ebSEmmanuel Vadot clocks = <&clock CLK_DP>; 141*7d0873ebSEmmanuel Vadot clock-names = "dp"; 142*7d0873ebSEmmanuel Vadot interrupts = <10 3>; 143*7d0873ebSEmmanuel Vadot interrupt-parent = <&combiner>; 144*7d0873ebSEmmanuel Vadot phys = <&dp_phy>; 145*7d0873ebSEmmanuel Vadot phy-names = "dp"; 146*7d0873ebSEmmanuel Vadot pinctrl-0 = <&dp_hpd>; 147*7d0873ebSEmmanuel Vadot pinctrl-names = "default"; 148*7d0873ebSEmmanuel Vadot power-domains = <&pd_disp1>; 149*7d0873ebSEmmanuel Vadot 150*7d0873ebSEmmanuel Vadot samsung,color-space = <0>; 151*7d0873ebSEmmanuel Vadot samsung,color-depth = <1>; 152*7d0873ebSEmmanuel Vadot samsung,link-rate = <0x0a>; 153*7d0873ebSEmmanuel Vadot samsung,lane-count = <2>; 154*7d0873ebSEmmanuel Vadot hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>; 155*7d0873ebSEmmanuel Vadot 156*7d0873ebSEmmanuel Vadot ports { 157*7d0873ebSEmmanuel Vadot port { 158*7d0873ebSEmmanuel Vadot dp_out: endpoint { 159*7d0873ebSEmmanuel Vadot remote-endpoint = <&bridge_in>; 160*7d0873ebSEmmanuel Vadot }; 161*7d0873ebSEmmanuel Vadot }; 162*7d0873ebSEmmanuel Vadot }; 163*7d0873ebSEmmanuel Vadot }; 164