Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: GPL-2.0
  2. config DRM_RCAR_DU
  3. tristate "DRM Support for R-Car Display Unit"
  4. depends on DRM && OF
  5. depends on ARM || ARM64
  6. depends on ARCH_RENESAS || COMPILE_TEST
  7. select DRM_KMS_HELPER
  8. select DRM_GEM_DMA_HELPER
  9. select VIDEOMODE_HELPERS
  10. help
  11. Choose this option if you have an R-Car chipset.
  12. If M is selected the module will be called rcar-du-drm.
  13. config DRM_RCAR_USE_CMM
  14. bool "R-Car DU Color Management Module (CMM) Support"
  15. depends on DRM_RCAR_DU
  16. default DRM_RCAR_DU
  17. help
  18. Enable support for R-Car Color Management Module (CMM).
  19. config DRM_RCAR_CMM
  20. def_tristate DRM_RCAR_DU
  21. depends on DRM_RCAR_USE_CMM
  22. config DRM_RCAR_DW_HDMI
  23. tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
  24. depends on DRM && OF
  25. select DRM_DW_HDMI
  26. help
  27. Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
  28. config DRM_RCAR_USE_LVDS
  29. bool "R-Car DU LVDS Encoder Support"
  30. depends on DRM_BRIDGE && OF
  31. default DRM_RCAR_DU
  32. help
  33. Enable support for the R-Car Display Unit embedded LVDS encoders.
  34. config DRM_RCAR_LVDS
  35. def_tristate DRM_RCAR_DU
  36. depends on DRM_RCAR_USE_LVDS
  37. select DRM_KMS_HELPER
  38. select DRM_PANEL
  39. config DRM_RCAR_USE_MIPI_DSI
  40. bool "R-Car DU MIPI DSI Encoder Support"
  41. depends on DRM_BRIDGE && OF
  42. default DRM_RCAR_DU
  43. help
  44. Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
  45. config DRM_RCAR_MIPI_DSI
  46. def_tristate DRM_RCAR_DU
  47. depends on DRM_RCAR_USE_MIPI_DSI
  48. select DRM_MIPI_DSI
  49. config DRM_RCAR_VSP
  50. bool "R-Car DU VSP Compositor Support" if ARM
  51. default y if ARM64
  52. depends on DRM_RCAR_DU
  53. depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
  54. help
  55. Enable support to expose the R-Car VSP Compositor as KMS planes.
  56. config DRM_RCAR_WRITEBACK
  57. bool
  58. default y if ARM64
  59. depends on DRM_RCAR_DU