Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3113895pxu; Mon, 14 Dec 2020 21:47:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhdo8Ovtn9ILYBlclRdiYADe5+aOXyGNxwJx12XL23A72yenX+fUcxld+TaJC4O3BvL8Q+ X-Received: by 2002:a17:906:5912:: with SMTP id h18mr4290377ejq.261.1608011279574; Mon, 14 Dec 2020 21:47:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608011279; cv=none; d=google.com; s=arc-20160816; b=yz5NgsfIPlU9iJThYf7ypJOl73Mx6+59XmvVrjeGCHjOaPf+NzekbN1sy6XhsNoFHe HAvpQwps4by61OTlOF6/NdrJ7VEm7mXXVpyYnSpBKvfpZ1XJ8Qm3iombQIAs9tzVDVrp Vl/elgClBqvFBFpcihaF+ea+fzjmWA0LdEnZEF3ynzpKnswD+pIPud00cNaRxTARG7Nd /hDRvfAWVcyFA4kzhguRKEHL4Gd85069aqAjNO+X6/4Tma8D5MiPS2FcKE3ORcxiI1Yl HhVAibM+GU01yGWAv9W3invALw8cmgtRl7wkRJZTps9ZcJqqTT9R5kSKdX8aBhLXq0hG V28g== 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=oNBSimkD/RDPikcPXU3rgW0SGSUdDRlvwocawZ0GBXA=; b=Rx4KX8cRtXoaPoETvRqGYuQ8+lioCS7fkDSZ4CRg5gFtAqFvDaQqAw6NgG9IqOzsCC +pXbpEGAyTYkCGhK1NxpO3dBbgF5xLaRFjtPE2pX+QVyhIaQTUy4qauYpdrIDO6vPQ57 QyHVzaV8Kzt0kXvym3ToKI69BtUD4G6c/kMEWtIE85Tajk275I3eKDJ2Rq4lNB6rATQe LzZ/T81WCpdntGPp4lMaFK+YFSN51DV3UKxmY1uG71GV7co8UyNzkIWTAnkgUoCwH00F yABW1fhL+4xGFeANYIyLpyGOBUcE8aqrFe6VMcKd7BklsOT4E8U0xdSunCndWozDSYnO 2r2g== 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 l11si401419ejx.183.2020.12.14.21.47.37; Mon, 14 Dec 2020 21:47:59 -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 S1726548AbgLOFp0 (ORCPT + 99 others); Tue, 15 Dec 2020 00:45:26 -0500 Received: from mga18.intel.com ([134.134.136.126]:57027 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726455AbgLOFpI (ORCPT ); Tue, 15 Dec 2020 00:45:08 -0500 IronPort-SDR: 8sSUJL44ZN4IpVaJbayI3/8x6LXNkFHNhUpJZJcopSG6bQgqTJHRF94+kcW72hNV14pwWEEq0M MDT3+J0c23Pg== X-IronPort-AV: E=McAfee;i="6000,8403,9835"; a="162576872" X-IronPort-AV: E=Sophos;i="5.78,420,1599548400"; d="scan'208";a="162576872" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2020 21:43:48 -0800 IronPort-SDR: P15/LseWliFRAsFWwvVkv+igRmbMS0t+FKp5XnIUewP+PCT8b9h0MyYUP+oRO7YgNOEEJ/EoE0 HXaPbOYqgLAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,420,1599548400"; d="scan'208";a="351719754" Received: from host.sh.intel.com ([10.239.154.115]) by orsmga002.jf.intel.com with ESMTP; 14 Dec 2020 21:43:46 -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 v4 3/3] iio:Documentation: Add documentation for hinge sensor channels Date: Tue, 15 Dec 2020 13:44:44 +0800 Message-Id: <20201215054444.9324-4-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201215054444.9324-1-xiang.ye@intel.com> References: <20201215054444.9324-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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index df42bed09f25..5c0a84c50d43 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -198,6 +198,7 @@ Description: Units after application of scale and offset are m/s^2. What: /sys/bus/iio/devices/iio:deviceX/in_angl_raw +What: /sys/bus/iio/devices/iio:deviceX/in_anglY_raw KernelVersion: 4.17 Contact: linux-iio@vger.kernel.org Description: @@ -1802,3 +1803,13 @@ 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_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