Merge branch 'for-4.13-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / exynos / exynos5433-decon.txt
1 Device-Tree bindings for Samsung Exynos SoC display controller (DECON)
2
3 DECON (Display and Enhancement Controller) is the Display Controller for the
4 Exynos series of SoCs which transfers the image data from a video memory
5 buffer to an external LCD interface.
6
7 Required properties:
8 - compatible: value should be one of:
9         "samsung,exynos5433-decon", "samsung,exynos5433-decon-tv";
10 - reg: physical base address and length of the DECON registers set.
11 - interrupt-names: should contain the interrupt names depending on mode of work:
12                 video mode: "vsync",
13                 command mode: "lcd_sys",
14                 command mode with software trigger: "lcd_sys", "te".
15 - interrupts or interrupts-extended: list of interrupt specifiers corresponding
16                 to names privided in interrupt-names, as described in
17                 interrupt-controller/interrupts.txt
18 - clocks: must include clock specifiers corresponding to entries in the
19           clock-names property.
20 - clock-names: list of clock names sorted in the same order as the clocks
21                property. Must contain "pclk", "aclk_decon", "aclk_smmu_decon0x",
22                "aclk_xiu_decon0x", "pclk_smmu_decon0x", clk_decon_vclk",
23                "sclk_decon_eclk"
24 - ports: contains a port which is connected to mic node. address-cells and
25          size-cells must 1 and 0, respectively.
26 - port: contains an endpoint node which is connected to the endpoint in the mic
27         node. The reg value muset be 0.
28 - i80-if-timings: specify whether the panel which is connected to decon uses
29                   i80 lcd interface or mipi video interface. This node contains
30                   no timing information as that of fimd does. Because there is
31                   no register in decon to specify i80 interface timing value,
32                   it is not needed, but make it remain to use same kind of node
33                   in fimd and exynos7 decon.
34
35 Example:
36 SoC specific DT entry:
37 decon: decon@13800000 {
38         compatible = "samsung,exynos5433-decon";
39         reg = <0x13800000 0x2104>;
40         clocks = <&cmu_disp CLK_ACLK_DECON>, <&cmu_disp CLK_ACLK_SMMU_DECON0X>,
41                 <&cmu_disp CLK_ACLK_XIU_DECON0X>,
42                 <&cmu_disp CLK_PCLK_SMMU_DECON0X>,
43                 <&cmu_disp CLK_SCLK_DECON_VCLK>,
44                 <&cmu_disp CLK_SCLK_DECON_ECLK>;
45         clock-names = "aclk_decon", "aclk_smmu_decon0x", "aclk_xiu_decon0x",
46                 "pclk_smmu_decon0x", "sclk_decon_vclk", "sclk_decon_eclk";
47         interrupt-names = "vsync", "lcd_sys";
48         interrupts = <0 202 0>, <0 203 0>;
49
50         ports {
51                 #address-cells = <1>;
52                 #size-cells = <0>;
53
54                 port@0 {
55                         reg = <0>;
56                         decon_to_mic: endpoint {
57                                 remote-endpoint = <&mic_to_decon>;
58                         };
59                 };
60         };
61 };
62
63 Board specific DT entry:
64 &decon {
65         i80-if-timings {
66         };
67 };