Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.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 - interrupts: should contain a list of all DECON IP block interrupts in the
12               order: VSYNC, LCD_SYSTEM. The interrupt specifier format
13               depends on the interrupt controller used.
14 - interrupt-names: should contain the interrupt names: "vsync", "lcd_sys"
15                    in the same order as they were listed in the interrupts
16                    property.
17 - clocks: must include clock specifiers corresponding to entries in the
18           clock-names property.
19 - clock-names: list of clock names sorted in the same order as the clocks
20                property. Must contain "pclk", "aclk_decon", "aclk_smmu_decon0x",
21                "aclk_xiu_decon0x", "pclk_smmu_decon0x", clk_decon_vclk",
22                "sclk_decon_eclk"
23 - ports: contains a port which is connected to mic node. address-cells and
24          size-cells must 1 and 0, respectively.
25 - port: contains an endpoint node which is connected to the endpoint in the mic
26         node. The reg value muset be 0.
27 - i80-if-timings: specify whether the panel which is connected to decon uses
28                   i80 lcd interface or mipi video interface. This node contains
29                   no timing information as that of fimd does. Because there is
30                   no register in decon to specify i80 interface timing value,
31                   it is not needed, but make it remain to use same kind of node
32                   in fimd and exynos7 decon.
33
34 Example:
35 SoC specific DT entry:
36 decon: decon@13800000 {
37         compatible = "samsung,exynos5433-decon";
38         reg = <0x13800000 0x2104>;
39         clocks = <&cmu_disp CLK_ACLK_DECON>, <&cmu_disp CLK_ACLK_SMMU_DECON0X>,
40                 <&cmu_disp CLK_ACLK_XIU_DECON0X>,
41                 <&cmu_disp CLK_PCLK_SMMU_DECON0X>,
42                 <&cmu_disp CLK_SCLK_DECON_VCLK>,
43                 <&cmu_disp CLK_SCLK_DECON_ECLK>;
44         clock-names = "aclk_decon", "aclk_smmu_decon0x", "aclk_xiu_decon0x",
45                 "pclk_smmu_decon0x", "sclk_decon_vclk", "sclk_decon_eclk";
46         interrupt-names = "vsync", "lcd_sys";
47         interrupts = <0 202 0>, <0 203 0>;
48
49         ports {
50                 #address-cells = <1>;
51                 #size-cells = <0>;
52
53                 port@0 {
54                         reg = <0>;
55                         decon_to_mic: endpoint {
56                                 remote-endpoint = <&mic_to_decon>;
57                         };
58                 };
59         };
60 };
61
62 Board specific DT entry:
63 &decon {
64         i80-if-timings {
65         };
66 };