Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1003228pxb; Sun, 21 Feb 2021 07:57:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyk/YS9dWTpQK+KWSqlGhS9XvMOXGPGCi/8soDZO3grfcYHWIeWpmTvt2+a9l7P3H8xg17j X-Received: by 2002:a17:906:3105:: with SMTP id 5mr17393354ejx.168.1613923041113; Sun, 21 Feb 2021 07:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613923041; cv=none; d=google.com; s=arc-20160816; b=fnGqhR0l7GoUQcTHwQTRAHnzRRekxhuC4OfTURoWsBeB+ThVlHCwAYCHcL6qenZB0B ybaXQGKjKenI/Sv737UWG7fGF9RXjybNKQo46BFOoCkbLsuKaynF/VBJTfooVLrdxA4g hntt+0HofCoW832KySeJN2Qk1dCOiZs/IXXBa0/PMJIeSZ7jNue5j2flSaBlpPPX4ULd Zf0X7iAEIwydPR+/1fOHQv/kyH7Ej5Qyuz1/o1r7qbYDj5nzg/+U/oO2MY+qUbRot5qk D0LMFjRCIO6zLFAryPo600wuMm4aOIj+KXCkH2+vkHIhAFToRVlwcElxcvVQqn8O+ekb NxAQ== 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; bh=QSqdmgo78krdNU1tk3B2jW74XB51si4bkO19NaO9xOw=; b=yW634dMPKe+yg2XqcUAuNwbGLzdg95HvqsPqGi7yMaOKt1RodB3bX3Ldju9+A1o1e5 Syv+7qnHuxE2cZ4wdGVHDeAl/3mQHpnbqkaqHju/ElhjzxabO24dZ8PAQ101lEOl8E0C 2ZA+Mkfds59/pKgJbJuSL9y9ACBNrvHs+rJ7mBhduTm9RM6pHVwMEPnRDE83AIJTq8u4 m/tSXoSxHkCoDGushuREnIXuD/NSnu678qPYew45K39PP/jrS46gFANDzxlOlBnzMN6Y HTFKON4D3H52Pdo/oTX/3dQyoSNsUpDiivu+ujLECA3acNUtzeV8wcuO4Gfvc3mBXIFK j8pw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr13si10184958ejb.269.2021.02.21.07.56.57; Sun, 21 Feb 2021 07:57: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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbhBUPyE (ORCPT + 99 others); Sun, 21 Feb 2021 10:54:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:44590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbhBUPyA (ORCPT ); Sun, 21 Feb 2021 10:54:00 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DB1064EF1; Sun, 21 Feb 2021 15:53:17 +0000 (UTC) Date: Sun, 21 Feb 2021 15:53:14 +0000 From: Jonathan Cameron To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Dmitry Torokhov , Benson Leung , Guenter Roeck , Douglas Anderson , Gwendal Grignou , Enric Balletbo i Serra Subject: Re: [PATCH v6 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver Message-ID: <20210221155314.56f55e85@archlinux> In-Reply-To: <161333519805.1254594.18000613822693540497@swboyd.mtv.corp.google.com> References: <20210211024601.1963379-1-swboyd@chromium.org> <20210211024601.1963379-4-swboyd@chromium.org> <20210214124809.4abfa363@archlinux> <161333519805.1254594.18000613822693540497@swboyd.mtv.corp.google.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Feb 2021 12:39:58 -0800 Stephen Boyd wrote: > Quoting Jonathan Cameron (2021-02-14 04:48:09) > > On Wed, 10 Feb 2021 18:46:01 -0800 > > Stephen Boyd wrote: > > > > > Add support for a ChromeOS EC proximity driver that exposes a "front" > > > proximity sensor via the IIO subsystem. The EC decides when front > > > proximity is near and sets an MKBP switch 'EC_MKBP_FRONT_PROXIMITY' to > > > notify the kernel of proximity. Similarly, when proximity detects > > > something far away it sets the switch bit to 0. For now this driver > > > exposes a single sensor, but it could be expanded in the future via more > > > MKBP bits if desired. > > > > > > Cc: Dmitry Torokhov > > > Cc: Benson Leung > > > Cc: Guenter Roeck > > > Cc: Douglas Anderson > > > Cc: Gwendal Grignou > > > Reviewed-by: Enric Balletbo i Serra > > > Signed-off-by: Stephen Boyd > > > > I'm fine with this, but want to leave a little time for others to take > > one last look. We've missed the coming merge window now anyway. > > > > If I seem to have forgotten this in a couple of weeks, feel free to > > give me a bump. > > > > Ok no problem. Gwendal had some comments on v5 that may be applicable > here too but I think they mostly mean that the resume handler may not be > needed if cros ec is fixed. Having the resume handler shouldn't hurt > though unless I missed something. Gwendal? @Gwendal, could you take a quick glance at this, or alternatively let us know if you need more time to get to it. Thanks, Jonathan