Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp636951pxb; Sat, 6 Mar 2021 11:17:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLUV8ry1FVMuf1QatuZpuYfSeFwc0utqzklNjpCKxJTsBkC4ex8hObE+VNrc3uKP7/Doty X-Received: by 2002:a17:907:77d4:: with SMTP id kz20mr7990227ejc.93.1615058267097; Sat, 06 Mar 2021 11:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615058267; cv=none; d=google.com; s=arc-20160816; b=z69x9OJAKgaccLjylTdYubUWDJ9ZXHYXhiUKC7/IqLAJE/K6+txntgxOmj1/XYFooU ZcaPkFykVybCnSNuOXbRAtCQYsAsMIg8xwGti4sTJE/6OTmo0bRsSOCF/pPwFovYUGny dn636nySuMRNKj6CPN89wNDo7/4JArCALHQiTj8gZ+fzo4ZayEsUUao+HhDQl7te8ZUa E0N4ul50yMAE2eYAdcIphWylkLIQIslWqtB4alBoDvKefYyHld4SiDZNaRTC8YLIoaD5 2gBB/tsaql1oFD+7vPslNH2rZ/Fw3NcqBxksu54+Hu3vN7TmYUlPSjB/h7H4p0UcLsmc /xCg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=tGlCTr/SXqNaOxq3FAuT9q//6WMREi8RgP4eXgeJKIw=; b=KwcnE3GF3ywVddo4yewpAdTDMTZy0C3tvRahlQUuqPaMvc1+zf/6tslSy/DXpenzYt dPflMjZsxYigS7THFbUJDBGJVOH+/JB+Hq0g214vj/y1B1Zbi6T23yJibBf0kEvE+sih PvUMLXM8lRjcWqsfhpK73bcLbyVrb/SvaDr08Tu+Hv0UlUUi0J0g2RtEDxb+CtO9U2Z3 +IDcHjD7C+Z+/4CotHC8ALKm9LvyTCBA6h68u9zvuYMTCSX7b8nTo9tW/bp76lAwClTh IT97tBKt7j/q2IX2+VJ5ZCH53GBNNZSEEVWkBU5qGsauqCJi8yZSzQA+WO2xg0cBAf8p qV7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=XQ7AmZH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si3893287ejs.501.2021.03.06.11.17.23; Sat, 06 Mar 2021 11:17:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=XQ7AmZH9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231298AbhCFTMV (ORCPT + 99 others); Sat, 6 Mar 2021 14:12:21 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52122 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231292AbhCFTMG (ORCPT ); Sat, 6 Mar 2021 14:12:06 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 126JBJQu032081; Sat, 6 Mar 2021 13:11:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=tGlCTr/SXqNaOxq3FAuT9q//6WMREi8RgP4eXgeJKIw=; b=XQ7AmZH9fxksoolVPBenfzQsJ0+K8BXZngIHulx9tRWDzCzuRDVRGBjhKJiNnU46GM6n I0nlIEc5F4uZqXdnxwCij4Ps4gCElHrqsiXfgfrKCMW/Sn/RqlEnKK/s4xr0GJwJWfrC y7IxhLHq1UUFCiEofy+HzvZFeNnZ+gXu6CWabBmIb4aKVvwHrDexjZ1W1zaB/rPoLHUg j8wWl9naO0pWpSPfu3Xx7c9jENZyaWkqXPUqahOr8AYyLWvis5cJ1S7iMR7JCGcZ8b3S ETq7KPAiuXfPH8mBvImleD+Oemw0urtvIGGxd2KWyflFiiL/AinndshQS6xbya/6RzTl Jw== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 37471vrdsw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Sat, 06 Mar 2021 13:11:19 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 6 Mar 2021 18:56:15 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Sat, 6 Mar 2021 18:56:15 +0000 Received: from mail1.cirrus.com (unknown [198.61.64.35]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 09C8A11CF; Sat, 6 Mar 2021 18:56:09 +0000 (UTC) From: Lucas Tanure To: James Schulman , David Rhodes , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai CC: , , , Lucas Tanure Subject: [PATCH v3 00/15] Report jack and button detection + Capture Support Date: Sat, 6 Mar 2021 18:55:38 +0000 Message-ID: <20210306185553.62053-1-tanureal@opensource.cirrus.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 adultscore=0 malwarescore=0 mlxlogscore=973 impostorscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103060119 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Here is a patch series for reporting to user space jack and button events and add the support for Capture. With some cleanups and fixes along the way. Regards, Lucas Tanure Lucas Tanure (12): ASoC: cs42l42: Fix Bitclock polarity inversion ASoC: cs42l42: Fix channel width support ASoC: cs42l42: Fix mixer volume control ASoC: cs42l42: Don't enable/disable regulator at Bias Level ASoC: cs42l42: Always wait at least 3ms after reset ASoC: cs42l42: Remove power if the driver is being removed ASoC: cs42l42: Disable regulators if probe fails ASoC: cs42l42: Provide finer control on playback path ASoC: cs42l42: Set clock source for both ways of stream ASoC: cs42l42: Add Capture Support ASoC: cs42l42: Report jack and button detection ASoC: cs42l42: Use bclk from hw_params if set_sysclk was not called Richard Fitzgerald (3): ASoC: cs42l42: Wait at least 150us after writing SCLK_PRESENT ASoC: cs42l42: Only start PLL if it is needed ASoC: cs42l42: Wait for PLL to lock before switching to it sound/soc/codecs/cs42l42.c | 435 +++++++++++++++++++++---------------- sound/soc/codecs/cs42l42.h | 41 +++- 2 files changed, 282 insertions(+), 194 deletions(-) -- 2.30.1