linux/drivers/gpu/drm/tilcdc/Kconfig
Kory Maincent (TI.com) 400a84e1f7 drm/tilcdc: Add support for DRM_BRIDGE_ATTACH_NO_CONNECTOR
Convert the driver to use the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag when
attaching bridges. This modernizes the driver by delegating connector
creation to the bridge subsystem through drm_bridge_connector_init()
instead of manually searching for connectors created by the bridge.

The custom tilcdc_encoder_find_connector() function is removed and
replaced with the standard drm_bridge_connector infrastructure, which
simplifies the code and aligns with current DRM bridge best practices.

This change is safe as there are now no in-tree devicetrees that
connect tilcdc to bridges which do not support the
DRM_BRIDGE_ATTACH_NO_CONNECTOR flag.

Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Kory Maincent (TI.com) <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20260123-feature_tilcdc-v5-25-5a44d2aa3f6f@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2026-02-11 09:16:16 +01:00

35 lines
1.1 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
config DRM_TILCDC
tristate "DRM Support for TI LCDC Display Controller"
depends on DRM && OF && ARM
select DRM_CLIENT_SELECTION
select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER
select DRM_BRIDGE
select DRM_DISPLAY_HELPER
select DRM_BRIDGE_CONNECTOR
select DRM_PANEL_BRIDGE
select VIDEOMODE_HELPERS
select BACKLIGHT_CLASS_DEVICE
help
Choose this option if you have an TI SoC with LCDC display
controller, for example AM33xx in beagle-bone, DA8xx, or
OMAP-L1xx. This driver replaces the FB_DA8XX fbdev driver.
config DRM_TILCDC_PANEL_LEGACY
bool "Support device tree blobs using TI LCDC Panel binding"
default y
depends on DRM_TILCDC
depends on OF
depends on BACKLIGHT_CLASS_DEVICE
depends on PM
select OF_OVERLAY
select DRM_PANEL_SIMPLE
help
Modifies the live device tree at early boot to convert the legacy
"ti,tilcdc,panel" devicetree node to the standard panel-dpi node.
This allows to maintain backward compatibility for boards which
were using the deprecated tilcdc_panel driver.
If you find "ti,tilcdc,panel"-string from your DTB, you probably
need this. Otherwise you do not.