Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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_ROCKCHIP
  11. bool "Enable Rockchip Video Support"
  12. depends on DM_VIDEO
  13. help
  14. Rockchip 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. Rockchip RK3288 and RK3399.
  19. config VIDEO_ROCKCHIP_MAX_XRES
  20. int "Maximum horizontal resolution (for memory allocation purposes)"
  21. depends on VIDEO_ROCKCHIP
  22. default 3840 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_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_ROCKCHIP_MAX_YRES
  29. int "Maximum vertical resolution (for memory allocation purposes)"
  30. depends on VIDEO_ROCKCHIP
  31. default 2160 if ROCKCHIP_RK3399 && DISPLAY_ROCKCHIP_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_ROCKCHIP
  38. config DISPLAY_ROCKCHIP_EDP
  39. bool "EDP Port"
  40. depends on VIDEO_ROCKCHIP
  41. help
  42. This enables Embedded DisplayPort(EDP) display support.
  43. config DISPLAY_ROCKCHIP_LVDS
  44. bool "LVDS Port"
  45. depends on VIDEO_ROCKCHIP
  46. help
  47. This enables Low-voltage Differential Signaling(LVDS) display
  48. support.
  49. config DISPLAY_ROCKCHIP_HDMI
  50. bool "HDMI port"
  51. select VIDEO_DW_HDMI
  52. depends on VIDEO_ROCKCHIP
  53. help
  54. This enables High-Definition Multimedia Interface display support.
  55. config DISPLAY_ROCKCHIP_MIPI
  56. bool "MIPI Port"
  57. depends on VIDEO_ROCKCHIP
  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. endif