Back to home page

OSCL-LXR

 
 

    


0001 The Exynos display port interface should be configured based on
0002 the type of panel connected to it.
0003 
0004 We use two nodes:
0005         -dp-controller node
0006         -dptx-phy node(defined inside dp-controller node)
0007 
0008 For the DP-PHY initialization, we use the dptx-phy node.
0009 Required properties for dptx-phy: deprecated, use phys and phy-names
0010         -reg: deprecated
0011                 Base address of DP PHY register.
0012         -samsung,enable-mask: deprecated
0013                 The bit-mask used to enable/disable DP PHY.
0014 
0015 For the Panel initialization, we read data from dp-controller node.
0016 Required properties for dp-controller:
0017         -compatible:
0018                 should be "samsung,exynos5-dp".
0019         -reg:
0020                 physical base address of the controller and length
0021                 of memory mapped region.
0022         -interrupts:
0023                 interrupt combiner values.
0024         -clocks:
0025                 from common clock binding: handle to dp clock.
0026         -clock-names:
0027                 from common clock binding: Shall be "dp".
0028         -phys:
0029                 from general PHY binding: the phandle for the PHY device.
0030         -phy-names:
0031                 from general PHY binding: Should be "dp".
0032 
0033 Optional properties for dp-controller:
0034         -interlaced:
0035                 interlace scan mode.
0036                         Progressive if defined, Interlaced if not defined
0037         -vsync-active-high:
0038                 VSYNC polarity configuration.
0039                         High if defined, Low if not defined
0040         -hsync-active-high:
0041                 HSYNC polarity configuration.
0042                         High if defined, Low if not defined
0043         -samsung,hpd-gpio:
0044                 Hotplug detect GPIO.
0045                         Indicates which GPIO should be used for hotplug
0046                         detection
0047         -video interfaces: Device node can contain video interface port
0048                         nodes according to [1].
0049         - display-timings: timings for the connected panel as described by
0050                 Documentation/devicetree/bindings/display/panel/display-timing.txt
0051 
0052 For the below properties, please refer to Analogix DP binding document:
0053  * Documentation/devicetree/bindings/display/bridge/analogix_dp.txt
0054         -phys (required)
0055         -phy-names (required)
0056         -hpd-gpios (optional)
0057          force-hpd (optional)
0058 
0059 Deprecated properties for DisplayPort:
0060 -interlaced:            deprecated prop that can parsed from drm_display_mode.
0061 -vsync-active-high:     deprecated prop that can parsed from drm_display_mode.
0062 -hsync-active-high:     deprecated prop that can parsed from drm_display_mode.
0063 -samsung,ycbcr-coeff:   deprecated prop that can parsed from drm_display_mode.
0064 -samsung,dynamic-range: deprecated prop that can parsed from drm_display_mode.
0065 -samsung,color-space:   deprecated prop that can parsed from drm_display_info.
0066 -samsung,color-depth:   deprecated prop that can parsed from drm_display_info.
0067 -samsung,link-rate:     deprecated prop that can reading from monitor by dpcd method.
0068 -samsung,lane-count:    deprecated prop that can reading from monitor by dpcd method.
0069 -samsung,hpd-gpio:      deprecated name for hpd-gpios.
0070 
0071 -------------------------------------------------------------------------------
0072 
0073 Example:
0074 
0075 SOC specific portion:
0076         dp-controller {
0077                 compatible = "samsung,exynos5-dp";
0078                 reg = <0x145b0000 0x10000>;
0079                 interrupts = <10 3>;
0080                 interrupt-parent = <&combiner>;
0081                 clocks = <&clock 342>;
0082                 clock-names = "dp";
0083 
0084                 phys = <&dp_phy>;
0085                 phy-names = "dp";
0086         };
0087 
0088 Board Specific portion:
0089         dp-controller {
0090                 display-timings {
0091                         native-mode = <&lcd_timing>;
0092                         lcd_timing: 1366x768 {
0093                                 clock-frequency = <70589280>;
0094                                 hactive = <1366>;
0095                                 vactive = <768>;
0096                                 hfront-porch = <40>;
0097                                 hback-porch = <40>;
0098                                 hsync-len = <32>;
0099                                 vback-porch = <10>;
0100                                 vfront-porch = <12>;
0101                                 vsync-len = <6>;
0102                         };
0103                 };
0104 
0105                 ports {
0106                         port@0 {
0107                                 dp_out: endpoint {
0108                                         remote-endpoint = <&bridge_in>;
0109                                 };
0110                         };
0111                 };
0112         };