exynos_mipi_dsi.txt 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Exynos MIPI-DSIM Controller
  2. =========================
  3. Required properties:
  4. SOC specific:
  5. compatible: should be "samsung,exynos-mipi-dsi"
  6. reg: Base address of MIPI-DSIM IP.
  7. Board specific:
  8. samsung,dsim-config-e-interface: interface to be used (RGB interface
  9. for main display or CPU interface for main or sub display).
  10. samsung,dsim-config-e-virtual-ch: virtual channel number that main
  11. or sub display uses.
  12. samsung,dsim-config-e-pixel-format: pixel stream format for main
  13. or sub display.
  14. samsung,dsim-config-e-burst-mode: selects Burst mode in Video mode.
  15. in Non-burst mode, RGB data area is filled with RGB data and
  16. NULL packets, according to input bandwidth of RGB interface.
  17. samsung,dsim-config-e-no-data-lane: data lane count used by Master.
  18. samsung,dsim-config-e-byte-clk: select byte clock source.
  19. It must be DSIM_PLL_OUT_DIV8.
  20. DSIM_EXT_CLK_DIV8 and DSIM_EXT_CLK_BYPASSS are not supported.
  21. samsung,dsim-config-hfp: HFP disable mode.
  22. If set, DSI master ignores HFP area in VIDEO mode.
  23. In command mode, this variable is ignored.
  24. samsung,dsim-config-p: P value for PMS setting.
  25. samsung,dsim-config-m: M value for PMS setting.
  26. samsung,dsim-config-s: S value for PMS setting.
  27. samsung,dsim-config-pll-stable-time: the PLL Timer for stability
  28. of the ganerated clock.
  29. samsung,dsim-config-esc-clk: escape clock frequency for getting
  30. the escape clock prescaler value.
  31. samsung,dsim-config-stop-holding-cnt: the interval value between
  32. transmitting read packet (or write "set_tear_on" command)
  33. and BTA request. After transmitting read packet or write
  34. "set_tear_on" command, BTA requests to D-PHY automatically.
  35. This counter value specifies the interval between them.
  36. samsung,dsim-config-bta-timeout: the timer for BTA. This register
  37. specifies time out from BTA request to change the direction
  38. with respect to Tx escape clock.
  39. samsung,dsim-config-rx-timeout: the timer for LP Rx mode timeout.
  40. this register specifies time out on how long RxValid deasserts,
  41. after RxLpdt asserts with respect to Tx escape clock.
  42. - RxValid specifies Rx data valid indicator.
  43. - RxLpdt specifies an indicator that D-PHY is under RxLpdt mode
  44. - RxValid and RxLpdt specifies signal from D-PHY.
  45. samsung,dsim-device-name: name of the device.
  46. samsung,dsim-device-id: unique device id.
  47. samsung,dsim-device-bus_id: bus id for identifing connected bus
  48. and this bus id should be same as id of mipi_dsim_device.
  49. Optional properties:
  50. samsung,dsim-device-reverse-panel: reverse panel.
  51. Example:
  52. mipidsi@11c80000 {
  53. compatible = "samsung,exynos-mipi-dsi";
  54. reg = <0x11c80000 0x5c>;
  55. samsung,dsim-config-e-interface = <1>;
  56. samsung,dsim-config-e-virtual-ch = <0>;
  57. samsung,dsim-config-e-pixel-format = <7>;
  58. samsung,dsim-config-e-burst-mode = <1>;
  59. samsung,dsim-config-e-no-data-lane = <3>;
  60. samsung,dsim-config-e-byte-clk = <0>;
  61. samsung,dsim-config-hfp = <1>;
  62. samsung,dsim-config-p = <3>;
  63. samsung,dsim-config-m = <120>;
  64. samsung,dsim-config-s = <1>;
  65. samsung,dsim-config-pll-stable-time = <500>;
  66. samsung,dsim-config-esc-clk = <20000000>;
  67. samsung,dsim-config-stop-holding-cnt = <0x7ff>;
  68. samsung,dsim-config-bta-timeout = <0xff>;
  69. samsung,dsim-config-rx-timeout = <0xffff>;
  70. samsung,dsim-device-id = <0xffffffff>;
  71. samsung,dsim-device-bus-id = <0>;
  72. samsung,dsim-device-reverse-panel = <1>;
  73. };