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