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. 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 (6): 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 .../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 | 28 ++- drivers/gpu/drm/bridge/imx/Kconfig | 8 + drivers/gpu/drm/bridge/imx/Makefile | 1 + drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pai.c | 205 ++++++++++++++++++ drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx.c | 55 +++++ .../drm/bridge/synopsys/dw-hdmi-gp-audio.c | 5 + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 18 +- include/drm/bridge/dw_hdmi.h | 11 +- include/sound/asoundef.h | 9 + 12 files changed, 422 insertions(+), 3 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 -- 2.34.1