162306a36Sopenharmony_ciThe Exynos display port interface should be configured based on 262306a36Sopenharmony_cithe type of panel connected to it. 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciWe use two nodes: 562306a36Sopenharmony_ci -dp-controller node 662306a36Sopenharmony_ci -dptx-phy node(defined inside dp-controller node) 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciFor the DP-PHY initialization, we use the dptx-phy node. 962306a36Sopenharmony_ciRequired properties for dptx-phy: deprecated, use phys and phy-names 1062306a36Sopenharmony_ci -reg: deprecated 1162306a36Sopenharmony_ci Base address of DP PHY register. 1262306a36Sopenharmony_ci -samsung,enable-mask: deprecated 1362306a36Sopenharmony_ci The bit-mask used to enable/disable DP PHY. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciFor the Panel initialization, we read data from dp-controller node. 1662306a36Sopenharmony_ciRequired properties for dp-controller: 1762306a36Sopenharmony_ci -compatible: 1862306a36Sopenharmony_ci should be "samsung,exynos5-dp". 1962306a36Sopenharmony_ci -reg: 2062306a36Sopenharmony_ci physical base address of the controller and length 2162306a36Sopenharmony_ci of memory mapped region. 2262306a36Sopenharmony_ci -interrupts: 2362306a36Sopenharmony_ci interrupt combiner values. 2462306a36Sopenharmony_ci -clocks: 2562306a36Sopenharmony_ci from common clock binding: handle to dp clock. 2662306a36Sopenharmony_ci -clock-names: 2762306a36Sopenharmony_ci from common clock binding: Shall be "dp". 2862306a36Sopenharmony_ci -phys: 2962306a36Sopenharmony_ci from general PHY binding: the phandle for the PHY device. 3062306a36Sopenharmony_ci -phy-names: 3162306a36Sopenharmony_ci from general PHY binding: Should be "dp". 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciOptional properties for dp-controller: 3462306a36Sopenharmony_ci -interlaced: 3562306a36Sopenharmony_ci interlace scan mode. 3662306a36Sopenharmony_ci Progressive if defined, Interlaced if not defined 3762306a36Sopenharmony_ci -vsync-active-high: 3862306a36Sopenharmony_ci VSYNC polarity configuration. 3962306a36Sopenharmony_ci High if defined, Low if not defined 4062306a36Sopenharmony_ci -hsync-active-high: 4162306a36Sopenharmony_ci HSYNC polarity configuration. 4262306a36Sopenharmony_ci High if defined, Low if not defined 4362306a36Sopenharmony_ci -samsung,hpd-gpio: 4462306a36Sopenharmony_ci Hotplug detect GPIO. 4562306a36Sopenharmony_ci Indicates which GPIO should be used for hotplug 4662306a36Sopenharmony_ci detection 4762306a36Sopenharmony_ci -video interfaces: Device node can contain video interface port 4862306a36Sopenharmony_ci nodes according to [1]. 4962306a36Sopenharmony_ci - display-timings: timings for the connected panel as described by 5062306a36Sopenharmony_ci Documentation/devicetree/bindings/display/panel/display-timing.txt 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciFor the below properties, please refer to Analogix DP binding document: 5362306a36Sopenharmony_ci * Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml 5462306a36Sopenharmony_ci -phys (required) 5562306a36Sopenharmony_ci -phy-names (required) 5662306a36Sopenharmony_ci -hpd-gpios (optional) 5762306a36Sopenharmony_ci force-hpd (optional) 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciDeprecated properties for DisplayPort: 6062306a36Sopenharmony_ci-interlaced: deprecated prop that can parsed from drm_display_mode. 6162306a36Sopenharmony_ci-vsync-active-high: deprecated prop that can parsed from drm_display_mode. 6262306a36Sopenharmony_ci-hsync-active-high: deprecated prop that can parsed from drm_display_mode. 6362306a36Sopenharmony_ci-samsung,ycbcr-coeff: deprecated prop that can parsed from drm_display_mode. 6462306a36Sopenharmony_ci-samsung,dynamic-range: deprecated prop that can parsed from drm_display_mode. 6562306a36Sopenharmony_ci-samsung,color-space: deprecated prop that can parsed from drm_display_info. 6662306a36Sopenharmony_ci-samsung,color-depth: deprecated prop that can parsed from drm_display_info. 6762306a36Sopenharmony_ci-samsung,link-rate: deprecated prop that can reading from monitor by dpcd method. 6862306a36Sopenharmony_ci-samsung,lane-count: deprecated prop that can reading from monitor by dpcd method. 6962306a36Sopenharmony_ci-samsung,hpd-gpio: deprecated name for hpd-gpios. 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci------------------------------------------------------------------------------- 7262306a36Sopenharmony_ci 7362306a36Sopenharmony_ciExample: 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ciSOC specific portion: 7662306a36Sopenharmony_ci dp-controller { 7762306a36Sopenharmony_ci compatible = "samsung,exynos5-dp"; 7862306a36Sopenharmony_ci reg = <0x145b0000 0x10000>; 7962306a36Sopenharmony_ci interrupts = <10 3>; 8062306a36Sopenharmony_ci interrupt-parent = <&combiner>; 8162306a36Sopenharmony_ci clocks = <&clock 342>; 8262306a36Sopenharmony_ci clock-names = "dp"; 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ci phys = <&dp_phy>; 8562306a36Sopenharmony_ci phy-names = "dp"; 8662306a36Sopenharmony_ci }; 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ciBoard Specific portion: 8962306a36Sopenharmony_ci dp-controller { 9062306a36Sopenharmony_ci display-timings { 9162306a36Sopenharmony_ci native-mode = <&lcd_timing>; 9262306a36Sopenharmony_ci lcd_timing: 1366x768 { 9362306a36Sopenharmony_ci clock-frequency = <70589280>; 9462306a36Sopenharmony_ci hactive = <1366>; 9562306a36Sopenharmony_ci vactive = <768>; 9662306a36Sopenharmony_ci hfront-porch = <40>; 9762306a36Sopenharmony_ci hback-porch = <40>; 9862306a36Sopenharmony_ci hsync-len = <32>; 9962306a36Sopenharmony_ci vback-porch = <10>; 10062306a36Sopenharmony_ci vfront-porch = <12>; 10162306a36Sopenharmony_ci vsync-len = <6>; 10262306a36Sopenharmony_ci }; 10362306a36Sopenharmony_ci }; 10462306a36Sopenharmony_ci 10562306a36Sopenharmony_ci ports { 10662306a36Sopenharmony_ci port@0 { 10762306a36Sopenharmony_ci dp_out: endpoint { 10862306a36Sopenharmony_ci remote-endpoint = <&bridge_in>; 10962306a36Sopenharmony_ci }; 11062306a36Sopenharmony_ci }; 11162306a36Sopenharmony_ci }; 11262306a36Sopenharmony_ci }; 113