Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2888138pxa; Tue, 25 Aug 2020 06:14:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFj7zFU84lnKv5tXMddj1G591KV5IqH0eUg0CK8bmhXxEXJsWit1+qgs++i4mgA48gOdzq X-Received: by 2002:a17:906:b2c3:: with SMTP id cf3mr10994093ejb.387.1598361239982; Tue, 25 Aug 2020 06:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598361239; cv=none; d=google.com; s=arc-20160816; b=UpEQiBUf+shzbX3udv8Yry7v1tNMjFBSqUctFP9nE45khhV73IasAtAZ1RUPVUn3R1 OODuA+J3hB03Rp02ffxdCVgvAf5dLUR9MrJCpIenVxf/jpsDZcxhBo02U2iVUNQr8FTL JgKgU1bt8JOLbjUld6ZhxMMQ2BiMrznqIespA1OFW2zGhfZUvARE7nV9JHO/eQoBmQ5K BTUvq6lemBaebUFZCK89NXdTt/7IkAoESQt/9wWYtT474/oPKv4RALQJfByw51zYy/qD bW8JrpzxAXIgMx5yrRY2tpDJDgH91Nby4UEbUIFYweNKXqEO3CMnCaRROwn6Kg3lsKsP Zukw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Tm5BZU7E80L7QCy6SXNATG1Gat1yh7ptVqD6ebMDZV0=; b=jtTki7Ese8nGIh3idulS5kMiGRo9HhtWnVCrQJo+rUMt+JhTwIZ4cyuIT1i5qTl6G8 I5BmeYpjNMiCX22jES6cSiawRdIzO3wSoMPSDrce1/vTcalVRN63b3h8Q4kp3uhYV9Vi QQPLFzZjBadV6jUK2xRAtaA93qX4q+GGHnlXmLNIzpevCU9Jzo5Y1UxgpXPWnSkGYtHR m2YzaU6R4PbvB2rPYcNZNsNWW/no2ziDhtAiTZVVWrgux/Gy321lBGvEimO9AgSd/Xmj IjejWrDc6chRg3mwqXSG8hp9NbMDhbsFXEYiJ7rmFoNmdZaX94MiApHZTtVN5w5dGAdK lysA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I7ynOoI2; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si8900587edq.338.2020.08.25.06.13.36; Tue, 25 Aug 2020 06:13:59 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=I7ynOoI2; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728120AbgHYMrd (ORCPT + 99 others); Tue, 25 Aug 2020 08:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726551AbgHYMr1 (ORCPT ); Tue, 25 Aug 2020 08:47:27 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EF54C061574; Tue, 25 Aug 2020 05:47:27 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id q1so1191319pjd.1; Tue, 25 Aug 2020 05:47:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tm5BZU7E80L7QCy6SXNATG1Gat1yh7ptVqD6ebMDZV0=; b=I7ynOoI28qulQvQTMeRLoKrD6ChW8o+L9Uk8/AUsaM5+T06OiaQXJ5GaGHSIOFYLmp e8gpz1OOYGcbgQgvoIf48FCm+NTzQACXLSTtdQ/Et1kHFdCjqIEqUbrScZXaNJr05XaE KikbgN6bc4jx+i5NOs18ule41RFlvifIk/gb9oPgZHklC1JOGj0kL/0xBV8AuCPpfFnK HbbIHae3i5FneiEu+xytTkho85gWuew2OoP8hHyd4aR3e1b+DZYjbLRIR5BnS/ZBigei 79IJyLnG526RRMhf4pwuxUGX1iAFMiSIJeaM8UtbvX0s2T1p7BOiJNq7E2uCJdkQpKid qf/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Tm5BZU7E80L7QCy6SXNATG1Gat1yh7ptVqD6ebMDZV0=; b=TkMH9KQhDKvT9tSF2qUFGB/FG8MJAWiPRbEod3DO8lyZrGhxvu+vg3PYowdPNdVVw3 sj1fKInk9hRc+Aredm+gt6qCSStwy5QEmN/3sDTROzLZ1hQV6IKLTbi7jYF/J8qsX2U4 xMTmr3sOdwLUYeHy0fe7C1a0ivjXE5agThiDmT63atpmCEbdj+x4ZmuPEag5C9eINnt7 fFO1udH6a0JDq2fSzm7cvRmdGNei2QK1vcAmTBTl09F97zgxuTHW3K+fuouNRSyUE6l7 TIZkccfxOWs7rstvq7aCquvUfzXZ+3agaQGJeJfDNF0rGDWMv4VIubdNTAuJpGGzuNFk oDNw== X-Gm-Message-State: AOAM5329j34AXO6CfS6UDv8xYF7M71dUqy7ATroq67iuUX36pocUh/5m tX1MlXn4XTCVgrrfz1kDqq1LwEZw6GQ= X-Received: by 2002:a17:90b:a45:: with SMTP id gw5mr1473885pjb.80.1598359646759; Tue, 25 Aug 2020 05:47:26 -0700 (PDT) Received: from nish-HP-Pavilion ([2409:4072:619:dc6c:a526:a3b6:4686:f6fb]) by smtp.gmail.com with ESMTPSA id m7sm10864490pfm.31.2020.08.25.05.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 05:47:26 -0700 (PDT) From: Nishant Malpani To: jic23@kernel.org, robh+dt@kernel.org Cc: dragos.bogdan@analog.com, darius.berghe@analog.com, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Nishant Malpani Subject: [PATCH 0/3] iio: gyro: adxrs290: Add triggered buffer & debugfs support Date: Tue, 25 Aug 2020 18:17:08 +0530 Message-Id: <20200825124711.11455-1-nish.malpani25@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface. The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture. Nishant Malpani (3): iio: gyro: adxrs290: Add triggered buffer support dt-bindings: iio: gyro: adxrs290: Add required interrupts property iio: gyro: adxrs290: Add debugfs register access support .../bindings/iio/gyroscope/adi,adxrs290.yaml | 8 + drivers/iio/gyro/Kconfig | 2 + drivers/iio/gyro/adxrs290.c | 291 +++++++++++++++++- 3 files changed, 287 insertions(+), 14 deletions(-) -- 2.20.1