tda998x_1080p.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #include <dt-bindings/starfive_fb.h>
  2. &sfivefb {
  3. tda_998x_1080p {
  4. compatible = "starfive,display-dev";
  5. panel_name = "tda_998x_1080p";
  6. panel_lcd_id = <22>; /*1080p*/
  7. interface_info = "rgb_interface";
  8. refresh_en = <1>;
  9. bits-per-pixel = <16>;
  10. physical-width = <62>;
  11. physical-height = <114>;
  12. panel-width = <1920>;
  13. panel-height = <1080>;
  14. pixel-clock = <78000000>;
  15. /*dyn_fps;*/ /*dynamic frame rate support*/
  16. /*.flags = PREFER_CMD_SEND_MONOLITHIC | CE_CMD_SEND_MONOLITHIC | RESUME_WITH_PREFER | RESUME_WITH_CE*/
  17. /*gamma-command-monolithic;*/
  18. /*ce-command-monolithic;*/
  19. /*resume-with-gamma;*/
  20. /*resume-with-ce;*/
  21. /*mipi info*/
  22. mipi-byte-clock = <78000>;
  23. mipi-escape-clock = <13000>;
  24. lane-no = <4>;
  25. display_mode = "video_mode"; /*video_mode, command_mode*/
  26. /*
  27. auto_stop_clklane_en;
  28. im_pin_val;*/
  29. color_bits = <COLOR_CODE_24BIT>;
  30. /*is_18bit_loosely;*/
  31. /*video mode info*/
  32. h-pulse-width = <44>;
  33. h-back-porch = <148>;
  34. h-front-porch = <88>;
  35. v-pulse-width = <5>;
  36. v-back-porch = <36>;
  37. v-front-porch = <4>;
  38. status = "okay";
  39. sync_pol = "vsync_high_act"; /*vsync_high_act, hsync_high_act*/
  40. lp_cmd_en;
  41. /*lp_hfp_en;*/
  42. /*lp_hbp_en;*/
  43. /*lp_vact_en;*/
  44. lp_vfp_en;
  45. lp_vbp_en;
  46. lp_vsa_en;
  47. traffic-mode = "burst_with_sync_pulses"; /*non_burst_with_sync_pulses, non_burst_with_sync_events*/
  48. /*phy info*/
  49. data_tprepare = /bits/ 8 <0>;
  50. data_hs_zero = /bits/ 8 <0>;
  51. data_hs_exit = /bits/ 8 <0>;
  52. data_hs_trail = /bits/ 8 <0>;
  53. /*te info*/
  54. te_source = "external_pin"; /*external_pin, dsi_te_trigger*/
  55. te_trigger_mode = "rising_edge"; /*rising_edge, high_1000us*/
  56. te_enable = <0>;
  57. cm_te_effect_sync_enable = <0>; /*used in command mode*/
  58. te_count_per_sec = <64>; /*used in esd*/
  59. /*ext info*/
  60. /*
  61. crc_rx_en;
  62. ecc_rx_en;
  63. eotp_rx_en;
  64. */
  65. eotp_tx_en;
  66. dev_read_time = <0x7FFF>;
  67. /*type cmd return_count return_code*/
  68. /*id_read_cmd_info = [];*/
  69. /*pre_id_cmd = [];*/
  70. /*esd_read_cmd_info = [DCS_CMD 0A 01 9C];*/
  71. /*pre_esd_cmd = [];*/
  72. /*panel-on-command = [];*/
  73. /*panel-off-command = [];*/
  74. /*reset-sequence = <1 5>, <0 10>, <1 30>;*/
  75. /*
  76. panel-gamma-warm-command = [
  77. ];
  78. panel-gamma-nature-command = [
  79. ];
  80. panel-gamma-cool-command = [
  81. ];
  82. panel-ce-std-command = [
  83. ];
  84. panel-ce-vivid-command = [
  85. ];
  86. */
  87. };
  88. };