Hi, Am Donnerstag, 4. September 2025, 09:05:53 CEST schrieb Shengjiu Wang: > 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. > > Add HDMI PAI driver on i.MX8MP to make HDMI audio function fully work.
On TQMa8MPxL + MBa8MPxL: Tested-by: Alexander Stein <alexander.st...@ew.tq-group.com> > > changes in v6: > - remove mutex in dw_hdmi_set_sample_iec958() > > changes in v5: > - add empty line commit message for patch 7 > - remove blank line in dts node > - add component_unbind_all when dw_hdmi_probe return error > > changes in v4: > - separate dts for soc and board > - bind hdmi_pai with hdmi_tx by moving some code to .bind() and .unbind() > - add "select DRM_DW_HDMI" to fix build error reported by test robot > - remove unnecessary code/definition in pai driver > > changes in v3: > - add space and 'U' in asoundef.h > - add more commit message for binding doc commit > - add bitfield.h header for fixing build error > > changes in v2: > - address some comments on commit messages > - add two more commits: > add definitions for the bits in IEC958 subframe > add API dw_hdmi_set_sample_iec958() for iec958 format > - use component helper in hdmi_pai and hdmi_tx driver > - use regmap in hdmi_pai driver. > - add clocks in binding doc > > Shengjiu Wang (7): > dt-bindings: display: imx: add HDMI PAI for i.MX8MP > ALSA: Add definitions for the bits in IEC958 subframe > drm/bridge: dw-hdmi: Add API dw_hdmi_to_plat_data() to get plat_data > drm/bridge: dw-hdmi: Add API dw_hdmi_set_sample_iec958() for iec958 > format > drm/bridge: imx: add driver for HDMI TX Parallel Audio Interface > arm64: dts: imx8mp: Add hdmi parallel audio interface node > arm64: dts: imx8mp-evk: enable hdmi_pai device > > .../display/bridge/fsl,imx8mp-hdmi-tx.yaml | 12 ++ > .../display/imx/fsl,imx8mp-hdmi-pai.yaml | 69 ++++++++ > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 4 + > arch/arm64/boot/dts/freescale/imx8mp.dtsi | 27 ++- > drivers/gpu/drm/bridge/imx/Kconfig | 11 ++ > drivers/gpu/drm/bridge/imx/Makefile | 1 + > drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pai.c | 158 ++++++++++++++++++ > drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c | 65 ++++++- > .../drm/bridge/synopsys/dw-hdmi-gp-audio.c | 5 + > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 16 +- > include/drm/bridge/dw_hdmi.h | 11 +- > include/sound/asoundef.h | 9 + > 12 files changed, 380 insertions(+), 8 deletions(-) > create mode 100644 > Documentation/devicetree/bindings/display/imx/fsl,imx8mp-hdmi-pai.yaml > create mode 100644 drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pai.c > > -- TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/