Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #
  2. # Video drivers selection for rockchip soc. These configs only impact the
  3. # compile process. You can surely check all the options. In this case, all the
  4. # display driver will be compiled, but which drivers finally will be used is
  5. # decided by device tree configuration. What's more, enable needed power for
  6. # display by configure the device tree, and the vop driver will do the rest.
  7. #
  8. # Author: Eric Gao <eric.gao@rock-chips.com>
  9. #
  10. menuconfig VIDEO_STARFIVE
  11. bool "Enable STARFIVE Video Support"
  12. depends on DM_VIDEO
  13. help
  14. STARFIVE SoCs provide video output capabilities for High-Definition
  15. Multimedia Interface (HDMI), Low-voltage Differential Signalling
  16. (LVDS), embedded DisplayPort (eDP) and Display Serial Interface (DSI).
  17. This driver supports the on-chip video output device, and targets the
  18. STARFIVE RK3288 and RK3399.
  19. config VIDEO_STARFIVE_MAX_XRES
  20. int "Maximum horizontal resolution (for memory allocation purposes)"
  21. depends on VIDEO_STARFIVE
  22. default 3840 if DISPLAY_STARFIVE_HDMI
  23. default 1920
  24. help
  25. The maximum horizontal resolution to support for the framebuffer.
  26. This configuration is used for reserving/allocating memory for the
  27. framebuffer during device-model binding/probing.
  28. config VIDEO_STARFIVE_MAX_YRES
  29. int "Maximum vertical resolution (for memory allocation purposes)"
  30. depends on VIDEO_STARFIVE
  31. default 2160 if DISPLAY_STARFIVE_HDMI
  32. default 1080
  33. help
  34. The maximum vertical resolution to support for the framebuffer.
  35. This configuration is used for reserving/allocating memory for the
  36. framebuffer during device-model binding/probing.
  37. if VIDEO_STARFIVE
  38. config DISPLAY_STARFIVE_EDP
  39. bool "EDP Port"
  40. depends on VIDEO_STARFIVE
  41. help
  42. This enables Embedded DisplayPort(EDP) display support.
  43. config DISPLAY_STARFIVE_LVDS
  44. bool "LVDS Port"
  45. depends on VIDEO_STARFIVE
  46. help
  47. This enables Low-voltage Differential Signaling(LVDS) display
  48. support.
  49. config DISPLAY_STARFIVE_HDMI
  50. bool "HDMI port"
  51. select VIDEO_DW_HDMI
  52. depends on VIDEO_STARFIVE
  53. help
  54. This enables High-Definition Multimedia Interface display support.
  55. config DISPLAY_STARFIVE_MIPI
  56. bool "MIPI Port"
  57. depends on VIDEO_STARFIVE
  58. help
  59. This enables Mobile Industry Processor Interface(MIPI) display
  60. support. The mipi controller and dphy on rk3288& rk3399 support
  61. 16,18, 24 bits per pixel with up to 2k resolution ratio.
  62. config VIDEO_NW_MIPI_DSI
  63. bool "DSI host"
  64. select VIDEO_MIPI_DSI
  65. help
  66. Enables the common driver code for the Northwest
  67. MIPI DSI block found in SoCs from various vendors.
  68. As this does not provide any functionality by itself (but
  69. rather requires a SoC-specific glue driver to call it), it
  70. can not be enabled from the configuration menu.
  71. endif