xref: /linux/drivers/gpu/drm/tilcdc/Kconfig (revision d2e20c8951e4bb5f4a828aed39813599980353b6)
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_DISPLAY_HELPER
10	select DRM_BRIDGE_CONNECTOR
11	select DRM_PANEL_BRIDGE
12	select VIDEOMODE_HELPERS
13	select BACKLIGHT_CLASS_DEVICE
14	help
15	  Choose this option if you have an TI SoC with LCDC display
16	  controller, for example AM33xx in beagle-bone, DA8xx, or
17	  OMAP-L1xx.  This driver replaces the FB_DA8XX fbdev driver.
18
19config DRM_TILCDC_PANEL_LEGACY
20	bool "Support device tree blobs using TI LCDC Panel binding"
21	default y
22	depends on DRM_TILCDC
23	depends on OF
24	depends on BACKLIGHT_CLASS_DEVICE
25	depends on PM
26	select OF_OVERLAY
27	select DRM_PANEL_SIMPLE
28	help
29	  Modifies the live device tree at early boot to convert the legacy
30	  "ti,tilcdc,panel" devicetree node to the standard panel-dpi node.
31	  This allows to maintain backward compatibility for boards which
32	  were using the deprecated tilcdc_panel driver.
33	  If you find "ti,tilcdc,panel"-string from your DTB, you probably
34	  need this. Otherwise you do not.
35