From patchwork Thu Feb 3 13:57:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12734173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8D8CC4332F for ; Thu, 3 Feb 2022 14:06:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350982AbiBCOGO (ORCPT ); Thu, 3 Feb 2022 09:06:14 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:48269 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349111AbiBCOGN (ORCPT ); Thu, 3 Feb 2022 09:06:13 -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 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-iio@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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(-)