xref: /freebsd/sys/contrib/device-tree/Bindings/display/exynos/exynos-mic.txt (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1Device-Tree bindings for Samsung Exynos SoC mobile image compressor (MIC)
2
3MIC (mobile image compressor) resides between decon and mipi dsi. Mipi dsi is
4not capable to transfer high resoltuion frame data as decon can send. MIC
5solves this problem by compressing the frame data by 1/2 before it is
6transferred through mipi dsi. The compressed frame data must be uncompressed in
7the panel PCB.
8
9Required properties:
10- compatible: value should be "samsung,exynos5433-mic".
11- reg: physical base address and length of the MIC registers set and system
12       register of mic.
13- clocks: must include clock specifiers corresponding to entries in the
14	  clock-names property.
15- clock-names: list of clock names sorted in the same order as the clocks
16	       property. Must contain "pclk_mic0", "sclk_rgb_vclk_to_mic0".
17- samsung,disp-syscon: the reference node for syscon for DISP block.
18- ports: contains a port which is connected to decon node and dsi node.
19	 address-cells and size-cells must 1 and 0, respectively.
20- port: contains an endpoint node which is connected to the endpoint in the
21	decon node or dsi node. The reg value must be 0 and 1 respectively.
22
23Example:
24SoC specific DT entry:
25mic: mic@13930000 {
26	compatible = "samsung,exynos5433-mic";
27	reg = <0x13930000 0x48>;
28	clocks = <&cmu_disp CLK_PCLK_MIC0>,
29	       <&cmu_disp CLK_SCLK_RGB_VCLK_TO_MIC0>;
30	clock-names = "pclk_mic0", "sclk_rgb_vclk_to_mic0";
31	samsung,disp-syscon = <&syscon_disp>;
32
33	ports {
34		#address-cells = <1>;
35		#size-cells = <0>;
36
37		port@0 {
38			reg = <0>;
39			mic_to_decon: endpoint {
40				remote-endpoint = <&decon_to_mic>;
41			};
42		};
43
44		port@1 {
45			reg = <1>;
46			mic_to_dsi: endpoint {
47				remote-endpoint = <&dsi_to_mic>;
48			};
49		};
50	};
51};
52