exynos-mic.txt 1.7 KB

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