Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp203395pxu; Wed, 2 Dec 2020 19:57:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJx42kfO8jSY99n5xPD0HgmuOm3FwkcngzZfFQQrGkCkNtOLYkgOXYoa1wLTa/6UoTGrSq6s X-Received: by 2002:a50:e84d:: with SMTP id k13mr1110848edn.154.1606967837958; Wed, 02 Dec 2020 19:57:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606967837; cv=none; d=google.com; s=arc-20160816; b=Gi08paRJ2z3KfAyNSZSCvIVdY9wtKaYpnwFTqVOhWRzYCfsu39efzfV8DQiWLzgAoU P1vEkFmJdEzcdVbklW0a+eIQj+nX+gg5aNXawnmDPs/t9fFSTBT90jtV0A2I+5M45fN8 clbsmBWUnCfOCfl5DNzuL563nsFYrRJsGgObG+dyLW1S4+tSdTI8gvS0mlFln+Cx7Z05 C8T8xDBMiJQwsZILWx+In6GnrcKSfeexRzOyaF3RzmUxy8nlW7dq7PwitXM7YDPWnZX0 YnDUz/i6ckbSHmlBsPDx6wVnzZnoPWSzHfRQhCXH2+DSgcMnBxZXT3UqL+Mve8nBCcFf jEag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=JuFj1yEnIIRXgNQoRF1uGoIWR9b94XUHKRwouRui7H0=; b=xc0WvyJP+bFnNbIe5ry7PtiA/ZIRjU0aqSgz8Imn5DswHCwFKtthxlxpIpQnTmWGel Tqof0uj+WjjVQDAEpYxgir1ibl0X86+ELi8WnXnNYyrAzkECX1Mb76FVVwXeTujnZUj7 OwIDmsahFH0XWKrRi1/4i7Kqm8p7DzRLvroZjOlLu6Zb9ccp7loMvlxC9TjdciOWDpx8 mPnzNYenT0baMX6g8BVUOfr0MwR/TUqnz8vp66E4QMPeBolbjvlK1u1s8pYiB7zChuhh iPmLFmWwl+Wme1+taOkqHZewUYN54T4yJFHNyrMDY2gdsKzwHh4cCpgerxT8h7MbAqPO dKPg== 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 hp31si419337ejc.313.2020.12.02.19.56.42; Wed, 02 Dec 2020 19:57:17 -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 S1729794AbgLCDxs (ORCPT + 99 others); Wed, 2 Dec 2020 22:53:48 -0500 Received: from mga05.intel.com ([192.55.52.43]:12273 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729786AbgLCDxs (ORCPT ); Wed, 2 Dec 2020 22:53:48 -0500 IronPort-SDR: uHb9Z2dGUJ1XpE0c6TLwsVGDAotEVMV93x+mYxVSZLwh+ny2RLe8LI9ysRbDNmmvoubFVL3G0h k67Mhn0LLfPw== X-IronPort-AV: E=McAfee;i="6000,8403,9823"; a="257842983" X-IronPort-AV: E=Sophos;i="5.78,388,1599548400"; d="scan'208";a="257842983" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 19:53:00 -0800 IronPort-SDR: kXyaVDt87+FhP8zEByxdlBhpLt8jBFyX4njEf+YzGRl3HvHyVvWWE1qf9gHW0xbr1EGOh2j5Qu 67IJsusLKL+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,388,1599548400"; d="scan'208";a="550330044" Received: from host.sh.intel.com ([10.239.154.115]) by orsmga005.jf.intel.com with ESMTP; 02 Dec 2020 19:52:58 -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 v3 3/3] iio:Documentation: Add documentation for hinge sensor channels Date: Thu, 3 Dec 2020 11:53:52 +0800 Message-Id: <20201203035352.13918-4-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201203035352.13918-1-xiang.ye@intel.com> References: <20201203035352.13918-1-xiang.ye@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add channel description for hinge sensor, including channel label attribute and raw data description. Signed-off-by: Ye Xiang --- Documentation/ABI/testing/sysfs-bus-iio | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index df42bed09f25..82303b1bdff0 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1802,3 +1802,20 @@ Contact: linux-iio@vger.kernel.org Description: Unscaled light intensity according to CIE 1931/DIN 5033 color space. Units after application of scale are nano nanowatts per square meter. + +What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw +KernelVersion: 5.12 +Contact: linux-iio@vger.kernel.org +Description: + Angle of rotation for channel Y. Units after application of scale + and offset are radians. + +What: /sys/bus/iio/devices/iio:deviceX/in_anglY_label +KernelVersion: 5.12 +Contact: linux-iio@vger.kernel.org +Description: + Optional symbolic label for channel Y. + For Intel hid hinge sensor, the label values are: + hinge, keyboard, screen. It means the three channels + each correspond respectively to hinge angle, keyboard angle, + and screen angle. -- 2.17.1