mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
Add support for the CEC interface of the Synopsys DesignWare HDMI QP TX controller. This is based on the downstream implementation, but rewritten on top of the CEC helpers added recently to the DRM HDMI connector framework. Also note struct dw_hdmi_qp_plat_data has been extended to include the CEC IRQ number to be provided by the platform driver. Co-developed-by: Algea Cao <algea.cao@rock-chips.com> Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Co-developed-by: Derek Foreman <derek.foreman@collabora.com> Signed-off-by: Derek Foreman <derek.foreman@collabora.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20250903-rk3588-hdmi-cec-v4-1-fa25163c4b08@collabora.com
83 lines
2.0 KiB
Plaintext
83 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_DW_DP
|
|
tristate
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_MMIO
|
|
|
|
config DRM_DW_HDMI
|
|
tristate
|
|
select DRM_DISPLAY_HDMI_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_MMIO
|
|
select CEC_CORE if CEC_NOTIFIER
|
|
|
|
config DRM_DW_HDMI_AHB_AUDIO
|
|
tristate "Synopsys Designware AHB Audio interface"
|
|
depends on DRM_DW_HDMI && SND
|
|
select SND_PCM
|
|
select SND_PCM_ELD
|
|
select SND_PCM_IEC958
|
|
help
|
|
Support the AHB Audio interface which is part of the Synopsys
|
|
Designware HDMI block. This is used in conjunction with
|
|
the i.MX6 HDMI driver.
|
|
|
|
config DRM_DW_HDMI_I2S_AUDIO
|
|
tristate "Synopsys Designware I2S Audio interface"
|
|
depends on SND_SOC
|
|
depends on DRM_DW_HDMI
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
Support the I2S Audio interface which is part of the Synopsys
|
|
Designware HDMI block.
|
|
|
|
config DRM_DW_HDMI_GP_AUDIO
|
|
tristate "Synopsys Designware GP Audio interface"
|
|
depends on DRM_DW_HDMI && SND
|
|
select SND_PCM
|
|
select SND_PCM_ELD
|
|
select SND_PCM_IEC958
|
|
help
|
|
Support the GP Audio interface which is part of the Synopsys
|
|
Designware HDMI block.
|
|
|
|
config DRM_DW_HDMI_CEC
|
|
tristate "Synopsis Designware CEC interface"
|
|
depends on DRM_DW_HDMI
|
|
select CEC_CORE
|
|
select CEC_NOTIFIER
|
|
help
|
|
Support the CE interface which is part of the Synopsys
|
|
Designware HDMI block.
|
|
|
|
config DRM_DW_HDMI_QP
|
|
tristate
|
|
select DRM_DISPLAY_HDMI_HELPER
|
|
select DRM_DISPLAY_HDMI_STATE_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_MMIO
|
|
|
|
config DRM_DW_HDMI_QP_CEC
|
|
bool "Synopsis Designware QP CEC interface"
|
|
depends on DRM_DW_HDMI_QP
|
|
select DRM_DISPLAY_HDMI_CEC_HELPER
|
|
help
|
|
Support the CEC interface which is part of the Synopsys
|
|
Designware HDMI QP block.
|
|
|
|
config DRM_DW_MIPI_DSI
|
|
tristate
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL_BRIDGE
|
|
|
|
config DRM_DW_MIPI_DSI2
|
|
tristate
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL_BRIDGE
|