Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2114153pxb; Sat, 19 Feb 2022 02:37:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+QBBSUqOk2lq6W003H/pBv6E99eEyYP02JwdsyNUKC7gUMl+K200I2Pujva/tjFGH/g4A X-Received: by 2002:a17:906:70c2:b0:6cf:e1cc:4d8c with SMTP id g2-20020a17090670c200b006cfe1cc4d8cmr9780744ejk.696.1645267051564; Sat, 19 Feb 2022 02:37:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645267051; cv=none; d=google.com; s=arc-20160816; b=LK56hM40B6FxOQL09klFCdC99Pg8q7O/l7s1Z2TyhOQxu1LZS+Jijp57miUTOd9BNl V0PTq7W5ramMRB4Lu1XCi2udrjCyhPZHVtyPQ/889h2YfjoGh+WcDZBThwL2//Z1m60g 8+7xPkuMlwV6e2h6mt952eCW8chHWe0QXTBM+VGA71R6WTipitaTjXU7zRCgZgLsgQey QAMYCbAHBAYjXKmtavHIpqoSE+eBYnPu2dKhIEXxjjQaCeORfE/0RpafmUFecaPzOD1o RWNgfUe98pSIiW77e79J4v+xJuHMCiwwXaL2FNZnxVqO7brcRqWpmLe7ZsxC07MLR5gA RmkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QeA9TOhRLSNSi7F0dRNNme6g6ol9opszw7aDeodR118=; b=vfP+uV5SqW8AG25ztHwX8d2AUUxd8LCgaupXT5MOWXq69z/Pndyu7k7zl0DrxCvCzD sqKCOKw2BbwhBwKtyA3fCRrrijTup2mMmyphw+eKAvaVfnBV4fAVUgFH6E9KGLBAkLnr MNJgefrPsADC2W8Fxb8qWsulRTUuYIocwOALIid/JHRycsSWxdPC0ErEbtwOM9PMgYnu mWwYMhDjRl76pybDMAnjS6T+xe/rOtMq3gs1+oMSk5Q67hvBgsoBIxZhzNQU1tmDQHK7 3ie25ZynydIOUxzCLYcUqcrYZShWT64UaMhVOPSg5+nUg9njGbvmv3AGU3vdDQghuR86 JqdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rz7jPVer; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa37si4968662ejc.891.2022.02.19.02.37.07; Sat, 19 Feb 2022 02:37:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rz7jPVer; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240218AbiBRXqp (ORCPT + 99 others); Fri, 18 Feb 2022 18:46:45 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240201AbiBRXqn (ORCPT ); Fri, 18 Feb 2022 18:46:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2793822BDC3 for ; Fri, 18 Feb 2022 15:46:24 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 7370061F1B for ; Fri, 18 Feb 2022 23:46:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90654C340E9; Fri, 18 Feb 2022 23:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645227983; bh=Nf4QWHJQf6uMYeqUXDUKolXQIDg74FWqWkoKRg8EeRc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rz7jPVerk5V3ozJNYK+1G0lFwI7OHwQibB57qbd/3lYLBpf5zVMpECQ0OkN3v2gzs PhbYL3SES+sxuboenAfJFiNcfjBlU54dVYWi2Wi4wLA4Vjy8KhhGDaZzDW20NnXVM4 d0lnj5b+wmWMYOSRWuyvAMBaZMBDELpldDT+I7zmomwHOx/cItN3fzjdKvc/Fu7wz2 I7cDcm6tBTlefJ77THO1X4X1m/kmIsOCI2tKBdnEmJVppeWPFsoOJ5Lt750EnKsP3j e+ki2oHlkMdRb5zrwuEc5aX9RxQmK3j9LfcH4/2vn5xANxWlTQg5fTBIgR7AleZrP0 PSnZniAT+XGIg== Date: Sat, 19 Feb 2022 00:46:18 +0100 From: Mauro Carvalho Chehab To: Pierre-Louis Bossart , Mark Brown Cc: alsa-devel@alsa-project.org, Jaroslav Kysela , linux-kernel@vger.kernel.org, Bard Liao , Huajun Li , tiwai@suse.de, Takashi Iwai , Kai Vehmanen Subject: Re: [PATCH 0/1] sound: add quirk for Huawei D15 Message-ID: <20220219004618.07cb69a9@coco.lan> In-Reply-To: References: <164519450743.1836505.3912962145996830275.b4-ty@kernel.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 18 Feb 2022 12:11:59 -0600 Pierre-Louis Bossart escreveu: > On 2/18/22 08:28, Mark Brown wrote: > > On Fri, 24 Dec 2021 14:09:48 +0100, Mauro Carvalho Chehab wrote: > >> 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). > >> > >> [...] > > > > Applied to > > > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > > > > Thanks! > > > > [1/1] ASoC: Intel: sof_es8336: add quirk for Huawei D15 2021 > > commit: ce6a70bfce21bb4edb7c0f29ecfb0522fa34ab71 > > I'll probably revert this change in my next update [1], I have a set of > changes where we can detect which SSP is used by parsing the NHTL > information in platform firmware. Mark, Yeah, I tested Pierre-Louis pull request from: https://github.com/thesofproject/linux/pull/3338 and indeed this quirk is not needed anymore for the speaker to work. So, once his new update gets merged upstream, feel free to revert this one. Pierre-Louis, When you submit your next update from PR#3338, feel free to add: Tested-by: Mauro Carvalho Chehab and my Acked-by at the revert patch: Acked-by: Mauro Carvalho Chehab > > I am still trying to figure out how to detect which MCLK is used, and > once this is done I'll send the patches upstream. > > [1] https://github.com/thesofproject/linux/pull/3338 Thanks, Mauro