Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 1920
  23. help
  24. The maximum horizontal resolution to support for the framebuffer.
  25. This configuration is used for reserving/allocating memory for the
  26. framebuffer during device-model binding/probing.
  27. config VIDEO_ROCKCHIP_MAX_YRES
  28. int "Maximum vertical resolution (for memory allocation purposes)"
  29. depends on VIDEO_ROCKCHIP
  30. default 1080
  31. help
  32. The maximum vertical resolution to support for the framebuffer.
  33. This configuration is used for reserving/allocating memory for the
  34. framebuffer during device-model binding/probing.
  35. if VIDEO_ROCKCHIP
  36. config DISPLAY_ROCKCHIP_EDP
  37. bool "EDP Port"
  38. depends on VIDEO_ROCKCHIP
  39. help
  40. This enables Embedded DisplayPort(EDP) display support.
  41. config DISPLAY_ROCKCHIP_LVDS
  42. bool "LVDS Port"
  43. depends on VIDEO_ROCKCHIP
  44. help
  45. This enables Low-voltage Differential Signaling(LVDS) display
  46. support.
  47. config DISPLAY_ROCKCHIP_HDMI
  48. bool "HDMI port"
  49. select VIDEO_DW_HDMI
  50. depends on VIDEO_ROCKCHIP
  51. help
  52. This enables High-Definition Multimedia Interface display support.
  53. config DISPLAY_ROCKCHIP_MIPI
  54. bool "MIPI Port"
  55. depends on VIDEO_ROCKCHIP
  56. help
  57. This enables Mobile Industry Processor Interface(MIPI) display
  58. support. The mipi controller and dphy on rk3288& rk3399 support
  59. 16,18, 24 bits per pixel with upto 2k resolution ratio.
  60. endif