Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2822843pxb; Sat, 6 Feb 2021 08:52:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLhwcbw0aozqak8ympwlCjU3PWPOZ6SzOUxLjleHcPdasVIY9Cck1XL4S9FBHGckSqVJUA X-Received: by 2002:a05:6402:17aa:: with SMTP id j10mr9199547edy.184.1612630346851; Sat, 06 Feb 2021 08:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612630346; cv=none; d=google.com; s=arc-20160816; b=VnSSi6imS/jF4Q3GUS/2wXb6gGCCQxJwAsp/0qjkmOsSmqgjdX5RNLMswAY0fmoOAs 3OsPrvTuwB4bRX/ITYCKjq62Fu2L/pC9XlHnw+kB7QsY7ZjFTAPxVuGaRK5OytLg5/Dr DonYSOBQmT5TR4lst95qbn7E04Wd7rJE2j1LpbgqQaWQaIlwj8i4geE343WfbMtujyQ3 0rFOCbcpIFCbZ4LqbRcWg/MynyvpGprB0gGr54JOze/q5n35sx70agN0J/L/X9GguOye z60ngeoqrKgWK3XVkQ/r1OR0TvugwS3xofakooL1R0YfKlqCELWk3vv6wKsZUfEXaop6 Hz4g== 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=XJv6qxJaAGaAg4UkFbK0YgTV2Nzove/5ifWAjVQ7N3o=; b=zt91S90KMmXu12zwaH0DDdkReWKlaNydd46teZbeHVSvnVkuMR48QzQqN0qKAVPE8c Q0LvkGcZApc0c6e0NCJAkyfewfcdNyfP9FXEysOgt0w3nv+VtVaZ8aNyyshFsUgiyjrA vk3pwgcsje4V5/JNwkjKwWa1RNUAGXZAXLyzaztMi//SzsWOaZTolWvy/70nUYMi6Jd9 vn7sRmx3iIr45hmQ+30ee0bbkoEm7wyfw3jQnpwrxLXGkX44J/0Cnkx5U2D5UWFN6cSF zZ3LuWBwFD5SCSBIV1PifZuT1B8RlpmoHpdPxwK9Xd7JQAjlNspH3YYfe45nJniApguf lKfw== 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 e18si8738221edz.446.2021.02.06.08.52.01; Sat, 06 Feb 2021 08:52:26 -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 S230368AbhBFQrn (ORCPT + 99 others); Sat, 6 Feb 2021 11:47:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:54930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230184AbhBFQrT (ORCPT ); Sat, 6 Feb 2021 11:47:19 -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 F3B9B64E81; Sat, 6 Feb 2021 16:46:37 +0000 (UTC) Date: Sat, 6 Feb 2021 16:46:34 +0000 From: Jonathan Cameron To: Ye Xiang Cc: jikos@kernel.org, srinivas.pandruvada@linux.intel.com, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] iio: Add relative hysteresis in ABI documentation Message-ID: <20210206164634.1e7fa0c4@archlinux> In-Reply-To: <20210201074358.18435-4-xiang.ye@intel.com> References: <20210201074358.18435-1-xiang.ye@intel.com> <20210201074358.18435-4-xiang.ye@intel.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; 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 Mon, 1 Feb 2021 15:43:58 +0800 Ye Xiang wrote: > Add relative hysteresis in ABI documentation. > > Signed-off-by: Ye Xiang > --- > Documentation/ABI/testing/sysfs-bus-iio | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > index d957f5da5c04..1c51db7eb8ef 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -1823,3 +1823,11 @@ Description: > hinge, keyboard, screen. It means the three channels > each correspond respectively to hinge angle, keyboard angle, > and screen angle. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_Y_hysteresis_relative I'm rather undecided on whether a generic catch all for sensor types here makes sense. Given we aren't currently applying it to too many devices, I think I'd prefer we documented this for the particular entries we are adding as that is the approach that we've taken for the majority of the rest of the main ABI doc. Note that tidying this doc up has been something I've wanted to look at doing for a while, so it's possible I'll revisit this decision at that time. Otherwise, this looks good. Thanks, Jonathan > +KernelVersion: 5.12 > +Contact: linux-iio@vger.kernel.org > +Description: > + Specify the percent relative to the current sensor channel > + Y absolute value that a data field should change before an event > + is generated. Units are a percentage of the prior reading.