Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3628916pxb; Sun, 31 Jan 2021 23:45:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrOtqs/bUZE/wpmmiHMhmKq3jOqO4nUdxmfc0rmfsuvZUc6heWDDJ01sAwhXqKq538GlNR X-Received: by 2002:a05:6402:c91:: with SMTP id cm17mr8207629edb.219.1612165535698; Sun, 31 Jan 2021 23:45:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612165535; cv=none; d=google.com; s=arc-20160816; b=E6U4qW3aZenCit3JCqvoTgXvRrHAbmKmyj63S9phyAilk4uoKZDE+D28BmIt16o9pW tK1EAYkoCzosc7EAwSqKssN3GMEzQRWlsl3xkIApOsBr1KkBYfC5mcutOEIcFawmtMir fOmWnYyFzW8j/97oAQBIqcChLc7t8qCrkSew5ArHWa6YtVpsIZU0DbajK8Vn2Jscka10 8VifR1LWb3Vt51036uLjj9AFz6apw8dCnnhpZC++bIzgTSX/2U7er+RkPIvJXXCA1Jwh ywa3c0Zt9Xh3s8IBcWIUfEHt9esBzDDNd5AxOjOmFZrZRcM6PmCA5e5IHkJOU9HUe58C xqTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=hwyMdaQ2j0fIav8YqD5n75OkXIh7pgscS3uEl4SX4Xw=; b=N2/WEXlZw6FLEWrFxpmcirjQ7rq8j+VwPQbC3QI9/FkE8mMKD1Y753smvZJoqCKecX SbqwMURhRxefFaEQBu3HNepUHkxCNIhAn/iIbWTh2SGXfWV7AWNWfFOrstu3zwwwRew3 6Ga/qEeK900OpkVji998URyOwUeygp6z4rov2716nfakqEg5btE6Sjh/adqZ/fIIWBbS GmyKH2DbIJ/eZbh5mMTKo2wu/469vkQm/UtBcKAARI2ULSz7HXigmvcFPRaXQTwwV8+d 5NOKQb6JRLyYK1r7OB6HYcLC3i1aRpeZ3j4R1n1FDeRPG9FR4WkDeEFrsehpe2xMI1AK YgBw== 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 g12si1695319edk.115.2021.01.31.23.45.11; Sun, 31 Jan 2021 23:45:35 -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 S231526AbhBAHnq (ORCPT + 99 others); Mon, 1 Feb 2021 02:43:46 -0500 Received: from mga12.intel.com ([192.55.52.136]:46032 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbhBAHnp (ORCPT ); Mon, 1 Feb 2021 02:43:45 -0500 IronPort-SDR: MHrAxa9h54kj45sYnG6kWiQGlPXy2CN2hcXK27NwJ+sIZfkabFTVHVQymr4AxmveHJqY3EUGWq VP8b3nQ+pcVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9881"; a="159813871" X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="159813871" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2021 23:43:04 -0800 IronPort-SDR: jyN6eaTycdkE6MwnOjJbiLa4rneI1rBfuQtlTE2acndDbQeImO1+4QIaO43nsyszutESCRvbxo vdTvXV3ZFPtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="432235766" Received: from host.sh.intel.com ([10.239.154.115]) by orsmga001.jf.intel.com with ESMTP; 31 Jan 2021 23:43:01 -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 0/3] Add relative hysteresis support for hid sensors Date: Mon, 1 Feb 2021 15:43:55 +0800 Message-Id: <20210201074358.18435-1-xiang.ye@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, hid sensor als are using the relative hysteresis. This patch series add the relative hysteresis for hid sensors. Ye Xiang (3): iio: Add relative sensitivity support iio: hid-sensor-als: Add relative hysteresis support iio: Add relative hysteresis in ABI documentation Documentation/ABI/testing/sysfs-bus-iio | 8 ++ .../hid-sensors/hid-sensor-attributes.c | 75 ++++++++++++++++++- drivers/iio/industrialio-core.c | 1 + drivers/iio/light/hid-sensor-als.c | 14 +++- include/linux/hid-sensor-hub.h | 5 ++ include/linux/hid-sensor-ids.h | 1 + include/linux/iio/types.h | 1 + 7 files changed, 99 insertions(+), 6 deletions(-) -- 2.17.1