Path: blob/main/sys/contrib/device-tree/Bindings/display/exynos/exynos_dp.txt
48523 views
The Exynos display port interface should be configured based on1the type of panel connected to it.23We use two nodes:4-dp-controller node5-dptx-phy node(defined inside dp-controller node)67For the DP-PHY initialization, we use the dptx-phy node.8Required properties for dptx-phy: deprecated, use phys and phy-names9-reg: deprecated10Base address of DP PHY register.11-samsung,enable-mask: deprecated12The bit-mask used to enable/disable DP PHY.1314For the Panel initialization, we read data from dp-controller node.15Required properties for dp-controller:16-compatible:17should be "samsung,exynos5-dp".18-reg:19physical base address of the controller and length20of memory mapped region.21-interrupts:22interrupt combiner values.23-clocks:24from common clock binding: handle to dp clock.25-clock-names:26from common clock binding: Shall be "dp".27-phys:28from general PHY binding: the phandle for the PHY device.29-phy-names:30from general PHY binding: Should be "dp".3132Optional properties for dp-controller:33-interlaced:34interlace scan mode.35Progressive if defined, Interlaced if not defined36-vsync-active-high:37VSYNC polarity configuration.38High if defined, Low if not defined39-hsync-active-high:40HSYNC polarity configuration.41High if defined, Low if not defined42-samsung,hpd-gpio:43Hotplug detect GPIO.44Indicates which GPIO should be used for hotplug45detection46-video interfaces: Device node can contain video interface port47nodes according to [1].48- display-timings: timings for the connected panel as described by49Documentation/devicetree/bindings/display/panel/display-timing.txt5051For the below properties, please refer to Analogix DP binding document:52* Documentation/devicetree/bindings/display/bridge/analogix,dp.yaml53-phys (required)54-phy-names (required)55-hpd-gpios (optional)56force-hpd (optional)5758Deprecated properties for DisplayPort:59-interlaced: deprecated prop that can parsed from drm_display_mode.60-vsync-active-high: deprecated prop that can parsed from drm_display_mode.61-hsync-active-high: deprecated prop that can parsed from drm_display_mode.62-samsung,ycbcr-coeff: deprecated prop that can parsed from drm_display_mode.63-samsung,dynamic-range: deprecated prop that can parsed from drm_display_mode.64-samsung,color-space: deprecated prop that can parsed from drm_display_info.65-samsung,color-depth: deprecated prop that can parsed from drm_display_info.66-samsung,link-rate: deprecated prop that can reading from monitor by dpcd method.67-samsung,lane-count: deprecated prop that can reading from monitor by dpcd method.68-samsung,hpd-gpio: deprecated name for hpd-gpios.6970-------------------------------------------------------------------------------7172Example:7374SOC specific portion:75dp-controller {76compatible = "samsung,exynos5-dp";77reg = <0x145b0000 0x10000>;78interrupts = <10 3>;79interrupt-parent = <&combiner>;80clocks = <&clock 342>;81clock-names = "dp";8283phys = <&dp_phy>;84phy-names = "dp";85};8687Board Specific portion:88dp-controller {89display-timings {90native-mode = <&lcd_timing>;91lcd_timing: 1366x768 {92clock-frequency = <70589280>;93hactive = <1366>;94vactive = <768>;95hfront-porch = <40>;96hback-porch = <40>;97hsync-len = <32>;98vback-porch = <10>;99vfront-porch = <12>;100vsync-len = <6>;101};102};103104ports {105port@0 {106dp_out: endpoint {107remote-endpoint = <&bridge_in>;108};109};110};111};112113114