exynos_dsim.txt 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
  7. - reg: physical base address and length of the registers set for the device
  8. - interrupts: should contain DSI interrupt
  9. - clocks: list of clock specifiers, must contain an entry for each required
  10. entry in clock-names
  11. - clock-names: should include "bus_clk"and "pll_clk" entries
  12. - phys: list of phy specifiers, must contain an entry for each required
  13. entry in phy-names
  14. - phy-names: should include "dsim" entry
  15. - vddcore-supply: MIPI DSIM Core voltage supply (e.g. 1.1V)
  16. - vddio-supply: MIPI DSIM I/O and PLL voltage supply (e.g. 1.8V)
  17. - samsung,pll-clock-frequency: specifies frequency of the "pll_clk" clock
  18. - #address-cells, #size-cells: should be set respectively to <1> and <0>
  19. according to DSI host bindings (see MIPI DSI bindings [1])
  20. Optional properties:
  21. - samsung,power-domain: a phandle to DSIM power domain node
  22. Child nodes:
  23. Should contain DSI peripheral nodes (see MIPI DSI bindings [1]).
  24. Video interfaces:
  25. Device node can contain video interface port nodes according to [2].
  26. The following are properties specific to those nodes:
  27. port node:
  28. - reg: (required) can be 0 for input RGB/I80 port or 1 for DSI port;
  29. endpoint node of DSI port (reg = 1):
  30. - samsung,burst-clock-frequency: specifies DSI frequency in high-speed burst
  31. mode
  32. - samsung,esc-clock-frequency: specifies DSI frequency in escape mode
  33. [1]: Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt
  34. [2]: Documentation/devicetree/bindings/media/video-interfaces.txt
  35. Example:
  36. dsi@11C80000 {
  37. compatible = "samsung,exynos4210-mipi-dsi";
  38. reg = <0x11C80000 0x10000>;
  39. interrupts = <0 79 0>;
  40. clocks = <&clock 286>, <&clock 143>;
  41. clock-names = "bus_clk", "pll_clk";
  42. phys = <&mipi_phy 1>;
  43. phy-names = "dsim";
  44. vddcore-supply = <&vusb_reg>;
  45. vddio-supply = <&vmipi_reg>;
  46. samsung,power-domain = <&pd_lcd0>;
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. samsung,pll-clock-frequency = <24000000>;
  50. panel@1 {
  51. reg = <0>;
  52. ...
  53. port {
  54. panel_ep: endpoint {
  55. remote-endpoint = <&dsi_ep>;
  56. };
  57. };
  58. };
  59. ports {
  60. #address-cells = <1>;
  61. #size-cells = <0>;
  62. port@1 {
  63. dsi_ep: endpoint {
  64. reg = <0>;
  65. samsung,burst-clock-frequency = <500000000>;
  66. samsung,esc-clock-frequency = <20000000>;
  67. remote-endpoint = <&panel_ep>;
  68. };
  69. };
  70. };
  71. };