ASoC: Intel: Add HP Stream 8 to bytcr_rt5640.c
authorMoises Cardona <moisesmcardona@gmail.com>
Wed, 14 Dec 2022 12:08:30 +0000 (07:08 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 14 Dec 2022 18:48:52 +0000 (18:48 +0000)
The bytcr_rt5640.c file already supports the HP Stream 7.

The HP Stream 8 is almost identical in terms of the hardware
with the exception of it having stereo speakers, a SIM
card slot and the obvious size difference.

Signed-off-by: Moises Cardona <moisesmcardona@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20221214120830.1572474-1-moisesmcardona@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c

index 44e6a0f..4699ca7 100644 (file)
@@ -811,6 +811,16 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
                                        BYT_RT5640_SSP0_AIF1 |
                                        BYT_RT5640_MCLK_EN),
        },
+       {       /* HP Stream 8 */
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HP Stream 8 Tablet"),
+               },
+               .driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
+                                       BYT_RT5640_JD_NOT_INV |
+                                       BYT_RT5640_SSP0_AIF1 |
+                                       BYT_RT5640_MCLK_EN),
+       },
        {       /* I.T.Works TW891 */
                .matches = {
                        DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),