Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14448145pxu; Tue, 5 Jan 2021 01:38:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6BYc6JkziF7T5tttL7TuowWdG5WafZVcRD1Gm0vRNhs6gVbtjRTZUA1iDwNuhnWxQw2NB X-Received: by 2002:a17:906:fa8b:: with SMTP id lt11mr69687677ejb.94.1609839480475; Tue, 05 Jan 2021 01:38:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609839480; cv=none; d=google.com; s=arc-20160816; b=L/bZnMa1ULFQd1/PpoNfP9lpqQlfZ9ltSGGFWImJJ0LzesTfE7Go3SnT2h5Sic6pph hK8i3w4giL3bgmq05gJCNVW5oZ7jyXH67I34JFsKGCfOnOwGlOt4ufp10VD6PvrMs+6p PJonjLhgJ/ZCgcyIpRSAvQx6+yNV7YdWrHoykznkt7fJDkZ1GXZNzxb26BBg94UGmfZB VJZ/52xaxH/dBaAyIAvkO4MFjfw0cDGV9uxKbLR1c9tldM8XjDp5mpUddN/QWckzg7Ky J1qV/0yhgkN2q8NmAbiKjMIaufnJ2cXyZ+ugF9hA+GbBMtye3vgwUXUYUYcUSLoezu65 XoMw== 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:ironport-sdr :ironport-sdr; bh=iQiaNiQn/MyVG7jeSULoHE7BSnqndy02b0qdbVN6+gs=; b=nexxmw/VCyOcu+dv4y4Gmmem/iCu09M8tslj5d3bjeAO1XpQRzTDsdgoJ5Yvw4yJdj ov+xpAN20k8LT7tcK2hjjl4ecXtHGmdt0WSE9DoBeJVGDS1bQEEeC4dnogyyB3MC0uS7 HXDyg/NXBqrNojIOyHBu+6/6gOsJt+4w1603XJczY8b4GvI0xZMutvjl0ubi7ULM15wp xhmyMMcYGpL5XZFTmnVRYLT5GrKF7uulMFEfPc5W6IARHvV9uWG9xJ8kZRzSFE9Hz2fy c8Phr5kOae4urD3pICdhodXRCJgNAhqhnf6GMA2jDdc2z1yF5ggxCFcbSq288D+1a7Nr Vumg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m8si29986445ejr.206.2021.01.05.01.37.36; Tue, 05 Jan 2021 01:38:00 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728082AbhAEJek (ORCPT + 99 others); Tue, 5 Jan 2021 04:34:40 -0500 Received: from mga17.intel.com ([192.55.52.151]:51517 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728058AbhAEJej (ORCPT ); Tue, 5 Jan 2021 04:34:39 -0500 IronPort-SDR: iIZjQI8lTTWOnFQZ4k0uYher14n+PmsxMavVJ0faCHBI+Qs3Ccg7YjgLOXfxHUMz5Sg384Wr9i dzS1U9N/cetw== X-IronPort-AV: E=McAfee;i="6000,8403,9854"; a="156864057" X-IronPort-AV: E=Sophos;i="5.78,476,1599548400"; d="scan'208";a="156864057" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2021 01:33:58 -0800 IronPort-SDR: ayhnyVIbtcxpWaoh+NV2jXWd2dSblSzETMdRw2UHa5/WbzXcSUVyPVwEBZ0xn0zMMlz7Y5w1ax 0jNC6Ge7Lm9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,476,1599548400"; d="scan'208";a="569665126" Received: from host.sh.intel.com ([10.239.154.115]) by fmsmga005.fm.intel.com with ESMTP; 05 Jan 2021 01:33:57 -0800 From: Ye Xiang To: jikos@kernel.org, jic23@kernel.org, srinivas.pandruvada@linux.intel.com Cc: linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ye Xiang Subject: [PATCH 0/6] Add timestamp channel for hid-sensors Date: Tue, 5 Jan 2021 17:35:09 +0800 Message-Id: <20210105093515.19135-1-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add a timestamp channel for hid sensors, including gravity sensor, gyro sensor, magnetometer sensor, ambient light sensor, inclinometer sensor, and rotation sensor. With this patch series, user can get the time when sensor yield a sample. Ye Xiang (6): iio: hid-sensor-accel-3d: Add timestamp channel for gravity sensor iio: hid-sensor-gyro-3d: Add timestamp channel iio: hid-sensor-als: Add timestamp channel iio: hid-sensor-magn-3d: Add timestamp channel iio: hid-sensor-incl-3d: Add timestamp channel iio: hid-sensor-rotation: Add timestamp channel drivers/iio/accel/hid-sensor-accel-3d.c | 6 ++- drivers/iio/gyro/hid-sensor-gyro-3d.c | 40 +++++++++------- drivers/iio/light/hid-sensor-als.c | 39 ++++++++------- drivers/iio/magnetometer/hid-sensor-magn-3d.c | 48 ++++++++++++------- drivers/iio/orientation/hid-sensor-incl-3d.c | 43 ++++++++++------- drivers/iio/orientation/hid-sensor-rotation.c | 46 ++++++++++-------- 6 files changed, 134 insertions(+), 88 deletions(-) -- 2.17.1