exynos_dsim.txt 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Exynos MIPI DSI Master
  2. Required properties:
  3. - compatible: value should be one of the following
  4. "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
  5. "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
  6. "samsung,exynos4415-mipi-dsi" /* for Exynos4415 SoC */
  7. "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
  8. "samsung,exynos5433-mipi-dsi" /* for Exynos5433 SoCs */
  9. - reg: physical base address and length of the registers set for the device
  10. - interrupts: should contain DSI interrupt
  11. - clocks: list of clock specifiers, must contain an entry for each required
  12. entry in clock-names
  13. - clock-names: should include "bus_clk"and "sclk_mipi" entries
  14. the use of "pll_clk" is deprecated
  15. - phys: list of phy specifiers, must contain an entry for each required
  16. entry in phy-names
  17. - phy-names: should include "dsim" entry
  18. - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V)
  19. - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
  20. - samsung,pll-clock-frequency: specifies frequency of the oscillator clock
  21. - #address-cells, #size-cells: should be set respectively to <1> and <0>
  22. according to DSI host bindings (see MIPI DSI bindings [1])
  23. Optional properties:
  24. - power-domains: a phandle to DSIM power domain node
  25. Child nodes:
  26. Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
  27. Video interfaces:
  28. Device node can contain video interface port nodes according to [2].
  29. The following are properties specific to those nodes:
  30. port node inbound:
  31. - reg: (required) must be 0.
  32. port node outbound:
  33. - reg: (required) must be 1.
  34. endpoint node connected from mic node (reg = 0):
  35. - remote-endpoint: specifies the endpoint in mic node. This node is required
  36. for Exynos5433 mipi dsi. So mic can access to panel node
  37. thoughout this dsi node.
  38. endpoint node connected to panel node (reg = 1):
  39. - remote-endpoint: specifies the endpoint in panel node. This node is
  40. required in all kinds of exynos mipi dsi to represent
  41. the connection between mipi dsi and panel.
  42. - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst
  43. mode
  44. - samsung,esc-clock-frequency: specifies DSI frequency in escape mode
  45. [1]: Documentation/devicetree/bindings/display/mipi-dsi-bus.txt
  46. [2]: Documentation/devicetree/bindings/media/video-interfaces.txt
  47. Example:
  48. dsi@11C80000 {
  49. compatible = "samsung,exynos4210-mipi-dsi";
  50. reg = <0x11C80000 0x10000>;
  51. interrupts = <0 79 0>;
  52. clocks = <&clock 286>, <&clock 143>;
  53. clock-names = "bus_clk", "sclk_mipi";
  54. phys = <&mipi_phy 1>;
  55. phy-names = "dsim";
  56. vddcore-supply = <&vusb_reg>;
  57. vddio-supply = <&vmipi_reg>;
  58. power-domains = <&pd_lcd0>;
  59. #address-cells = <1>;
  60. #size-cells = <0>;
  61. samsung,pll-clock-frequency = <24000000>;
  62. panel@1 {
  63. reg = <0>;
  64. ...
  65. port {
  66. panel_ep: endpoint {
  67. remote-endpoint = <&dsi_ep>;
  68. };
  69. };
  70. };
  71. ports {
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. port@0 {
  75. reg = <0>;
  76. decon_to_mic: endpoint {
  77. remote-endpoint = <&mic_to_decon>;
  78. };
  79. };
  80. port@1 {
  81. reg = <1>;
  82. dsi_ep: endpoint {
  83. reg = <0>;
  84. samsung,burst-clock-frequency = <500000000>;
  85. samsung,esc-clock-frequency = <20000000>;
  86. remote-endpoint = <&panel_ep>;
  87. };
  88. };
  89. };
  90. };