From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.1 From: nickel@altlinux.org To: devel-kernel@lists.altlinux.org Date: Tue, 2 Aug 2022 20:21:35 +0300 Message-Id: <20220802172140.226880-2-nickel@altlinux.org> X-Mailer: git-send-email 2.33.3 In-Reply-To: <20220802172140.226880-1-nickel@altlinux.org> References: <20220802172140.226880-1-nickel@altlinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Vasiliy Kovalev Subject: [d-kernel] [PATCH 1/6] ASoC: Intel: sof_es8336: add more DMI info for pa-enable lookup quirk for CNL-LP models X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2022 17:22:34 -0000 Archived-At: List-Archive: List-Post: From: Nikolai Kostrigin Add ICL Si1516 (closes: #42621); Add HIPER TeachBook HTHLP-04R. Signed-off-by: Nikolai Kostrigin Co-developed-by: Vasiliy Kovalev Signed-off-by: Vasiliy Kovalev --- sound/soc/intel/boards/sof_es8336.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c index 373b8e7f72323..0eb8ab0081463 100644 --- a/sound/soc/intel/boards/sof_es8336.c +++ b/sound/soc/intel/boards/sof_es8336.c @@ -270,6 +270,16 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = { .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) | SOF_ES8336_TGL_GPIO_QUIRK) }, + { + .callback = sof_es8336_quirk_cb, + .ident = "pa-enable ACPI deviant", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ICL"), + DMI_MATCH(DMI_BOARD_NAME, "Si16"), + }, + .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) | + SOF_ES8336_TGL_GPIO_QUIRK) + }, { .callback = sof_es8336_quirk_cb, .matches = { @@ -280,6 +290,17 @@ static const struct dmi_system_id sof_es8336_quirk_table[] = { SOF_ES8336_TGL_GPIO_QUIRK | SOF_ES8336_ENABLE_DMIC) }, + { + .callback = sof_es8336_quirk_cb, + .ident = "pa-enable ACPI deviant", + .matches = { + /* market name: HIPER TeachBook HTHLP-04R */ + DMI_MATCH(DMI_SYS_VENDOR, "mtech"), + DMI_MATCH(DMI_PRODUCT_NAME, "MTL1578"), + }, + .driver_data = (void *)(SOF_ES8336_SSP_CODEC(0) | + SOF_ES8336_TGL_GPIO_QUIRK) + }, {} }; -- 2.33.3