]> Gentwo Git Trees - linux/.git/commit
drm/bridge: imx: add driver for HDMI TX Parallel Audio Interface
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 23 Sep 2025 05:29:59 +0000 (13:29 +0800)
committerLiu Ying <victor.liu@nxp.com>
Mon, 29 Sep 2025 01:46:04 +0000 (09:46 +0800)
commit0205fae6327a4ef6bdb9b6dd9722c17613c422cb
tree1ad6db633322984bc9ef07f8c9cee97612427302
parent80c5d14434c94074fcf89016f89c65c209475268
drm/bridge: imx: add driver for HDMI TX Parallel Audio Interface

The HDMI TX Parallel Audio Interface (HTX_PAI) is a digital module that
acts as the bridge between the Audio Subsystem to the HDMI TX Controller.
This IP block is found in the HDMI subsystem of the i.MX8MP SoC.

Data received from the audio subsystem can have an arbitrary component
ordering. The HTX_PAI block has integrated muxing options to select which
sections of the 32-bit input data word will be mapped to each IEC60958
field. The HTX_PAI_FIELD_CTRL register contains mux selects to
individually select P,C,U,V,Data, and Preamble.

Use component helper so that imx8mp-hdmi-tx will be aggregate driver,
imx8mp-hdmi-pai will be component driver, then imx8mp-hdmi-pai can use
bind() ops to get the plat_data from imx8mp-hdmi-tx device.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Link: https://lore.kernel.org/r/20250923053001.2678596-6-shengjiu.wang@nxp.com
drivers/gpu/drm/bridge/imx/Kconfig
drivers/gpu/drm/bridge/imx/Makefile
drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pai.c [new file with mode: 0644]
drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c
include/drm/bridge/dw_hdmi.h