Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp300069pxu; Fri, 4 Dec 2020 03:43:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAqN93mkgKKNANlYPU7Ykqmh/kWkFLwG/ksRa3EkL9Y7lJBO+H4QigGdZdWPKsFz65M6Fx X-Received: by 2002:a05:6402:21c7:: with SMTP id bi7mr7380988edb.54.1607082227942; Fri, 04 Dec 2020 03:43:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607082227; cv=none; d=google.com; s=arc-20160816; b=JUnXZBBn05pjnX7LdQFQnpMSAm9wi42TE/CVyCmQT/LcKh4z1qCXTkB3r8lHRelTlC 5S68qemIwwWp4z2peGXQTKMTX9t+A+eKHpHRJkPaK/EVHnpG6JIpniEXJVMxqPxly6yj XPbn0bp1I+Kf6tjW3Njs3jVlgPSPPsG4AL4XgyoxBrMeoTmIx2RrQUo/NCS1ms6H6r0U +5ckE6Op/u7KSQq2LNK8k0LrS9hK9drGnX41jW6TJOAKkRrXQaj1+euqRMpLLoG+Sms3 pQvFcce3FfcpAPPFHHUmeAVuLwH6ZvASpLphVACGrdYyFa3t5+FZEPIBnBpX6z6A7gsE 5fJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=9I3wG/18VfAE/WhPMrcDkz/4m0MAvxcvl7kqp0YwAUw=; b=pNhWYzyxH6N5zeR6RfJAFX0GdymNxFuDVPj1lM9pHi0zLqBYyviHnHskdS424IxDDu n8cZfbLpHzS8+qXRTzDcHdR/DflkeU2wKhx8EsSzPfla83arH2fXisKcfsriYWLp4Cfb 4hGsc5x4MXZ8iWCWj/8wCngAGFPYboYJMhle+6T2U++YViefbHP+QI3gJTi5QlFSDPXW qcat5x0QMb7hVPRQcgG7oQAaZO8gef6gy2iSo/IsUrNU0aSGeNx8M5Ul8TGxJI0J8GWZ gJRoN6pb6NxENUIo/4haME0KWPlOZUPDdQPCQG11AUrymMJ3BBseLghQF8aZsxqmDuFt 8/zg== 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 y9si1203114eju.43.2020.12.04.03.43.25; Fri, 04 Dec 2020 03:43:47 -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 S1729947AbgLDLl6 (ORCPT + 99 others); Fri, 4 Dec 2020 06:41:58 -0500 Received: from mga01.intel.com ([192.55.52.88]:27217 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgLDLl6 (ORCPT ); Fri, 4 Dec 2020 06:41:58 -0500 IronPort-SDR: Gil9a8zw0EodT2TjaKTXtR4XsfQx9G9/KD4HZnMoYt0YcjHg+BViQ/85DWghwlgG13xP/eIM3I u5RNd8M2Ub2Q== X-IronPort-AV: E=McAfee;i="6000,8403,9824"; a="191607328" X-IronPort-AV: E=Sophos;i="5.78,392,1599548400"; d="scan'208";a="191607328" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2020 03:40:17 -0800 IronPort-SDR: hvFpjHzre32ZyHJQrj1nMCwJiqqvOsRhSxgm9AXawjDt08lvzwXNy7ZqjQGthIchTlPh2DnDF2 9xCYmTVaoekQ== X-IronPort-AV: E=Sophos;i="5.78,392,1599548400"; d="scan'208";a="550920796" Received: from spandruv-mobl.amr.corp.intel.com ([10.254.181.204]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2020 03:40:16 -0800 Message-ID: <697be63c1500a4ad80651a8182e56ce4271693c1.camel@linux.intel.com> Subject: Re: [PATCH v3 3/3] iio:Documentation: Add documentation for hinge sensor channels From: Srinivas Pandruvada To: Ye Xiang , jikos@kernel.org, jic23@kernel.org Cc: linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 04 Dec 2020 03:40:15 -0800 In-Reply-To: <20201203035352.13918-4-xiang.ye@intel.com> References: <20201203035352.13918-1-xiang.ye@intel.com> <20201203035352.13918-4-xiang.ye@intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-12-03 at 11:53 +0800, Ye Xiang wrote: > 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 Channel "Y" doesn't sound to be a variable. Why not just say "*" Thanks, Srinivas > +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.