Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2620505ioo; Sat, 28 May 2022 21:06:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5GWg/vn5fbASC0T/0ZnmX0uqM+bB56pJC7UXRcaCfzbCP2mwC9vt5M19/Hk67g6bJP+PG X-Received: by 2002:a17:90a:5886:b0:1dc:6b58:91e with SMTP id j6-20020a17090a588600b001dc6b58091emr16477003pji.176.1653797160859; Sat, 28 May 2022 21:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653797160; cv=none; d=google.com; s=arc-20160816; b=z5WdeobQNyHWWx49lIK+oLGVybiKEyP7fUGlOC/+U05tehKf+icg4FLvP+fFe3WQy2 nyVElJxdBMgD1c0kTT6mOz6Yc354MrPI7MiiyQQ40FXfiPQWzQUITMjvHi9xB1eRMQof RUkW7lDsOAZDClOMBblLUmKrSrLo1HLbollB29lSNWTXWIsKxXT5Jn2925oakJMHWs5B r85T3pC1gBj3sWNsAH2LBVZLj2dZYqqkX4fGoMzToKcA8wDlzKVVLSVtqW4RVcYcI08v vxfk/xQjcBZOOA3Z3CH5YpnoweTgw6dxkWXdzfAcH6TUOIljUaJQIN1iiDelU/0qVBjN DUsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=OFG+5Ru/guQtZ8zj0xxp4wzhZULYpILD025xDdNT3DE=; b=ARN/wAHNO2zZWd1CC+FhP5ra7PdqFAwaGGoCqFE+wIRkDFqBS7F9maHFnt9M1VFs7E w3/nX6rYmagCCUDlveOYMpy0mrDj+U7LXMhApgMrAFqTDdMdV5L0eks+XwOoyadnAHBD qFMBowD+ReLJQqz6ynNqft/f60xygno+g0ZRLZl12bhv+YX6o5HqtGQPSdJ6SolVCUJs RfohrkFKVgxeOwhNbf92JqTFc8PjsntjYqSsPnp4YC+Z+bGs/GHNkpx/VV+Q0GVH50/7 Un33Oc5+GMmhKGk1eOCpk0ZO8huj/2UAehxi4lwWb9PrFc30DkhOMrfz3Yum0gG7e/0C 4+MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YLMHpRk3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g1-20020a056a001a0100b005105d7d18dcsi11933857pfv.64.2022.05.28.21.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 21:06:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YLMHpRk3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9F5B26D1AD; Sat, 28 May 2022 21:02:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230312AbiE2ECB (ORCPT + 99 others); Sun, 29 May 2022 00:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbiE2ECA (ORCPT ); Sun, 29 May 2022 00:02:00 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1A66CF43; Sat, 28 May 2022 21:01:58 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id y1so7735397pfr.6; Sat, 28 May 2022 21:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=OFG+5Ru/guQtZ8zj0xxp4wzhZULYpILD025xDdNT3DE=; b=YLMHpRk3Jrlr2oZnPAvFnWIjwzUzeWc1HdexI3s1WVHnorypnohZlYWGNoSCdlooFy 8n1Rt93jdmmy5AUGrye2yuSCCWVL5DvTK7K739/vv7rfxDQIwOO8llxhPb7mOBRuAcmZ HWxC+6Z2spVfyV5w9OMdJt42LzKunupbhfHO7+Su674mI8GxivnyoLpZTQeUsWYcWGa+ AZerMZCHN1Wo7Fm8edFX2M3bJYK/XJu/aTyXC5xwgRsELipPVthQZQ2diCocnqUo5YZe acByJrYrU4ggt1QyYNa9whrYpDdUsJO4jSJ0X1J9wYhCFaC1HhqHVeAFtMbmBl0IvtV3 YoAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OFG+5Ru/guQtZ8zj0xxp4wzhZULYpILD025xDdNT3DE=; b=48FdkcpG/0p0dcsMqhHWrcnWrcf/YkMcsmb9bJ/pnVAm604NAXBi8DeRzf6QL4f7yq HIb/OFHeL6ktI9kCByG+yqKMOIyb2mlBSrv+vNI10E3IwC2CtaB/4YQlCIU3wM8Bdksw UFCKWwBowcB6kSMoD/VrrIrIVKiK18WvjbM3Me0Ch6RRrRzt+cpwLvdiie45K1S3z3ju G4aGkR9jLJkmOhpNO8LXmjMFhbWBWE21feBIV7AOXPG18Ez6t6CN86r1DwPEUJgf6Q/B xVEA6NJrqI07m36bo5ceE0+lS8/0ru2NQPKgeJ1E/QvrNoAZOHyMoxaXCW/GybibhQIx T+qg== X-Gm-Message-State: AOAM531CnxEPjWQ6ClghaZkEfn+o/DNPeOYfnr2hGl+yG7r7DC3/e/SM f8dz4mpQ6LNKr4R639Hdq20= X-Received: by 2002:a05:6a00:1588:b0:518:8ce2:7753 with SMTP id u8-20020a056a00158800b005188ce27753mr37101136pfk.51.1653796917777; Sat, 28 May 2022 21:01:57 -0700 (PDT) Received: from localhost.localdomain ([115.99.139.145]) by smtp.gmail.com with ESMTPSA id z7-20020a634c07000000b003fbfe88be17sm377581pga.24.2022.05.28.21.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 21:01:57 -0700 (PDT) From: Jagath Jog J To: jic23@kernel.org, andy.shevchenko@gmail.com Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 0/2] iio: Add single and double tap events support Date: Sun, 29 May 2022 09:31:51 +0530 Message-Id: <20220529040153.4878-1-jagathjog1996@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This patch series adds new event type for tap called gesture and direction is used to differentiate single and double tap. This series adds single and double tap support for bma400 accelerometer device driver. Jagath Jog J (2): iio: Add new event type gesture and use direction for single and double tap iio: accel: bma400: Add support for single and double tap events Documentation/ABI/testing/sysfs-bus-iio | 19 +++ drivers/iio/accel/bma400.h | 11 ++ drivers/iio/accel/bma400_core.c | 186 ++++++++++++++++++++++-- drivers/iio/industrialio-event.c | 5 +- include/uapi/linux/iio/types.h | 3 + tools/iio/iio_event_monitor.c | 8 +- 6 files changed, 221 insertions(+), 11 deletions(-) base-commit: c321674386d8d5597831cbf980f566df8c98d4c1 -- 2.17.1