• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Device-Tree bindings for Samsung Exynos SoC display controller (DECON)
2
3DECON (Display and Enhancement Controller) is the Display Controller for the
4Exynos series of SoCs which transfers the image data from a video memory
5buffer to an external LCD interface.
6
7Required 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
29Example:
30SoC specific DT entry:
31decon: decon@13800000 {
32	compatible = "samsung,exynos5433-decon";
33	reg = <0x13800000 0x2104>;
34	clocks = <&cmu_disp CLK_ACLK_DECON>, <&cmu_disp CLK_ACLK_SMMU_DECON0X>,
35		<&cmu_disp CLK_ACLK_XIU_DECON0X>,
36		<&cmu_disp CLK_PCLK_SMMU_DECON0X>,
37		<&cmu_disp CLK_SCLK_DECON_VCLK>,
38		<&cmu_disp CLK_SCLK_DECON_ECLK>;
39	clock-names = "aclk_decon", "aclk_smmu_decon0x", "aclk_xiu_decon0x",
40		"pclk_smmu_decon0x", "sclk_decon_vclk", "sclk_decon_eclk";
41	interrupt-names = "vsync", "lcd_sys";
42	interrupts = <0 202 0>, <0 203 0>;
43
44	ports {
45		#address-cells = <1>;
46		#size-cells = <0>;
47
48		port@0 {
49			reg = <0>;
50			decon_to_mic: endpoint {
51				remote-endpoint = <&mic_to_decon>;
52			};
53		};
54	};
55};
56