This reverts commit e075e496f5
, as helper
code should always be selected by the driver that needs it, for the
convenience of the final user configuring a kernel.
The user who configures a kernel should not need to know which helpers
are needed for the driver he is interested in. Making a driver depend
on helper code means that the user needs to know which helpers to enable
first, which is very user-unfriendly.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1ba76cc4d96a8afefff5d1bc42fb1e1329c5da68.1713780345.git.geert+renesas@glider.be
Signed-off-by: Maxime Ripard <mripard@kernel.org>
53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
# 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_MIPI_DSI
|
|
tristate
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL_BRIDGE
|