Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp120974pxb; Mon, 7 Feb 2022 07:38:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxavY51Mwv4oEvgsxu6j5s6BeJVGrfa5anUeB5Q+Q51JVY3dPXPDqpyde4Oj1rub5M+kM+j X-Received: by 2002:a17:906:2a91:: with SMTP id l17mr223239eje.245.1644248285292; Mon, 07 Feb 2022 07:38:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644248285; cv=none; d=google.com; s=arc-20160816; b=a6TTid4od3sWwhGB96J+GIIXv4Mnd0M3n7Yo8GddloMqqjtz98/JNqybMueDwygAPM yklz6NeSmDYiQnyPwSRSAUuT7l9+IgtRQC/gNJzFx/1JgI/mU29+bzWmHjOS3Jcg5XJ/ rKdq/jl6PFZf2APon0IfS3hkZMZmmEoMePqhsrKPFXRhw7JMUwUp6KZ+2uB8an2rp44Z lH191rZdqhzL3nZE1RY2DcsGLdoe75v87CT3SipIInuB+YNBOmUKbvJTTHaAJQpA66fT cKuo7cGCfigfa+l5AxRPpbJtiOtgywXojI/eIiNTWp+4GhA5douDb6l7ztSjF2MfZZEs Q8Gw== 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; bh=NDkE7OfvMdOPBsUhgzeXjqwBVoxyVsYA6YtjJQ2qG84=; b=RSoP5pyUaLc1U8gIEdiNJ1E7K6hGo7XJcDHqvy2k1ANf/8kcP8NYNszZ+ggXWEdZ73 IzcjXPo3y6E5y9hI9weoVMkFDwk5wJbZD6IcNQ6/63U2pBSF2AwbeNegXzLdXWCrw2V7 HRX5vaRX/FO4pN10C6aIJor9FrGes2f1ymBN5KwbPVBZgvYyiPcg6OgFhaxLtUm8KQA7 C1GjbCbd0qr2Xup+U2Y+smASWaquJ/ERXlVE4Oq2dS1JXx/lYU5wI1XmXoJfA3dq/vlD 2Ja6cuq5xzO0A5USHgD4SLWCRLyliYOk4+fHL2Dm6BjD+xBeMllM1lnJVkXjANhY2/OC neSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs11si5814914ejc.408.2022.02.07.07.37.40; Mon, 07 Feb 2022 07:38:05 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349823AbiBCOGP (ORCPT + 99 others); Thu, 3 Feb 2022 09:06:15 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:55227 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235115AbiBCOGM (ORCPT ); Thu, 3 Feb 2022 09:06:12 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFcc5-00033q-0z; Thu, 03 Feb 2022 14:57:29 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nFcc4-009xp3-Fo; Thu, 03 Feb 2022 14:57:28 +0100 From: Oleksij Rempel To: William Breathitt Gray Cc: Oleksij Rempel , linux-kernel@vger.kernel.org, Pengutronix Kernel Team , David Jander , Robin van der Gracht , linux-iio@vger.kernel.org, Jonathan Cameron Subject: [PATCH v2 0/2] counter: push event on every pulse Date: Thu, 3 Feb 2022 14:57:25 +0100 Message-Id: <20220203135727.2374052-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org changes v2 - rebase against latest kernel and fix some regressions - add COUNTER_EVENT_CHANGE_OF_STATE event Add support of push even on every pulse. Oleksij Rempel (2): counter: add new COUNTER_EVENT_CHANGE_OF_STATE counter: interrupt-cnt: add counter_push_event() drivers/counter/interrupt-cnt.c | 7 +++++-- include/uapi/linux/counter.h | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) -- 2.30.2