* [PATCH] ALSA: hda: Add Lisuan HDMI controller and codec support
@ 2026-08-17 8:55 raoxu
2026-08-17 11:51 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: raoxu @ 2026-08-17 8:55 UTC (permalink / raw)
To: perex
Cc: tiwai, peter.ujfalusi, kai.vehmanen, tglx, broonie,
stuart.a.hayhurst, wangruikang, zhangheng, cassiogabrielcontato,
linux-sound, linux-kernel, raoxu
From: Xu Rao <raoxu@uniontech.com>
Lisuan GPUs expose an HD-audio controller at PCI ID 4c54:5010 and an
HDMI/DP codec with codec ID 0x4c545020. Neither ID is currently matched
by the HDA stack, leaving HDMI/DP audio unavailable on these devices.
The existing downstream support uses the generic HDMI codec path and
attaches no Lisuan-specific capability flags to the controller. Its
dedicated AZX driver type only changes the short driver name.
Use the corresponding generic upstream paths instead: bind 4c54:5010 to
AZX_DRIVER_GENERIC, register 0x4c545020 as MODEL_GENERIC, and add the
Lisuan codec vendor name. This keeps the enablement minimal and avoids
a vendor-only AZX driver type with no vendor-specific behavior.
Signed-off-by: Xu Rao <raoxu@uniontech.com>
---
sound/hda/codecs/hdmi/hdmi.c | 1 +
sound/hda/controllers/intel.c | 2 ++
sound/hda/core/device.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/sound/hda/codecs/hdmi/hdmi.c b/sound/hda/codecs/hdmi/hdmi.c
index a4a2f2f0540c..1be12dfaf52d 100644
--- a/sound/hda/codecs/hdmi/hdmi.c
+++ b/sound/hda/codecs/hdmi/hdmi.c
@@ -2346,6 +2346,7 @@ static const struct hda_device_id snd_hda_id_generichdmi[] = {
HDA_CODEC_ID_MODEL(0x1d179f8e, "KX-7000 HDMI/DP", MODEL_GF),
HDA_CODEC_ID_MODEL(0x1d179f8f, "KX-7000 HDMI/DP", MODEL_GF),
HDA_CODEC_ID_MODEL(0x1d179f90, "KX-7000 HDMI/DP", MODEL_GF),
+ HDA_CODEC_ID_MODEL(0x4c545020, "Lisuan HDMI/DP", MODEL_GENERIC),
HDA_CODEC_ID_MODEL(0x67663d82, "Arise 82 HDMI/DP", MODEL_GF),
HDA_CODEC_ID_MODEL(0x67663d83, "Arise 83 HDMI/DP", MODEL_GF),
HDA_CODEC_ID_MODEL(0x67663d84, "Arise 84 HDMI/DP", MODEL_GF),
diff --git a/sound/hda/controllers/intel.c b/sound/hda/controllers/intel.c
index 28c55c5a2d2e..eb3a5b28e9f5 100644
--- a/sound/hda/controllers/intel.c
+++ b/sound/hda/controllers/intel.c
@@ -2838,6 +2838,8 @@ static const struct pci_device_id azx_ids[] = {
.driver_data = AZX_DRIVER_LOONGSON | AZX_DCAPS_NO_TCSEL },
{ PCI_VDEVICE(LOONGSON, PCI_DEVICE_ID_LOONGSON_HDMI),
.driver_data = AZX_DRIVER_LOONGSON | AZX_DCAPS_NO_TCSEL },
+ /* Lisuan HD-audio */
+ { PCI_DEVICE(0x4c54, 0x5010), .driver_data = AZX_DRIVER_GENERIC },
{ 0, }
};
MODULE_DEVICE_TABLE(pci, azx_ids);
diff --git a/sound/hda/core/device.c b/sound/hda/core/device.c
index 160c8d0453b0..44bd74133479 100644
--- a/sound/hda/core/device.c
+++ b/sound/hda/core/device.c
@@ -663,6 +663,7 @@ static const struct hda_vendor_id hda_vendor_ids[] = {
{ 0x1af4, "QEMU" },
{ 0x1fa8, "Senarytech" },
{ 0x434d, "C-Media" },
+ { 0x4c54, "Lisuan" },
{ 0x8086, "Intel" },
{ 0x8384, "SigmaTel" },
{} /* terminator */
--
2.50.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: hda: Add Lisuan HDMI controller and codec support
2026-08-17 8:55 [PATCH] ALSA: hda: Add Lisuan HDMI controller and codec support raoxu
@ 2026-08-17 11:51 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-08-17 11:51 UTC (permalink / raw)
To: raoxu
Cc: perex, tiwai, peter.ujfalusi, kai.vehmanen, tglx, broonie,
stuart.a.hayhurst, wangruikang, zhangheng, cassiogabrielcontato,
linux-sound, linux-kernel
On Mon, 17 Aug 2026 10:55:31 +0200,
raoxu wrote:
>
> From: Xu Rao <raoxu@uniontech.com>
>
> Lisuan GPUs expose an HD-audio controller at PCI ID 4c54:5010 and an
> HDMI/DP codec with codec ID 0x4c545020. Neither ID is currently matched
> by the HDA stack, leaving HDMI/DP audio unavailable on these devices.
>
> The existing downstream support uses the generic HDMI codec path and
> attaches no Lisuan-specific capability flags to the controller. Its
> dedicated AZX driver type only changes the short driver name.
>
> Use the corresponding generic upstream paths instead: bind 4c54:5010 to
> AZX_DRIVER_GENERIC, register 0x4c545020 as MODEL_GENERIC, and add the
> Lisuan codec vendor name. This keeps the enablement minimal and avoids
> a vendor-only AZX driver type with no vendor-specific behavior.
>
> Signed-off-by: Xu Rao <raoxu@uniontech.com>
Applied now. Thanks.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-17 11:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 8:55 [PATCH] ALSA: hda: Add Lisuan HDMI controller and codec support raoxu
2026-08-17 11:51 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®