Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3153339pxb; Sat, 6 Feb 2021 23:03:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1b5DwAZ2oUGxOuhxWjwBskS4jEshA7jr0vzgqtiNl+RmgnmMQbbz9ah112587kW8T4sK4 X-Received: by 2002:a17:906:3603:: with SMTP id q3mr7014987ejb.201.1612681403509; Sat, 06 Feb 2021 23:03:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612681403; cv=none; d=google.com; s=arc-20160816; b=oEahvu0M7C2WEXjjXZqLWfIF0UvrDmH3W6CaqreRqN0IdeJkDdEjWdNnps6BaKdzzo c16fB7mHXZSFJFKPSUOhLD4wVOVW7cfPI0fia57+TPR70FkbebluEaSBJP9pmA5Xd/nS ThDk1TKtWF8ktaDx4l8KRpbpMf5i7To6BakHjEgGl94RAqyPpM4FMarpybHu+L4Y79vv cOMyk9bXm1ENEpAQoT1OlweiscO5mD44bCcDcL8a3xdqRkAc7OkB6Fr3qAotcKnDrSgl lRXz40IQ0mA/CtoVpovcAuvd9fyGGjIx26yQapyEioPanPfMNdZ2qulco36Q+PIfMoIZ QVHA== 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=GkwzRa2Tt4tpVHnFB7B7YoU//6qlHRP3bQBCqHHh1Bk=; b=KpnW9s+kxS2U9hcqb0qNcFtaMnTDIFSt0LpzeF4bJ/+hLlKgZ9OlTM+ehDSpaT0j2c 7j75PGucZ7ebxcJLPU5YP/nEUT/P8rr4cD7ys+SvgAOpKoZIdNe9rjrH+A6IPYLZ7Fh6 5szhjZmS6tMukId8haXuHVsFIJ8H6oNlCIb1ONqjAbP9NLJolI/aIS/7Uw+uh9ZbWD9q xuFsBSS0cRi7s4ygbaMeWYac/0auQ9xavY9dRBI2C3cpBqxglIXhDNo5b2E3MinLin3u 6p3Wfr/38hoBm6b6Vfn+kWtNkqef3V54xsspLzNOXboTwD4GH+LwdMNciGWzPsbcWyhC /SLg== 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 g9si194960edy.471.2021.02.06.23.03.00; Sat, 06 Feb 2021 23:03:23 -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 S229587AbhBGHBw (ORCPT + 99 others); Sun, 7 Feb 2021 02:01:52 -0500 Received: from mga11.intel.com ([192.55.52.93]:37921 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbhBGHBR (ORCPT ); Sun, 7 Feb 2021 02:01:17 -0500 IronPort-SDR: ADBC0v9EBCNAILqUA/a/QKzcJofefhrDVP1AxpCVU9i1VjUEwi4swHwwm+Sgml4UGsTEjtIfZ7 pn8K5XV5bDcg== X-IronPort-AV: E=McAfee;i="6000,8403,9887"; a="178080533" X-IronPort-AV: E=Sophos;i="5.81,159,1610438400"; d="scan'208";a="178080533" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2021 23:00:06 -0800 IronPort-SDR: XOcYDw7ciNpumZCa9skWoQTIdNg3j1wXfiJiUGPMssUQ+F1gA+ExFx1FL8Z3SzuBM0i1eFIEb5 xVe3yJ4AUkNA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,159,1610438400"; d="scan'208";a="374982618" Received: from host.sh.intel.com ([10.239.154.115]) by fmsmga008.fm.intel.com with ESMTP; 06 Feb 2021 23:00:05 -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 v2 3/3] iio: Add relative hysteresis in ABI documentation Date: Sun, 7 Feb 2021 15:00:48 +0800 Message-Id: <20210207070048.23935-4-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210207070048.23935-1-xiang.ye@intel.com> References: <20210207070048.23935-1-xiang.ye@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add relative hysteresis in ABI documentation for als sensor. Signed-off-by: Ye Xiang --- Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index d957f5da5c04..0890bd113eea 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1823,3 +1823,12 @@ 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_illuminance_hysteresis_relative +What: /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative +KernelVersion: 5.12 +Contact: linux-iio@vger.kernel.org +Description: + Specify the percent for light sensor relative to the channel + absolute value that a data field should change before an event + is generated. Units are a percentage of the prior reading. -- 2.17.1