Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1685195pxb; Fri, 18 Feb 2022 13:07:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZTtGXKTYAp2ivSrf4K3YK71z9744+ugDeAZdb3lDa8n9h5JZtaDaM9VS9/mfxrKtjVGzM X-Received: by 2002:a05:6402:4c6:b0:410:b8e5:334 with SMTP id n6-20020a05640204c600b00410b8e50334mr9997625edw.321.1645218469023; Fri, 18 Feb 2022 13:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645218469; cv=none; d=google.com; s=arc-20160816; b=jv88tqxprxYr2xFpl3U0KfpXUA99ezxBoB+4Ri6+RA7aLp4zAZR5sjinogAWfb36rD C1B5IUtjFsIo5+4gIM0/jZfFjt2QBF4++MPrnbiOccTiWAknRtE32wnaKP7/tyHPELcR WPpLTDudofWGed84/R2dmUjIW/NSUpdLqrLLb0jpWEAmvFZJrqb6qhjcESKNNAg7f2fg iCE2lnQwZEZJq3l7Nf1xu9g1v8GBHJHPSijH0Vd3j3Hu620Kimys/NL4vLlWTPhphdkP NReivrsxi7yshzz3n4m6CKAxnyCFD/HmI0RWd6kvV1gPK2nsvg4AngTd2ycvdxvIo/mO C4bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZEtaHdZ5KU+SbjUHKWSbypQIKqV+JmtXIDUnfE7U1n8=; b=WfuB9F6cgKokAb+jDMaHNuhNWA1Yu4AJHmwmN9DjHy548KvbmjzDRdq1OaricqxVgo 6v00lVWpoevLq8WGyS0YY2k57166TrQq2E6RgcF8kqm0MANocBimFkEyJAp8zM0oPXIv mtyLprtac5CEwuzGqDyAJJAIlpUHqX570/K0XOlt0KdPH3oy2LfdQR+n/rmee2JJgqab rM1rX/ex0e1NQcFQ6Ix0ki7nfE9J3zSxd6AzVklF0Bcg1ZtkvKETQTI0YDy0MKzg1PP8 EO6XVqEUh2E927ZVViXXBDGzyf69ZKMax9GfsGbleSiNwjCn1Axgjo0tb88OcVf/McCS v1LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ITZ3A+1D; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g1si6928635ejt.939.2022.02.18.13.07.23; Fri, 18 Feb 2022 13:07:49 -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=@intel.com header.s=Intel header.b=ITZ3A+1D; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239000AbiBRSMU (ORCPT + 99 others); Fri, 18 Feb 2022 13:12:20 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236218AbiBRSMS (ORCPT ); Fri, 18 Feb 2022 13:12:18 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A7A933354 for ; Fri, 18 Feb 2022 10:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645207921; x=1676743921; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=qJpUQfCMiajF+akcXvNXCP6L2CbGn7TS+KQgaql4Uhw=; b=ITZ3A+1DcOTJYsa73284Q6h2CuxkQjigBVkC/g0uiI2fCYwjXUg8IabN XDadI4vnREvujdD7tPa+rwShAcsLAXUeBhrBzvhEH7E1Q5/PdwpgonIvo 0fy+X0eqK3aZZ/tY44pe/LfzbG3Wq553W2nRqtGQLDDrK48QdcFj4w57z 0fFXnmq4/JkJfZfaTP8uBI5K0FCBh+w7cigGLtGohHU6o4Gpm6WIkpo0x K//rSMkFoSxXKQWj6RtYDGmgkLcIykK5ea3b/QmGMCANyVqjnFUFYCPvx tar/PPgnJSPLt0SzdDFI84WBBTMcS1tuXNo42Z/wyYGQviFCcpUSHZ1ro w==; X-IronPort-AV: E=McAfee;i="6200,9189,10262"; a="234716125" X-IronPort-AV: E=Sophos;i="5.88,379,1635231600"; d="scan'208";a="234716125" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2022 10:12:00 -0800 X-IronPort-AV: E=Sophos;i="5.88,379,1635231600"; d="scan'208";a="504080860" Received: from ryanflyn-mobl.amr.corp.intel.com (HELO [10.212.54.106]) ([10.212.54.106]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2022 10:11:59 -0800 Message-ID: Date: Fri, 18 Feb 2022 12:11:59 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: [PATCH 0/1] sound: add quirk for Huawei D15 Content-Language: en-US To: Mark Brown , Mauro Carvalho Chehab Cc: alsa-devel@alsa-project.org, Jaroslav Kysela , linux-kernel@vger.kernel.org, Bard Liao , Huajun Li , tiwai@suse.de, Takashi Iwai , Kai Vehmanen References: <164519450743.1836505.3912962145996830275.b4-ty@kernel.org> From: Pierre-Louis Bossart In-Reply-To: <164519450743.1836505.3912962145996830275.b4-ty@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE,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 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. 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