From patchwork Fri Dec 24 13:09:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 528012 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 28462C433EF for ; Fri, 24 Dec 2021 13:11:47 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E2EFD16FF; Fri, 24 Dec 2021 14:10:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E2EFD16FF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1640351506; bh=G2fwsT9NyMtiC86IFcru5bhyB1XzknP0IUgrODzYyrw=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=SfLl/HMs3H4jG/Fo2R8mQJ0OOpaX7as0L/55/K1ScWzy8bnhLQjLCVxYE0JlA+a68 YoTVSGjNHhTKaMs4Q+cT3cv1w/nUaWi+mV39Rc9w2poWiADitPed71gr7E+nAqNrcc 2aE919ggK1yix7lFGbxNWkGcX4IiOf28vX5gj8Zk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 757FAF800FD; Fri, 24 Dec 2021 14:10:55 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A7F4BF800FF; Fri, 24 Dec 2021 14:10:53 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 64395F80084 for ; Fri, 24 Dec 2021 14:10:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 64395F80084 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Oq6AbaAF" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41EF1B82277; Fri, 24 Dec 2021 13:10:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB494C36AE8; Fri, 24 Dec 2021 13:10:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640351445; bh=G2fwsT9NyMtiC86IFcru5bhyB1XzknP0IUgrODzYyrw=; h=From:To:Cc:Subject:Date:From; b=Oq6AbaAFUyaYwb+5pANVia5grxZ1GtLLmQ/4YYJDsEcTY5zaYqQ95ylZQHP4UALfU Wf06HHf5rigxIhmoX/87uBcCt4txHjfZRdHWdk1QFQS0m5OtxXNMM3zLqjRwfLrslm aOgtR2mXftOg9mOa1VfPhYahsGdWer1bK0SiWEB5VQ6uyz78qt0RsWtAzSDbda+i8I vfC3RQdKJ2esFVkpXspHq1nQ0fZkKy+keh8003jYCC4fBi7E0BruTN8Vu4J9ZFXH3i 2rdtFwQ7TewzaFGAq1jeLAHU3XFc8QtIPSPe8gvWzUxMkM2QiG0szy9jYcGCeyZW0I H1a2+fdRDD7nQ== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1n0kLK-000UqE-Hd; Fri, 24 Dec 2021 14:10:42 +0100 From: Mauro Carvalho Chehab To: Pierre-Louis Bossart Subject: [PATCH 0/1] sound: add quirk for Huawei D15 Date: Fri, 24 Dec 2021 14:09:48 +0100 Message-Id: X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kai Vehmanen , tiwai@suse.de, linux-kernel@vger.kernel.org, Takashi Iwai , Huajun Li , broonie@kernel.org, Mauro Carvalho Chehab , Bard Liao X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi Pierre-Louis, Based on my tests, Huawei D15 (Intel) uses SSP0 on es8336. Add a quirk for it. Please notice that, currently, only the internal speaker is working. The topology for the internal microphone and for the headphones is wrong. Enabling/disabling the other two quirks (GPIO and/or DMIC) doesn't cause any audible results, nor change the devices listed on pavucontrol (tested with pipewire-pulse). Mauro Carvalho Chehab (1): ASoC: Intel: sof_es8336: add quirk for Huawei D15 2021 sound/soc/intel/boards/sof_es8336.c | 8 ++++++++ 1 file changed, 8 insertions(+) Tested-by: Mauro Carvalho Chehab Acked-by: Mauro Carvalho Chehab