From mboxrd@z Thu Jan 1 00:00:00 1970 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 632D8C433EF for ; Mon, 9 May 2022 08:48:12 +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 3EE4518A3; Mon, 9 May 2022 10:47:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3EE4518A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652086090; bh=qmm8uDZxzmRU99yue69TwUrWEdO2HXNsgg/x+JJ7BvQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=r3jkDzZbxn+KSTIHEYTHr0I57Yorx8MHnuqX+i9sFadjx9+D5b60SxEW6ASwDl1dG mikv2KnLyijjvSesTWtgVfICcDA3k7BK6b0GowenG0OszEP9nH8MegXHfsrMxDsQSS S9rJDLCWWP9z99w4upFUv2LrDDONhvx3//SydlKQ= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D8AC3F80237; Mon, 9 May 2022 10:47:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D1128F8014C; Mon, 9 May 2022 10:47:10 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5F04DF8014C for ; Mon, 9 May 2022 10:47:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5F04DF8014C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="CVmD/lXH"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="cmTrod8U" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 032B71FA06; Mon, 9 May 2022 08:47:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652086028; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Se7uPlOHSIZCXjRaPGhfUC+SZL9VD4Ssg1Lc02/gjjI=; b=CVmD/lXHLlNLR7j4RMNpik3VbN5dqLjpgUyW+iLXgpHnAJ4xc1mq+rMAitW4L/aROdv36e Xe77cIP86FDxH2nUBd8/EC1qihwAahJlQ80A4TPbiv0AsRVlnNsT+RAAXGgYNPW6j5DvBd L0tnPuS7AcDQVzL2BfGw0ek8McO6HaA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652086028; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Se7uPlOHSIZCXjRaPGhfUC+SZL9VD4Ssg1Lc02/gjjI=; b=cmTrod8Uusz1b9BAk5WqbwfJbJFUKtJjPAARQ4yuYbjwC2cbIEz4+ULfM8wF9ZYUQLYMYv it7YzFoixRMYL/Dw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id E88392C141; Mon, 9 May 2022 08:47:07 +0000 (UTC) Date: Mon, 09 May 2022 10:47:07 +0200 Message-ID: From: Takashi Iwai To: Stefan Binding Subject: Re: [PATCH v1 0/3] Add Manual Mode Jack Detection for CS42L42 in HDA In-Reply-To: <20220504161236.2490532-1-sbinding@opensource.cirrus.com> References: <20220504161236.2490532-1-sbinding@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Takashi Iwai , Mark Brown 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" On Wed, 04 May 2022 18:12:33 +0200, Stefan Binding wrote: > > CS42L42 supports automatic type detection, to determine headset type, > or headphones. However, automatic type detection does not always work > correctly. To improve detection accuracy, manual mode detection can be > run. This is already done in the ASoC version of the CS42L42 driver, > and this chain adds the same support into the HDA version. > > In addition, to better align the ASoC and HDA drivers, the ASoC header > file has been moved into the general sound includes, which allows both > ASoC and HDA to have access to the header. > This improves the maintainability of the HDA driver, and makes it > easier to port fixes/features from CS42L42 ASoC to HDA. > > Stefan Binding (3): > ASoC: cs42l42: Move CS42L42 register descriptions to general include > ALSA: hda/cs8409: Use general cs42l42 include in cs8409 hda driver > ALSA: hda/cs8409: Support manual mode detection for CS42L42 Applied all three patches now. Thanks. Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E30DC433F5 for ; Mon, 9 May 2022 08:57:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236463AbiEII5f (ORCPT ); Mon, 9 May 2022 04:57:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236132AbiEIIvD (ORCPT ); Mon, 9 May 2022 04:51:03 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB00A1BE137 for ; Mon, 9 May 2022 01:47:09 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 032B71FA06; Mon, 9 May 2022 08:47:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652086028; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Se7uPlOHSIZCXjRaPGhfUC+SZL9VD4Ssg1Lc02/gjjI=; b=CVmD/lXHLlNLR7j4RMNpik3VbN5dqLjpgUyW+iLXgpHnAJ4xc1mq+rMAitW4L/aROdv36e Xe77cIP86FDxH2nUBd8/EC1qihwAahJlQ80A4TPbiv0AsRVlnNsT+RAAXGgYNPW6j5DvBd L0tnPuS7AcDQVzL2BfGw0ek8McO6HaA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652086028; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Se7uPlOHSIZCXjRaPGhfUC+SZL9VD4Ssg1Lc02/gjjI=; b=cmTrod8Uusz1b9BAk5WqbwfJbJFUKtJjPAARQ4yuYbjwC2cbIEz4+ULfM8wF9ZYUQLYMYv it7YzFoixRMYL/Dw== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id E88392C141; Mon, 9 May 2022 08:47:07 +0000 (UTC) Date: Mon, 09 May 2022 10:47:07 +0200 Message-ID: From: Takashi Iwai To: Stefan Binding Cc: Mark Brown , Jaroslav Kysela , Takashi Iwai , , , Subject: Re: [PATCH v1 0/3] Add Manual Mode Jack Detection for CS42L42 in HDA In-Reply-To: <20220504161236.2490532-1-sbinding@opensource.cirrus.com> References: <20220504161236.2490532-1-sbinding@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 04 May 2022 18:12:33 +0200, Stefan Binding wrote: > > CS42L42 supports automatic type detection, to determine headset type, > or headphones. However, automatic type detection does not always work > correctly. To improve detection accuracy, manual mode detection can be > run. This is already done in the ASoC version of the CS42L42 driver, > and this chain adds the same support into the HDA version. > > In addition, to better align the ASoC and HDA drivers, the ASoC header > file has been moved into the general sound includes, which allows both > ASoC and HDA to have access to the header. > This improves the maintainability of the HDA driver, and makes it > easier to port fixes/features from CS42L42 ASoC to HDA. > > Stefan Binding (3): > ASoC: cs42l42: Move CS42L42 register descriptions to general include > ALSA: hda/cs8409: Use general cs42l42 include in cs8409 hda driver > ALSA: hda/cs8409: Support manual mode detection for CS42L42 Applied all three patches now. Thanks. Takashi