We don't want to use the old i2c slave encoder interface anymore. Remove that and make the i2c driver create a drm_bridge entity instead. Converting to bridges helps because the kms drivers don't need to exract encoder slave ops from this driver and use it within their own encoder/connector ops. The driver now creates its own connector when a kms driver attaches itself to the bridge. Therefore, kms drivers don't need to create their own connectors anymore. The old encoder slave ops are now used by the new bridge and connector entities. The of_node member in drm_bridge is accessible only when CONFIG_OF is enabled. The driver anyway only works only when OF is available. Make the driver depend on OF in its Kconfig. Signed-off-by: Archit Taneja <architt@codeaurora.org>
36 lines
934 B
Plaintext
36 lines
934 B
Plaintext
menu "I2C encoder or helper chips"
|
|
depends on DRM && DRM_KMS_HELPER && I2C
|
|
|
|
config DRM_I2C_ADV7511
|
|
tristate "AV7511 encoder"
|
|
depends on OF
|
|
select REGMAP_I2C
|
|
help
|
|
Support for the Analog Device ADV7511(W) and ADV7513 HDMI encoders.
|
|
|
|
config DRM_I2C_CH7006
|
|
tristate "Chrontel ch7006 TV encoder"
|
|
default m if DRM_NOUVEAU
|
|
help
|
|
Support for Chrontel ch7006 and similar TV encoders, found
|
|
on some nVidia video cards.
|
|
|
|
This driver is currently only useful if you're also using
|
|
the nouveau driver.
|
|
|
|
config DRM_I2C_SIL164
|
|
tristate "Silicon Image sil164 TMDS transmitter"
|
|
default m if DRM_NOUVEAU
|
|
help
|
|
Support for sil164 and similar single-link (or dual-link
|
|
when used in pairs) TMDS transmitters, used in some nVidia
|
|
video cards.
|
|
|
|
config DRM_I2C_NXP_TDA998X
|
|
tristate "NXP Semiconductors TDA998X HDMI encoder"
|
|
default m if DRM_TILCDC
|
|
help
|
|
Support for NXP Semiconductors TDA998X HDMI encoders.
|
|
|
|
endmenu
|