Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1585786pxf; Fri, 12 Mar 2021 13:25:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzC9IdE0z8jT+AfPJexOFDdj+shBfLEOKHc30wAd/Rx64vfJkuYEqs6xqAsitTZdED+CQaS X-Received: by 2002:a17:906:f2d2:: with SMTP id gz18mr10654138ejb.454.1615584332232; Fri, 12 Mar 2021 13:25:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615584332; cv=none; d=google.com; s=arc-20160816; b=xNus35llNLG18GDbF2/72mJakrtJbVgldMPSw4aO9nHSdVZo1Ol+es+FsZ0EnkVyFI ImBQT6wwZrTH8WYnW7E1Res4pxcS/wfPanCWdjyQHhIsGrbtHRNJpgImoC2xQEyXAjfc kg/ucPh+K+nMPFgbGiXxe54AgRuWjRXvkPM/MtMkn71piZOpd8+BqBHHMRlkt7DWBqf2 6lt+1D6oB1GTklWMvt+cq9CTgICzO/CeJqB5OIFvfPm4y8o82Vg0ZXEPLDWndpqweaOA aZ9Yf406CSZd+EtICEaAHVW9ymoFFjFABfNuoy7qc6PRY21QuN08VDeRdLbbEBvO7O6H HOow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=m4dUhRPgwvR6514Yqwy95xcRdtxSJsYD6PiYtKpsc6k=; b=HEcrx86ma5UNLz+2alvLxY9/Y4IY3Vp0LqNhOWSKvjkGSKxvbBilbi3MN3Z91I1oMH 3F96gNxPjAWcpU+jVFHKQvvPasccmZqrp1LRXlNgobALNB6v9butyd8sckO405191W29 4avp8eO83Yp0TKkLJDIcha3J/Fpfl2m/dVYzPeGKAc7iJ+6mjiFT6M8Z90ri6dTysKgO VH57ZAhukCoPzYcAnyF3kKC5mXPnkttZrPvrcNTMjMQtFD1HXhTVRkQlRl1PpbJyfYJT YkPZ5x7Kp+sPLm6DbknTP3/aZuM966E5Ma+CnHmVGcuWX0kVApOS+pUKZW6hh0MUuhNq avsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lSq4S3+I; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy11si4992025ejb.175.2021.03.12.13.25.08; Fri, 12 Mar 2021 13:25:32 -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=@chromium.org header.s=google header.b=lSq4S3+I; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235220AbhCLVXt (ORCPT + 99 others); Fri, 12 Mar 2021 16:23:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235222AbhCLVXq (ORCPT ); Fri, 12 Mar 2021 16:23:46 -0500 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE6DCC061761 for ; Fri, 12 Mar 2021 13:23:46 -0800 (PST) Received: by mail-il1-x133.google.com with SMTP id i18so3836679ilq.13 for ; Fri, 12 Mar 2021 13:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=m4dUhRPgwvR6514Yqwy95xcRdtxSJsYD6PiYtKpsc6k=; b=lSq4S3+IwqMbfHhfNyqK4OtaSKgVhsQ1SAfZ6ThWxskkCfec5K85zfC9e8Pngrog/l SMt6UPt7oFTMDT444LkDL/ybE4h5DB7D9FD1GsXgAXhGMF5z9PZUu7d07UWhP6L/aymf medNVfjqDIBiC543XfHpDWgmJhtswlTr10Yas= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m4dUhRPgwvR6514Yqwy95xcRdtxSJsYD6PiYtKpsc6k=; b=PKHZFdzJ0H/tp8EuhTmCdJ3c7Po/jTmY9cr28h9PTLGeBt7VFfRuz+d5CHkhM3HJj7 igL3fZ6v6ZR7hNs5gzFTcfJu5AlTAW9eO987Cih1px/88toIjkpEBlvHxg8gymJ0dRnS YIdGVzib1Omp0J1D5NDji95kbtxMe8Ufnc5Fwk+3MzfVIyQl5PXyyDpLD6wSDUG+KMNA u7N95wzyd2GWhNbGTfDMjtt5Ivv8r6XyDqArewc6CpcjPzysFNNNQwT+aB/9kxGtoVE+ E4wB4iooWtg+tj8PLTFhzt7ZdZIt6cJaJ3u0fT4mz4W+WKMiyUf193ESsasumdWi3WEY B7iw== X-Gm-Message-State: AOAM531o6y2hR/QAfWt8vgac5OTJddqyN+eJDl+9IlgfjyR5bmm8i4Pa 3pD1BpqtTobydXH+AQmlrn97wE11nGAp4DbihzAQLQ== X-Received: by 2002:a92:d5d2:: with SMTP id d18mr3927676ilq.50.1615584226260; Fri, 12 Mar 2021 13:23:46 -0800 (PST) MIME-Version: 1.0 References: <20210211024601.1963379-1-swboyd@chromium.org> <20210211024601.1963379-4-swboyd@chromium.org> <20210214124809.4abfa363@archlinux> <161333519805.1254594.18000613822693540497@swboyd.mtv.corp.google.com> <20210221155314.56f55e85@archlinux> In-Reply-To: <20210221155314.56f55e85@archlinux> From: Gwendal Grignou Date: Fri, 12 Mar 2021 13:23:35 -0800 Message-ID: Subject: Re: [PATCH v6 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver To: Jonathan Cameron Cc: Stephen Boyd , linux-kernel , linux-iio , Dmitry Torokhov , Benson Leung , Guenter Roeck , Douglas Anderson , Enric Balletbo i Serra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 21, 2021 at 7:53 AM Jonathan Cameron wrote: > > 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. It will work as is. Reviewed-by: Gwendal Grignou > > Thanks, > > Jonathan > >