FROMLIST: dt-bindings: add document for analogix display port driver
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / bridge / analogix_dp.txt
1 Analogix Display Port bridge bindings
2
3 Required properties for dp-controller:
4         -compatible:
5                 platform specific such as:
6                  * "samsung,exynos5-dp"
7                  * "rockchip,rk3288-dp"
8         -reg:
9                 physical base address of the controller and length
10                 of memory mapped region.
11         -interrupts:
12                 interrupt combiner values.
13         -clocks:
14                 from common clock binding: handle to dp clock.
15         -clock-names:
16                 from common clock binding: Shall be "dp".
17         -interrupt-parent:
18                 phandle to Interrupt combiner node.
19         -phys:
20                 from general PHY binding: the phandle for the PHY device.
21         -phy-names:
22                 from general PHY binding: Should be "dp".
23
24 Optional properties for dp-controller:
25         -hpd-gpios:
26                 Hotplug detect GPIO.
27                 Indicates which GPIO should be used for hotplug detection
28         -port@[X]: SoC specific port nodes with endpoint definitions as defined
29                 in Documentation/devicetree/bindings/media/video-interfaces.txt,
30                 please refer to the SoC specific binding document:
31                 * Documentation/devicetree/bindings/display/exynos/exynos_dp.txt
32                 * Documentation/devicetree/bindings/video/analogix_dp-rockchip.txt
33
34
35 [1]: Documentation/devicetree/bindings/media/video-interfaces.txt
36 -------------------------------------------------------------------------------
37
38 Example:
39
40         dp-controller {
41                 compatible = "samsung,exynos5-dp";
42                 reg = <0x145b0000 0x10000>;
43                 interrupts = <10 3>;
44                 interrupt-parent = <&combiner>;
45                 clocks = <&clock 342>;
46                 clock-names = "dp";
47
48                 phys = <&dp_phy>;
49                 phy-names = "dp";
50         };