mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 22:45:11 +07:00
710abfe8ea
commit d6abe6df70
("drm/bridge: sil_sii8620: do not have a dependency
of RC_CORE") changed the driver to select both RC_CORE and INPUT.
However, this causes problems with other drivers, in particular an input
driver that depends on MFD_INTEL_LPSS_PCI (to be added in a separate
commit):
drivers/clk/Kconfig:9:error: recursive dependency detected!
drivers/clk/Kconfig:9: symbol COMMON_CLK is selected by MFD_INTEL_LPSS
drivers/mfd/Kconfig:566: symbol MFD_INTEL_LPSS is selected by MFD_INTEL_LPSS_PCI
drivers/mfd/Kconfig:580: symbol MFD_INTEL_LPSS_PCI is implied by KEYBOARD_APPLESPI
drivers/input/keyboard/Kconfig:73: symbol KEYBOARD_APPLESPI depends on INPUT
drivers/input/Kconfig:8: symbol INPUT is selected by DRM_SIL_SII8620
drivers/gpu/drm/bridge/Kconfig:83: symbol DRM_SIL_SII8620 depends on DRM_BRIDGE
drivers/gpu/drm/bridge/Kconfig:1: symbol DRM_BRIDGE is selected by DRM_PL111
drivers/gpu/drm/pl111/Kconfig:1: symbol DRM_PL111 depends on COMMON_CLK
According to the docs and general consensus, select should only be used
for non user-visible symbols, but both RC_CORE and INPUT are
user-visible. Furthermore almost all other references to INPUT
throughout the kernel config are depends, not selects. For this reason
the first part of this change reverts the commit.
In order to address the original reason for the commit, namely
that not all boards use the remote controller functionality and hence
should not need have to deal with RC_CORE, the second part of this
change now makes the remote control support in the driver optional and
contingent on RC_CORE being defined. And with this the hard dependency
on INPUT also goes away as that is only needed if RC_CORE is defined
(which in turn already depends on INPUT).
CC: Inki Dae <inki.dae@samsung.com>
CC: Andrzej Hajda <a.hajda@samsung.com>
CC: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ronald Tschalär <ronald@innovation.ch>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
[a.hajda: applied fixup provided by Arnd Bergmann]
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419081926.13567-2-ronald@innovation.ch
159 lines
3.9 KiB
Plaintext
159 lines
3.9 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_BRIDGE
|
|
def_bool y
|
|
depends on DRM
|
|
help
|
|
Bridge registration and lookup framework.
|
|
|
|
config DRM_PANEL_BRIDGE
|
|
def_bool y
|
|
depends on DRM_BRIDGE
|
|
depends on DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
help
|
|
DRM bridge wrapper of DRM panels
|
|
|
|
menu "Display Interface Bridges"
|
|
depends on DRM && DRM_BRIDGE
|
|
|
|
config DRM_ANALOGIX_ANX78XX
|
|
tristate "Analogix ANX78XX bridge"
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
---help---
|
|
ANX78XX is an ultra-low power Full-HD SlimPort transmitter
|
|
designed for portable devices. The ANX78XX transforms
|
|
the HDMI output of an application processor to MyDP
|
|
or DisplayPort.
|
|
|
|
config DRM_CDNS_DSI
|
|
tristate "Cadence DPI/DSI bridge"
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL_BRIDGE
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
depends on OF
|
|
help
|
|
Support Cadence DPI to DSI bridge. This is an internal
|
|
bridge and is meant to be directly embedded in a SoC.
|
|
|
|
config DRM_DUMB_VGA_DAC
|
|
tristate "Dumb VGA DAC Bridge support"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
help
|
|
Support for non-programmable RGB to VGA DAC bridges, such as ADI
|
|
ADV7123, TI THS8134 and THS8135 or passive resistor ladder DACs.
|
|
|
|
config DRM_LVDS_ENCODER
|
|
tristate "Transparent parallel to LVDS encoder support"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL_BRIDGE
|
|
help
|
|
Support for transparent parallel to LVDS encoders that don't require
|
|
any configuration.
|
|
|
|
config DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW
|
|
tristate "MegaChips stdp4028-ge-b850v3-fw and stdp2690-ge-b850v3-fw"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
---help---
|
|
This is a driver for the display bridges of
|
|
GE B850v3 that convert dual channel LVDS
|
|
to DP++. This is used with the i.MX6 imx-ldb
|
|
driver. You are likely to say N here.
|
|
|
|
config DRM_NXP_PTN3460
|
|
tristate "NXP PTN3460 DP/LVDS bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
---help---
|
|
NXP PTN3460 eDP-LVDS bridge chip driver.
|
|
|
|
config DRM_PARADE_PS8622
|
|
tristate "Parade eDP/LVDS bridge"
|
|
depends on OF
|
|
select DRM_PANEL
|
|
select DRM_KMS_HELPER
|
|
select BACKLIGHT_CLASS_DEVICE
|
|
---help---
|
|
Parade eDP-LVDS bridge chip driver.
|
|
|
|
config DRM_SIL_SII8620
|
|
tristate "Silicon Image SII8620 HDMI/MHL bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
imply EXTCON
|
|
depends on RC_CORE || !RC_CORE
|
|
help
|
|
Silicon Image SII8620 HDMI/MHL bridge chip driver.
|
|
|
|
config DRM_SII902X
|
|
tristate "Silicon Image sii902x RGB/HDMI bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
select I2C_MUX
|
|
---help---
|
|
Silicon Image sii902x bridge chip driver.
|
|
|
|
config DRM_SII9234
|
|
tristate "Silicon Image SII9234 HDMI/MHL bridge"
|
|
depends on OF
|
|
---help---
|
|
Say Y here if you want support for the MHL interface.
|
|
It is an I2C driver, that detects connection of MHL bridge
|
|
and starts encapsulation of HDMI signal.
|
|
|
|
config DRM_THINE_THC63LVD1024
|
|
tristate "Thine THC63LVD1024 LVDS decoder bridge"
|
|
depends on OF
|
|
---help---
|
|
Thine THC63LVD1024 LVDS/parallel converter driver.
|
|
|
|
config DRM_TOSHIBA_TC358764
|
|
tristate "TC358764 DSI/LVDS bridge"
|
|
depends on OF
|
|
select DRM_MIPI_DSI
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL
|
|
help
|
|
Toshiba TC358764 DSI/LVDS bridge driver.
|
|
|
|
config DRM_TOSHIBA_TC358767
|
|
tristate "Toshiba TC358767 eDP bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
select DRM_PANEL
|
|
---help---
|
|
Toshiba TC358767 eDP bridge chip driver.
|
|
|
|
config DRM_TI_TFP410
|
|
tristate "TI TFP410 DVI/HDMI bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
---help---
|
|
Texas Instruments TFP410 DVI/HDMI Transmitter driver
|
|
|
|
config DRM_TI_SN65DSI86
|
|
tristate "TI SN65DSI86 DSI to eDP bridge"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
select DRM_PANEL
|
|
select DRM_MIPI_DSI
|
|
help
|
|
Texas Instruments SN65DSI86 DSI to eDP Bridge driver
|
|
|
|
source "drivers/gpu/drm/bridge/analogix/Kconfig"
|
|
|
|
source "drivers/gpu/drm/bridge/adv7511/Kconfig"
|
|
|
|
source "drivers/gpu/drm/bridge/synopsys/Kconfig"
|
|
|
|
endmenu
|