drm/verisilicon: hdmi: Add support audio hdmi driver
authorXingyu Wu <xingyu.wu@starfivetech.com>
Mon, 19 Jun 2023 08:57:37 +0000 (17:57 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2024 00:13:54 +0000 (09:13 +0900)
commit852fb37a4e16222d56816726e0b9c4c1bcde30c8
treefd347e228cb9fdbccbdf2e47e21c1faf2ba67498
parent16eedae8cd66b1ec8018e0868bb679a0f724348a
drm/verisilicon: hdmi: Add support audio hdmi driver

Add support hdmi audio driver of starfive JH7110. This driver is from
[1], and the imported patch list[2]. We modified to use struct
starfive_hmdi instead of struct inno_hdmi also added to use
legacy_dai_naming.

[1] https://github.com/starfive-tech/linux

[2] patch list from v5.15.y
  5bec3220a8be drm:verisilicon:hdmi-audio:Adjust when to configure registers
  5a302a7a25fe gpu:drm:Add audio function in inno hdmi

[jh80.chung: Fixed some build error]

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Change-Id: Iae0ec57f2cf588c7ca177f7e284968ca9e68c674
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/gpu/drm/verisilicon/Makefile
drivers/gpu/drm/verisilicon/starfive_hdmi.c
drivers/gpu/drm/verisilicon/starfive_hdmi.h
drivers/gpu/drm/verisilicon/starfive_hdmi_audio.c [new file with mode: 0644]