59 lines
2.3 KiB
Diff
59 lines
2.3 KiB
Diff
|
From 76556b655f7b50afe5c58006f44221900e5711a9 Mon Sep 17 00:00:00 2001
|
||
|
From: "Luke D. Jones" <luke@ljones.dev>
|
||
|
Date: Wed, 23 Aug 2023 11:05:59 +1200
|
||
|
Subject: [PATCH v2] ALSA: hda: cs35l41: Support ASUS 2023 laptops with missing
|
||
|
DSD
|
||
|
|
||
|
Support adding the missing DSD properties required for ASUS ROG 2023
|
||
|
laptops and other ASUS laptops to properly utilise the cs35l41.
|
||
|
|
||
|
The currently added laptops are:
|
||
|
- ASUS GS650P, i2c
|
||
|
- ASUS GA402X, i2c
|
||
|
- ASUS GU604V, spi
|
||
|
- ASUS GU603V, spi
|
||
|
- ASUS GV601V, spi
|
||
|
- ASUS GZ301V, spi
|
||
|
- ASUS ROG ALLY, i2c
|
||
|
- ASUS G614J, spi
|
||
|
- ASUS G634J, spi
|
||
|
- ASUS G614JI, spi
|
||
|
- ASUS G713P, i2c
|
||
|
- ASUS H7604JV, spi
|
||
|
|
||
|
The SPI connected amps may be required to use an external DSD patch
|
||
|
to fix or add the "cs-gpios" property.
|
||
|
|
||
|
Co-developed-by: Jonathan LoBue <jlobue10@gmail.com>
|
||
|
Signed-off-by: Jonathan LoBue <jlobue10@gmail.com>
|
||
|
Co-developed-by: Luke D. Jones <luke@ljones.dev>
|
||
|
Signed-off-by: Luke D. Jones <luke@ljones.dev>
|
||
|
---
|
||
|
sound/pci/hda/cs35l41_hda_property.c | 57 ++++++++++++++++++++++++++++
|
||
|
1 file changed, 57 insertions(+)
|
||
|
|
||
|
diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
|
||
|
index c9eb70290..2b8f8fd52 100644
|
||
|
--- a/sound/pci/hda/cs35l41_hda_property.c
|
||
|
+++ b/sound/pci/hda/cs35l41_hda_property.c
|
||
|
@@ -79,6 +79,7 @@
|
||
|
{ "104316D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
|
||
|
{ "104316F3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
|
||
|
{ "104317F3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
|
||
|
+ { "10431B93", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
|
||
|
{ "10431863", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
|
||
|
{ "104318D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
|
||
|
{ "10431C9F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
|
||
|
@@ -360,6 +361,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
|
||
|
{ "CSC3551", "104316D3", generic_dsd_config },
|
||
|
{ "CSC3551", "104316F3", generic_dsd_config },
|
||
|
{ "CSC3551", "104317F3", generic_dsd_config },
|
||
|
+ { "CSC3551", "10431B93", generic_dsd_config },
|
||
|
{ "CSC3551", "10431863", generic_dsd_config },
|
||
|
{ "CSC3551", "104318D3", generic_dsd_config },
|
||
|
{ "CSC3551", "10431C9F", generic_dsd_config },
|
||
|
|
||
|
--
|
||
|
2.41.0
|
||
|
|