xref: /linux/drivers/gpu/drm/tilcdc/Kconfig (revision 0ff223d991477fa4677dcb0f1fb00065847e2212)
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_TILCDC
3	tristate "DRM Support for TI LCDC Display Controller"
4	depends on DRM && OF && ARM
5	select DRM_CLIENT_SELECTION
6	select DRM_KMS_HELPER
7	select DRM_GEM_DMA_HELPER
8	select DRM_BRIDGE
9	select DRM_PANEL_BRIDGE
10	select VIDEOMODE_HELPERS
11	select BACKLIGHT_CLASS_DEVICE
12	help
13	  Choose this option if you have an TI SoC with LCDC display
14	  controller, for example AM33xx in beagle-bone, DA8xx, or
15	  OMAP-L1xx.  This driver replaces the FB_DA8XX fbdev driver.
16
17config DRM_TILCDC_PANEL_LEGACY
18	bool "Support device tree blobs using TI LCDC Panel binding"
19	default y
20	depends on DRM_TILCDC
21	depends on OF
22	depends on BACKLIGHT_CLASS_DEVICE
23	depends on PM
24	select OF_OVERLAY
25	select DRM_PANEL_SIMPLE
26	help
27	  Modifies the live device tree at early boot to convert the legacy
28	  "ti,tilcdc,panel" devicetree node to the standard panel-dpi node.
29	  This allows to maintain backward compatibility for boards which
30	  were using the deprecated tilcdc_panel driver.
31	  If you find "ti,tilcdc,panel"-string from your DTB, you probably
32	  need this. Otherwise you do not.
33