mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
Add basic DisplayPort audio support. Support non-live audio playback from two PCMs (DMA channels), and the volume control in the audio mixer. As older dtb files may not have the audio DMA channels defined, the driver will just mark the audio support as disabled if the audio DMA is missing, and will continue with only display support. Note: Reset doesn't seem to work (ZYNQMP_DISP_AUD_SOFT_RESET). If we do a reset, audio playback won't start again even if, afaics, we do set up all the necessary registers. So, at the moment, resetting the audio block in dp_dai_hw_free() is commented out. Tested-by: Anatoliy Klymenko <anatoliy.klymenko@amd.com> Reviewed-by: Vishal Sagar <vishal.sagar@amd.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241023-xilinx-dp-audio-v4-3-5128881457be@ideasonboard.com
29 lines
859 B
Plaintext
29 lines
859 B
Plaintext
config DRM_ZYNQMP_DPSUB
|
|
tristate "ZynqMP DisplayPort Controller Driver"
|
|
depends on ARCH_ZYNQMP || COMPILE_TEST
|
|
depends on COMMON_CLK && DRM && OF
|
|
depends on DMADEVICES
|
|
depends on PHY_XILINX_ZYNQMP
|
|
depends on XILINX_ZYNQMP_DPDMA
|
|
select DMA_ENGINE
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_KMS_HELPER
|
|
select GENERIC_PHY
|
|
help
|
|
This is a DRM/KMS driver for ZynqMP DisplayPort controller. Choose
|
|
this option if you have a Xilinx ZynqMP SoC with DisplayPort
|
|
subsystem.
|
|
|
|
config DRM_ZYNQMP_DPSUB_AUDIO
|
|
bool "ZynqMP DisplayPort Audio Support"
|
|
depends on DRM_ZYNQMP_DPSUB
|
|
depends on SND && SND_SOC
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Choose this option to enable DisplayPort audio support in the ZynqMP
|
|
DisplayPort driver.
|