mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 21:14:18 +00:00

Rewrite the ADV7511 driver to use implementation provided by the DRM HDMI connector framework, including the Audio and CEC bits. Drop the in-bridge connector support and use drm_bridge_connector if the host requires the connector to be provided by the bridge. Note: currently only AVI InfoFrames are supported. Existing driver doesn't support programming any other InfoFrames directly and Audio InfoFrame seems to be programmed using individual bits and pieces rather than programming it directly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20250517-drm-hdmi-connector-cec-v6-10-35651db6f19b@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
29 lines
795 B
Plaintext
29 lines
795 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_I2C_ADV7511
|
|
tristate "ADV7511 encoder"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
select DRM_MIPI_DSI
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select DRM_DISPLAY_HDMI_STATE_HELPER
|
|
help
|
|
Support for the Analog Devices ADV7511(W)/13/33/35 HDMI encoders.
|
|
|
|
config DRM_I2C_ADV7511_AUDIO
|
|
bool "ADV7511 HDMI Audio driver"
|
|
depends on DRM_I2C_ADV7511 && SND_SOC
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
Support the ADV7511 HDMI Audio interface. This is used in
|
|
conjunction with the AV7511 HDMI driver.
|
|
|
|
config DRM_I2C_ADV7511_CEC
|
|
bool "ADV7511/33/35 HDMI CEC driver"
|
|
depends on DRM_I2C_ADV7511
|
|
select DRM_DISPLAY_HDMI_CEC_HELPER
|
|
default y
|
|
help
|
|
When selected the HDMI transmitter will support the CEC feature.
|