Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3822437pxj; Mon, 21 Jun 2021 07:22:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfplJk17Xjz2a3jKwYVEbtX7UAUVdGc6xsUBMw3wVoSTcMY93MdDF/LQq4u1t/HkJq3dKp X-Received: by 2002:a05:6638:12c1:: with SMTP id v1mr17342323jas.97.1624285339332; Mon, 21 Jun 2021 07:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624285339; cv=none; d=google.com; s=arc-20160816; b=mz66lM4hArQsJkfCmURQKudkMPe9ne++e+JqSFXLcM8ppuqe3QbFkr0lPiQLhYjrko P/ggGFOCdWqhi1PO7136oBIgzpDDcPpgTsaR730ODlb5lUgb4nw2IIcoEY/0DzaoRNMq FU+L4Nu5ysGe2o80+Ws3dIVXf6k/1ldQxdIt4o5gSXKhqr0EUjQH7qQVu+MCrIBw5yYU HyECgfrT3rZkyzGUgw0fSCBnip9lzIywVnQiEYh7GxlWYRkNAL82Xn8ococuWTQUt8g8 dTjiuC4MXJTDrXgrGBlLRfpgiWTEm6F25NH6J5iue36zNhuxMhEV5bTX+jOTuJXjG3hY GWkg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=PbJSXkM7mIrWaSHTaAZ189pvckXeX4vAkOLMm3HJOJQ=; b=PZUHj0wtm1QVO4lmQtFpA8LABfjP7XChCqdk0kkGOCYoQHWIyFYXJl9UpYYzOXV+Qz Te8TEd9gfZa3TeRxOB1EIKZ2miRUSXGw+53sH8UjQG7ECA+LBI+8+rdJoSAh3ddR8ZKf sE98UYifNz1S3j/0kksu/o7W8XaVhxpcfRPEBcLaskpN0NXIj8vOy+jogzjar58fP5mh roAh+dfNdaphW7ov1Xr1IvhVNiiwVVcBFM2anYetLDyyX9LAra8k+zQEoOZ+ue2B76/M OzChEm8cVyKWvl8vbnLKzCQOZXz+6QJyPGdW1WKrmw9oMzReH9mLIGs79sWtq6gLHG5n JVCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=u9RKXNVq; 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=yadro.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si10019148jan.114.2021.06.21.07.22.07; Mon, 21 Jun 2021 07:22:19 -0700 (PDT) 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; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=u9RKXNVq; 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=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbhFUOXx (ORCPT + 99 others); Mon, 21 Jun 2021 10:23:53 -0400 Received: from mta-02.yadro.com ([89.207.88.252]:43648 "EHLO mta-01.yadro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229789AbhFUOXw (ORCPT ); Mon, 21 Jun 2021 10:23:52 -0400 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 7DF8E412C3; Mon, 21 Jun 2021 14:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mta-01; t=1624285296; x= 1626099697; bh=h8+eEPaoUxnAdB0gPVSo6u84hnAc7ViMaUL6pINX9nY=; b=u 9RKXNVqb54ZEf5XQZkLok7uEIxFnfhD79L55wYWfU3+2bYbd6T8ggAtRJ5k2gmmU ophJPKql9m9UtGMwRYV9u9DB3HwPcZeGQino3GSEaO0sFVGPnh++X5eRzrAxCIKV IODmQtv0nf7huGavXdpm9vK5WlMfZvdkV5YUhWiwHY= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X-3pUdky9wGY; Mon, 21 Jun 2021 17:21:36 +0300 (MSK) Received: from T-EXCH-03.corp.yadro.com (t-exch-03.corp.yadro.com [172.17.100.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id F2F5341203; Mon, 21 Jun 2021 17:21:35 +0300 (MSK) Received: from localhost.yadro.com (10.199.0.93) by T-EXCH-03.corp.yadro.com (172.17.100.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Mon, 21 Jun 2021 17:21:35 +0300 From: Ivan Mikhaylov To: Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler CC: Ivan Mikhaylov , , Subject: [PATCH v2 0/2] add periodic mode, threshold options Date: Mon, 21 Jun 2021 17:30:49 +0300 Message-ID: <20210621143051.200800-1-i.mikhaylov@yadro.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.199.0.93] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-03.corp.yadro.com (172.17.100.103) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add periodic mode enablement, high/low threshold options. Changes from v1: 1. Remove changes for hwmon driver and changes affecting vcnl3020 data structure. 2. Add enable/disable periodic mode functions. Ivan Mikhaylov (2): iio: proximity: vcnl3020: add periodic mode iio: proximity: vcnl3020: add threshold options drivers/iio/proximity/vcnl3020.c | 306 ++++++++++++++++++++++++++++++- 1 file changed, 304 insertions(+), 2 deletions(-) -- 2.31.1