public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks
@ 2023-08-09 14:00 Stefan Binding
  2023-08-09 14:00 ` [PATCH v1 1/2] ALSA: hda/realtek: Add quirks for HP G11 Laptops Stefan Binding
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Binding @ 2023-08-09 14:00 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, linux-kernel, patches, Stefan Binding

Add quirks to support HP G11 using CS35l41 HDA, using both SPI and I2C.
One older HP laptop has an SSID removed.
In addition, all Dell Oasis laptops using CS35L41 have been switch to
use SPI, with one SSID removed.

Stefan Binding (2):
  ALSA: hda/realtek: Add quirks for HP G11 Laptops
  ALSA: hda/realtek: Switch Dell Oasis models to use SPI

 sound/pci/hda/patch_realtek.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/2] ALSA: hda/realtek: Add quirks for HP G11 Laptops
  2023-08-09 14:00 [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Stefan Binding
@ 2023-08-09 14:00 ` Stefan Binding
  2023-08-09 14:00 ` [PATCH v1 2/2] ALSA: hda/realtek: Switch Dell Oasis models to use SPI Stefan Binding
  2023-08-09 14:04 ` [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Binding @ 2023-08-09 14:00 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, linux-kernel, patches, Stefan Binding

These HP G11 laptops use Realtek HDA codec combined with
2xCS35L41 Amplifiers using SPI or I2C with External Boost.

Laptop 103c8c26 has been removed as this has been replaced
by this new series of laptops.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
---
 sound/pci/hda/patch_realtek.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index dff92679ae726..2b7528cb17805 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9625,7 +9625,13 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x8b96, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
 	SND_PCI_QUIRK(0x103c, 0x8b97, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF),
 	SND_PCI_QUIRK(0x103c, 0x8bf0, "HP", ALC236_FIXUP_HP_GPIO_LED),
-	SND_PCI_QUIRK(0x103c, 0x8c26, "HP HP EliteBook 800G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c46, "HP EliteBook 830 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c47, "HP EliteBook 840 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c48, "HP EliteBook 860 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c49, "HP Elite x360 830 2-in-1 G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c70, "HP EliteBook 835 G11", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c71, "HP EliteBook 845 G11", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED),
+	SND_PCI_QUIRK(0x103c, 0x8c72, "HP EliteBook 865 G11", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED),
 	SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
 	SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
 	SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v1 2/2] ALSA: hda/realtek: Switch Dell Oasis models to use SPI
  2023-08-09 14:00 [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Stefan Binding
  2023-08-09 14:00 ` [PATCH v1 1/2] ALSA: hda/realtek: Add quirks for HP G11 Laptops Stefan Binding
@ 2023-08-09 14:00 ` Stefan Binding
  2023-08-09 14:04 ` [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Binding @ 2023-08-09 14:00 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: alsa-devel, linux-kernel, patches, Stefan Binding

All I2C Dell Oasis models using CS35L41 have been changed to use SPI.
In addition, System 10280cc5 is no longer required.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
---
 sound/pci/hda/patch_realtek.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2b7528cb17805..3bb76f8b96074 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9430,11 +9430,10 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x0cbd, "Dell Oasis 13 CS MTL-U", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1028, 0x0cbe, "Dell Oasis 13 2-IN-1 MTL-U", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1028, 0x0cbf, "Dell Oasis 13 Low Weight MTU-L", ALC245_FIXUP_CS35L41_SPI_2),
-	SND_PCI_QUIRK(0x1028, 0x0cc1, "Dell Oasis 14 MTL-H/U", ALC287_FIXUP_CS35L41_I2C_2),
-	SND_PCI_QUIRK(0x1028, 0x0cc2, "Dell Oasis 14 2-in-1 MTL-H/U", ALC287_FIXUP_CS35L41_I2C_2),
-	SND_PCI_QUIRK(0x1028, 0x0cc3, "Dell Oasis 14 Low Weight MTL-U", ALC287_FIXUP_CS35L41_I2C_2),
-	SND_PCI_QUIRK(0x1028, 0x0cc4, "Dell Oasis 16 MTL-H/U", ALC287_FIXUP_CS35L41_I2C_2),
-	SND_PCI_QUIRK(0x1028, 0x0cc5, "Dell Oasis MLK 14 RPL-P", ALC287_FIXUP_CS35L41_I2C_2),
+	SND_PCI_QUIRK(0x1028, 0x0cc1, "Dell Oasis 14 MTL-H/U", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1028, 0x0cc2, "Dell Oasis 14 2-in-1 MTL-H/U", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1028, 0x0cc3, "Dell Oasis 14 Low Weight MTL-U", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1028, 0x0cc4, "Dell Oasis 16 MTL-H/U", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks
  2023-08-09 14:00 [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Stefan Binding
  2023-08-09 14:00 ` [PATCH v1 1/2] ALSA: hda/realtek: Add quirks for HP G11 Laptops Stefan Binding
  2023-08-09 14:00 ` [PATCH v1 2/2] ALSA: hda/realtek: Switch Dell Oasis models to use SPI Stefan Binding
@ 2023-08-09 14:04 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2023-08-09 14:04 UTC (permalink / raw)
  To: Stefan Binding
  Cc: Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel, patches

On Wed, 09 Aug 2023 16:00:46 +0200,
Stefan Binding wrote:
> 
> Add quirks to support HP G11 using CS35l41 HDA, using both SPI and I2C.
> One older HP laptop has an SSID removed.
> In addition, all Dell Oasis laptops using CS35L41 have been switch to
> use SPI, with one SSID removed.
> 
> Stefan Binding (2):
>   ALSA: hda/realtek: Add quirks for HP G11 Laptops
>   ALSA: hda/realtek: Switch Dell Oasis models to use SPI

Both look like correction of the existing quirks.
Could you put the corresponding Fixes tags?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-09 14:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 14:00 [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Stefan Binding
2023-08-09 14:00 ` [PATCH v1 1/2] ALSA: hda/realtek: Add quirks for HP G11 Laptops Stefan Binding
2023-08-09 14:00 ` [PATCH v1 2/2] ALSA: hda/realtek: Switch Dell Oasis models to use SPI Stefan Binding
2023-08-09 14:04 ` [PATCH v1 0/2] Add HP G11 Quirks and update Dell Oasis Quirks Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox