About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / video / samsung-fimd.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:38 EST.

1	Device-Tree bindings for Samsung SoC display controller (FIMD)
2	
3	FIMD (Fully Interactive Mobile Display) is the Display Controller for the
4	Samsung 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 the following
9			"samsung,s3c2443-fimd"; /* for S3C24XX SoCs */
10			"samsung,s3c6400-fimd"; /* for S3C64XX SoCs */
11			"samsung,s5p6440-fimd"; /* for S5P64X0 SoCs */
12			"samsung,s5pc100-fimd"; /* for S5PC100 SoC  */
13			"samsung,s5pv210-fimd"; /* for S5PV210 SoC */
14			"samsung,exynos4210-fimd"; /* for Exynos4 SoCs */
15			"samsung,exynos5250-fimd"; /* for Exynos5 SoCs */
16	
17	- reg: physical base address and length of the FIMD registers set.
18	
19	- interrupt-parent: should be the phandle of the fimd controller's
20			parent interrupt controller.
21	
22	- interrupts: should contain a list of all FIMD IP block interrupts in the
23			 order: FIFO Level, VSYNC, LCD_SYSTEM. The interrupt specifier
24			 format depends on the interrupt controller used.
25	
26	- interrupt-names: should contain the interrupt names: "fifo", "vsync",
27		"lcd_sys", in the same order as they were listed in the interrupts
28	        property.
29	
30	- pinctrl-0: pin control group to be used for this controller.
31	
32	- pinctrl-names: must contain a "default" entry.
33	
34	- clocks: must include clock specifiers corresponding to entries in the
35	         clock-names property.
36	
37	- clock-names: list of clock names sorted in the same order as the clocks
38	               property. Must contain "sclk_fimd" and "fimd".
39	
40	Optional Properties:
41	- samsung,power-domain: a phandle to FIMD power domain node.
42	- samsung,invert-vden: video enable signal is inverted
43	- samsung,invert-vclk: video clock signal is inverted
44	- display-timings: timing settings for FIMD, as described in document [1].
45			Can be used in case timings cannot be provided otherwise
46			or to override timings provided by the panel.
47	
48	The device node can contain 'port' child nodes according to the bindings defined
49	in [2]. The following are properties specific to those nodes:
50	- reg: (required) port index, can be:
51			0 - for CAMIF0 input,
52			1 - for CAMIF1 input,
53			2 - for CAMIF2 input,
54			3 - for parallel output,
55			4 - for write-back interface
56	
57	[1]: Documentation/devicetree/bindings/video/display-timing.txt
58	[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
59	
60	Example:
61	
62	SoC specific DT entry:
63	
64		fimd@11c00000 {
65			compatible = "samsung,exynos4210-fimd";
66			interrupt-parent = <&combiner>;
67			reg = <0x11c00000 0x20000>;
68			interrupt-names = "fifo", "vsync", "lcd_sys";
69			interrupts = <11 0>, <11 1>, <11 2>;
70			clocks = <&clock 140>, <&clock 283>;
71			clock-names = "sclk_fimd", "fimd";
72			samsung,power-domain = <&pd_lcd0>;
73			status = "disabled";
74		};
75	
76	Board specific DT entry:
77	
78		fimd@11c00000 {
79			pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
80			pinctrl-names = "default";
81			status = "okay";
82		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.