1
0
Fork 0

gpu: imx: lcdif: break Kconfig recursive dependency

After adding LCDIF DRM/KMS driver, there will be a Kconfig recursive
dependency loop:

drivers/media/v4l2-core/Kconfig:7:error: recursive dependency detected!
drivers/media/v4l2-core/Kconfig:7:      symbol VIDEO_V4L2 depends on I2C
drivers/i2c/Kconfig:8:  symbol I2C is selected by FB_DDC
drivers/video/fbdev/Kconfig:63: symbol FB_DDC depends on FB
drivers/video/fbdev/Kconfig:12: symbol FB is selected by DRM_KMS_FB_HELPER
drivers/gpu/drm/Kconfig:75:     symbol DRM_KMS_FB_HELPER depends on DRM_KMS_HELPER
drivers/gpu/drm/Kconfig:69:     symbol DRM_KMS_HELPER is selected by DRM_IMX
drivers/gpu/drm/imx/Kconfig:2:  symbol DRM_IMX depends on IMX_LCDIF_CORE
drivers/gpu/imx/lcdif/Kconfig:1:        symbol IMX_LCDIF_CORE depends on RESET_CONTROLLER
drivers/reset/Kconfig:5:        symbol RESET_CONTROLLER is selected by QCOM_SCM
drivers/firmware/Kconfig:218:   symbol QCOM_SCM is selected by VIDEO_QCOM_VENUS
drivers/media/platform/Kconfig:482:     symbol VIDEO_QCOM_VENUS depends on V4L_MEM2MEM_DRIVERS
drivers/media/platform/Kconfig:165:     symbol V4L_MEM2MEM_DRIVERS depends on VIDEO_V4L2

Making IMX_LCDIF_CORE select RESET_CONTROLLER instead of depending on it
breaks this loop.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Fancy Fang 2019-07-18 21:23:46 +08:00 committed by Dong Aisheng
parent ae0466c8cb
commit fe5a554200
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
config IMX_LCDIF_CORE
tristate "i.MX LCDIF core support"
depends on ARCH_MXC
depends on RESET_CONTROLLER
select RESET_CONTROLLER
help
Choose this if you have a NXP i.MX8MM platform and want to use the
LCDIF display controller. This option only enables LCDIF base support.