exynos_dsim.txt 3.3 KB

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