Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp570784imw; Mon, 4 Jul 2022 15:17:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t/UdSHF/2mkd74+0LgG/kbWEFu9ZRAtlxt4vQT62fjOO6FCVt59xW7X9JwML1gO27WsYsY X-Received: by 2002:a17:906:a0cf:b0:726:cbdd:466b with SMTP id bh15-20020a170906a0cf00b00726cbdd466bmr29926634ejb.410.1656973037228; Mon, 04 Jul 2022 15:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656973037; cv=none; d=google.com; s=arc-20160816; b=IcCie3NRe6TMy3yvDsuVTCYzF6RRIwI1ZEtyF9otWuoa2w7FCVYDXaDq6cyfGohVNr F4te4tOoXgO1nNHBSlWZsD0WTPjliLEFDp2788+hbUnmsRPJBubo7it5FN3Skd8pfS1S t1dmTSi+NX6Rnh0P6FMcsK1JUQBthHNeQVx145YENP/B8jxW3yWsnRbLmcz9CE4S+UWP DeWmInMsoePNiLQO7KyznqlPDrg686Up4tE3KqcvZzctBeZ94RL7AIK8r2IQLg9UqE6t DPJGPVqhYM9B25GP2bAOAbS8JzPnts/iUNG4tqDUHvqn+wK8KWHHkioOwdHqQ2EXzXsu 5M+A== 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=aX4msgN1b6B4E4WJ19/77nMyu3z3AuscBwv+NzJVFAs=; b=Obn/EaCg+OHKXKg62k/AVXyyNs13rr08yWuS1hYUyib0PIstyS4wt5T9KkHyoBXDsG R+dQdrY2ZHbgr6SnVlTx2PTdR/7BAr9iIC9CzXLtaLyo155YyxiXlY1/nSL4FyIePZ4w kAjY9QM/hXh9PU0xOLQ2RCURJEcubluiMbXXZDeBHmh/IISklh+Py98S8dpYhdTQr/AY ITlDr10ZUHLLRjhOIyaIOWGfdwRpbp7AbjGX1ff+ebSMvg8As+EysnnELP7mdvW7NvNr O9YQpJXzk3UiKIICVl7Oh6ICmooL43m/+jIrvLErpiJLb6kVgF/hKKHfJHdMEf6e5rXn cUpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pxocR5fc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a17090699c400b0072ab06a116dsi9676336ejn.640.2022.07.04.15.16.51; Mon, 04 Jul 2022 15:17:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pxocR5fc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbiGDV6S (ORCPT + 99 others); Mon, 4 Jul 2022 17:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232178AbiGDV6Q (ORCPT ); Mon, 4 Jul 2022 17:58:16 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7712312624; Mon, 4 Jul 2022 14:58:15 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id b85so5540213yba.8; Mon, 04 Jul 2022 14:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aX4msgN1b6B4E4WJ19/77nMyu3z3AuscBwv+NzJVFAs=; b=pxocR5fcb/eN8OBfibNhCE8C51JiWomfEbeMlgefujdpH5XNv6i9nU0YoDEPq+UmL+ uwkb/0qFuGEQgkyQXb95m/T19xiLxZd5QK6/hFOLb1x3ezQJXo/l/71CEm71s0dn87PT 05vb4dU5Z4msXQJ0ojRC6NYCh8H7UjFgurCeYziZ+4S/reeW7HXxxJqan4y7yzuixbgx lkbGdra3NXvtrZvxuP24Q/SjzrcNjK0ve+oP2IBeB0Gy/CzVjWYE//KzJYhqqGBDvrkg B9mdZ8UqRgnAtNn6DGXAcD6Ydsa0xiLGn+5G6Zh3PAOWosT7wkqEiuihEfQ5DDm2ONRx SlDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aX4msgN1b6B4E4WJ19/77nMyu3z3AuscBwv+NzJVFAs=; b=q0j5LJzUFoXtu3CGx7pd5rPTuLBcgi/r7cRls48yMBztttuwSZu500B64/vLT6g86a 7U9fSS9gjMYQI1lcv0SWl0CBcQcQOw7a2PHPbZGPtBCtjL6qwxyjlYgeimg3SyGLNf3r gYfJM0eraFNegwBcjhLDRrXglbYeRQOreP0D7UKh/Nx2VVdLcbuwg93Fmb4hanQJ+kso 8h7viPs1h9BjhEZJKz/sj1wLZDARxHnM72d1IiXxaC06f8/ENKR5qfO5xArd1juUwbu9 vaetPhnbz891cFhwS/gPuvWpZUgzmsutadfj0X4Z0EikGmmZxh+BwYFA5rhvN7XLzUOY O3Ig== X-Gm-Message-State: AJIora8RbcaeMRbeBxEB3g8aA7//c2tiagcnwIiLxkcGExRs7dfBcNuE rtLBrlD+2LmVKfX2xjYJPavbUx3GExHszvJTvpnqDyiFhhisUA== X-Received: by 2002:a05:6902:686:b0:66e:627f:4d29 with SMTP id i6-20020a056902068600b0066e627f4d29mr3662717ybt.385.1656971894641; Mon, 04 Jul 2022 14:58:14 -0700 (PDT) MIME-Version: 1.0 References: <20220704172116.195841-1-marcus.folkesson@gmail.com> <20220704172116.195841-7-marcus.folkesson@gmail.com> In-Reply-To: <20220704172116.195841-7-marcus.folkesson@gmail.com> From: Andy Shevchenko Date: Mon, 4 Jul 2022 23:57:37 +0200 Message-ID: Subject: Re: [PATCH v3 6/9] iio: adc: mcp3911: add support for interrupts To: Marcus Folkesson Cc: Kent Gustavsson , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-iio , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 4, 2022 at 7:21 PM Marcus Folkesson wrote: > > Make it possible to read values upon interrupts. > Configure Data Ready Signal Output Pin to either HiZ or push-pull and > use it as interrupt source. ... > + /* > + * The device generates interrupts as long as it is powered up. > + * Some platforms might not allow the option to power it down so > + * don't enable the interrupt to avoid extra load on the system Missed period. > + */ -- With Best Regards, Andy Shevchenko