Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1881426pxb; Mon, 18 Jan 2021 02:22:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRyoRHTJ/SR2iWs3r8dET1KnQWIYYehXsbKdw2vgBc+pri1D8QOGLuY0tIuEsf+EIUWVvg X-Received: by 2002:a05:6402:2207:: with SMTP id cq7mr15360356edb.272.1610965341917; Mon, 18 Jan 2021 02:22:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610965341; cv=none; d=google.com; s=arc-20160816; b=AHpvKpznSU7mAbfLgRKqdc8+oIg4bAiHLkYl6znPlPxUS6HxUI8XFhzuVZXOE4cMLD a8C1Fm9qcdgi7s/Rg/dwdxj4ZX3+4Nt+Gv1F5y8dyfpcIzAPj1BnFa/42ABWDWxr76Np +hClK8W9VJvQ7d+MWdJHtMIg/H4MvsEn8994w9Fs6xs61ky919g9DBmp3PgUn8pQYeGS ON5eYfsRdkPT3K/ONAZsBRyklW7hbr+89aTPy9Vfr3Xv6wkDmqytf1yCGeMqniuXLbHD WXL0NK+GwJD0++sHeCWFTjYASFxCakecaOtPczfNBadD+hGdruErpdEbkprMiYpsMRxe dnSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yQySp1I8dFlNRZ6TD27mEdeFa/4xBBrxR4vuqWLafeM=; b=m/Fz6Wgy0q9Ye78MaDa+/fxF5bmUTZlme3wq9Ko0gKSbN60/yibJM4ugwJWqYU+Yy3 stJqGukNJrXjMxg6kVXYpvIhGSWbftWaXPhjVA6wrWoFM3Afpd6/t/jbsAvPZbYPVIDO SHgZVumrACQE5AA3ioO/OmXuinoIp6EBDFqqXRH9fWnwb8ZtDJ3ykUNuo4jv7uK21f6Y cqH9dac9kZDOQKIhjCigTOoekqQUgdkiDvb05Xuoycut6toE3LyNQIz+SSuQMq7mJkmw uxRYa2213ZL6Gzf8x+r8gFtKJ0LRMcTWrNvKxjlZnrIWpF2317TeWwduCOj7R6TJu/Dy lRqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EM3w46xM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si3595667eje.250.2021.01.18.02.21.59; Mon, 18 Jan 2021 02:22:21 -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=@linaro.org header.s=google header.b=EM3w46xM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389895AbhARKRH (ORCPT + 99 others); Mon, 18 Jan 2021 05:17:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389372AbhARJ4G (ORCPT ); Mon, 18 Jan 2021 04:56:06 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B23C6C061575 for ; Mon, 18 Jan 2021 01:55:13 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id c124so12981581wma.5 for ; Mon, 18 Jan 2021 01:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=yQySp1I8dFlNRZ6TD27mEdeFa/4xBBrxR4vuqWLafeM=; b=EM3w46xMJCikT6pc8p5LzxRmPXG4HmSnVkSjwPfCOJon/tBwwlsZi2ieazcVLmtHlq EqRb1Dy6VT33nWYEcocTvZX6ZFAaetOYEbz+owufRCsbbviwwQOMXczFnAgIBd73+Qfw 3RDX/4VrJ57YGxWS1qq9Ey5DWgPiAwJhzaHGx/86NMIWZJFZwUukekdz7lIFCQQEDHMj jhhwAe7SUmBP0X9Fx9EMS1cvexbx5sG9kQQfLfNZK/TYVeOSoB7UyrEqV8vireMTDydW ty+nCLNeYmuI3ynzLufT7etS1YG14NT1c24MtRd6bPFD5lLVIeB/eOPmZFrG37r0FBzn lBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=yQySp1I8dFlNRZ6TD27mEdeFa/4xBBrxR4vuqWLafeM=; b=ufrpDVQaBCpYYM3AYwiZpvMPBLlw3cj8+gB0oeC45N9D1nQUAFeqrWCVd17HovZokG zkNxybiT+BAVubtBt4ksm98MqMuNbt256/lYsrxZkReuD2MA4pPn7OBDvmg95QzgYHQe Voh9UlYRyBNCn0sX8YbwPfslCb27H6yfO8jxGUl99UUCBXtrHo8K0XqvWv8HJ+Yez/jv 62WEodlhA/G6b6heGUM31wK5LtkDQnMoo2QgW6IVrBF3qbawGl9aQDWL9Uu6aOunXa6F 0McCxpRjD0KQOjk3RkiWNm3bh2HorHeYXMSj3kouVy1d3PjwkqNqUZYSf8XiYBLDyoTE FFsg== X-Gm-Message-State: AOAM532bSpMmKkKWT5Px6kVHw7xjPjFE5XT74X/lPDV+cfcKKnfDxRBP UW2HgxcPpQt4z7BnhFDQKxQiiQ== X-Received: by 2002:a1c:4e:: with SMTP id 75mr7199354wma.150.1610963712403; Mon, 18 Jan 2021 01:55:12 -0800 (PST) Received: from dell ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id c2sm24225161wrt.87.2021.01.18.01.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 01:55:11 -0800 (PST) Date: Mon, 18 Jan 2021 09:55:09 +0000 From: Lee Jones To: Hans de Goede Cc: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Andy Shevchenko , Charles Keepax , alsa-devel@alsa-project.org Subject: Re: [PATCH v2 00/12] MFD/extcon/ASoC: Rework arizona codec jack-detect support Message-ID: <20210118095509.GA4903@dell> References: <20210117160555.78376-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210117160555.78376-1-hdegoede@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Jan 2021, Hans de Goede wrote: > Hi All, > > This series reworks the arizona codec jack-detect support to use > the snd_soc_jack helpers instead of direct extcon reporting. > > This is done by reworking the extcon driver into an arizona-jackdet > library and then modifying the codec drivers to use that directly, > replacing the old separate extcon child-devices and extcon-driver. > > This brings the arizona-codec jack-detect handling inline with how > all other ASoC codec driver do this. > > This was developed and tested on a Lenovo Yoga Tablet 1051L with > a WM5102 codec. > > The MFD, ASoC and extcon parts can be merged independent from each-other > although that could lead to a case where both the extcon driver and > the new arizona-jackdet library will try to do jack-detection. If we > end up with a git tree in that state then one of the 2 will fail to > load because the other will already have claimed the IRQs, so this > is not a problem really. > > Or the entire series could be merged through the MFD tree if people > prefer that. > > Note that this series also paves the way for some further cleanups, > removing some jackdetect related variables like hp_ena and hp_clamp > from the arizona data struct shared between all the MFD child devices. > I've deliberately not done that cleanup as part of this patch-series, > since IMHO the series is big enough as is. These cleanups can be done > in a follow-up series once this series has landed. Would you mind using `git format-patch` to create your cover-letters in the future please? This one is missing useful information such as the diff-stat and patch list. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog