Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1324556pxu; Sat, 5 Dec 2020 11:38:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaNT5DvTnIvUvMfhOyexTLn9j5sNq+1QqEy2W+sZCszItCd02GtlmN2GnygdLxBNlh10l+ X-Received: by 2002:a17:906:7e0b:: with SMTP id e11mr7538624ejr.533.1607197098993; Sat, 05 Dec 2020 11:38:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607197098; cv=none; d=google.com; s=arc-20160816; b=IWC4ue2Gn8ZTkxfstQ0e7GceAUq2GX01rKLWEUo0PxkadaIbhrACHuPkNy7doXdSiX RVHLoiC1TKs3IUVs7wiIKPrxQ1moI7mWDWkorr/Zy3bE0itTK8KurjYQF6LPzdbaMLlH SgmNn773APXDiaS4c/t59vh9rU9ubAV/5WBvnux5jjMgzWG2bACCTd70jR5zZDGnGFGQ qiAcxU1cv5tjUeueQJWK/gc151Pj/qDCk0RoPRhIXcxKj8mEdI3HGfTpzAfKKKDkVZG5 8ML4yVtgWgGWf/ju+D1xy6av6CJvY0HvqShS4vJyRFdH2TDkQ5GHp/f8oQtWsRj+vUMD yv/A== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=WfnWvdBJMhiKfR0AxirfrFWIPcLJPEq0FQgwC36brwc=; b=CMOyjC9O0xk3wIL7fsxokIq9tgyNOwH/jgbXzehn9pueWO4i2ktTL9WzsVO0wYVWO8 2QVpv1wP0NLlGtQdJjOmnQWKMWTUzItjs1ZjTQMTS3njnQ2Jc+hX3MGV/XQ4QH3biFNe uUrDCPDUGLV7xzzqyvLckcgKqG1U+ZcbunuCFh35gGfQIOrf1cxR7Q5Ngcb9lMGTaqV9 73+zmsWV8Y6SvYATEKDCxEtMH3yxq/JCC8lzc4GRLvfRSTSgb6L8ITGGnBRVVydaEYXq dE2oqhpxNQH7u/1RYrp5aZTCT849mcyKjz7N7wgk4DL+94tWxx9FBVC4t0Dv4MI74079 PDZw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga18si912825ejc.66.2020.12.05.11.37.56; Sat, 05 Dec 2020 11:38:18 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726122AbgLETe0 (ORCPT + 99 others); Sat, 5 Dec 2020 14:34:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:56408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgLETeZ (ORCPT ); Sat, 5 Dec 2020 14:34:25 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EAF4623133; Sat, 5 Dec 2020 15:52:35 +0000 (UTC) Date: Sat, 5 Dec 2020 15:52:32 +0000 From: Jonathan Cameron To: Srinivas Pandruvada Cc: Ye Xiang , jikos@kernel.org, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] iio:Documentation: Add documentation for hinge sensor channels Message-ID: <20201205155232.702ce388@archlinux> In-Reply-To: <697be63c1500a4ad80651a8182e56ce4271693c1.camel@linux.intel.com> References: <20201203035352.13918-1-xiang.ye@intel.com> <20201203035352.13918-4-xiang.ye@intel.com> <697be63c1500a4ad80651a8182e56ce4271693c1.camel@linux.intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 04 Dec 2020 03:40:15 -0800 Srinivas Pandruvada wrote: > 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 "*" Long term convention. More generally you need a way to refer to the individual wild cards. Sometimes there are more than the two we have here. Not entirely sure where the convention comes from but it is used throughout this file and I doubt I invented it. Jonathan > > 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. >