[PATCH 0/2] Add support for sun4i HDMI audio
stefan at olimex.com
Fri Jan 10 06:11:38 PST 2020
This patch series add support for HDMI audio for sun4i HDMI encored.
The code uses some parts from the Allwinners's BSP kernel.
Currently cyclic DMA transfers are disabled. The first patch permits them
as they are required for the audio.
The patch is tested on A20 chip. For the other chips, only the addresses
of the registers are checked.
Stefan Mavrodiev (2):
dmaengine: sun4i: Add support for cyclic requests with dedicated DMA
drm: sun4i: hdmi: Add support for sun4i HDMI encoder audio
drivers/dma/sun4i-dma.c | 45 +--
drivers/gpu/drm/sun4i/Kconfig | 1 +
drivers/gpu/drm/sun4i/Makefile | 1 +
drivers/gpu/drm/sun4i/sun4i_hdmi.h | 30 ++
drivers/gpu/drm/sun4i/sun4i_hdmi_audio.c | 375 +++++++++++++++++++++++
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 4 +
6 files changed, 435 insertions(+), 21 deletions(-)
create mode 100644 drivers/gpu/drm/sun4i/sun4i_hdmi_audio.c
More information about the linux-arm-kernel