mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 11:53:41 +00:00

Add a Synopsys Designware MIPI DSI host DRM bridge driver for their DSI2 host controller, based on the Rockchip version from the driver rockchip/dw-mipi-dsi2.c in their vendor-kernel with phy & bridge APIs. While the driver is heavily modelled after the previous IP, the register set of this DSI2 controller is completely different and there are also additional properties like the variable-width phy interface. Tested-by: Daniel Semkowicz <dse@thaumatec.com> Tested-by: Dmitry Yashin <dmt.yashin@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Reviewed-by: Andy Yan <andy.yan@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20241209231021.2180582-2-heiko@sntech.de
68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
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_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
|