Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4797975ybv; Mon, 17 Feb 2020 06:12:18 -0800 (PST) X-Google-Smtp-Source: APXvYqx9D/McaospSyLUOrjLUO6EpwAf9ASsOgslAma8FPiVr/O4VBCM5vir2gQHgrFDZaetydPM X-Received: by 2002:a9d:395:: with SMTP id f21mr12355953otf.67.1581948738820; Mon, 17 Feb 2020 06:12:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581948738; cv=none; d=google.com; s=arc-20160816; b=sdd7SATcUbcRIo7aXW3AJla0Df3PJ47Kt63ovvPU5TnERdtsX8ywOZ/gAt9iUGYRjI I2JX52vgafuVPw4kkRHzi3UfksbT/6O8iPTgrfxSXqtkORKL+jVNooF6Z3v02ldyImUN sLvMkeWERh+C9eF6bUnD+ZnU4EmzyBrmnSadJbVKwVQzP0wJeMSxpXSf4LQJRrPiEWMB Ng++Bfz9zkuNL7a4gxS/rj8k71CB+6uGjoHhgHXorucsS50uVLIfd8AwctSwEVheqdI/ 3fSf2Eb6Bp0tL/V5dZ7ZHaOT+6Uz4teSwVGUQYAbRc5dcagb5zsPDn0SO7fq7j3l7LUX Pafg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=GN857aSsRu0Q7F8N1vxOpfRsoogNiMc9SzXt0z7HSxw=; b=WQCtl45fEq8z5L4CyL8ZYCPY3FEV9F2gdewJTG/Ctbli1hv/6F9sLgQEfD+JE30DWP Pv9TalcLacgfVqkfyFumx77G4Q+2e9Ra/LQmHo2N9bL8ujNMRAEfQ/VUoh61vgF6MRoG ufpGrXznyz5eghdL9ZGwTpByph0+LZ+VFmhXP8ppJ1o15lhQpzZecINnTe6Jl1hVLQ+6 niMV4PWWJksbJgId1gt7IL5ks1DdKUKmBrkHTnYcaS45OdD3+aQmlmDszmwSs28+uegQ tdYEPeU2ryw5k6QaE2MFde5eNGpIHOwIG6nz/aMn0F1TGt81dtQCtj5zO3cgoucLF6yY jMSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si6017205oii.98.2020.02.17.06.11.43; Mon, 17 Feb 2020 06:12:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728405AbgBQNoy (ORCPT + 99 others); Mon, 17 Feb 2020 08:44:54 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:39776 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbgBQNoy (ORCPT ); Mon, 17 Feb 2020 08:44:54 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id BBD2FFB02; Mon, 17 Feb 2020 14:44:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SfnLh7PdL-LR; Mon, 17 Feb 2020 14:44:49 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 64E4940FE8; Mon, 17 Feb 2020 14:44:48 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Tomas Novotny , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , "Angus Ainslie (Purism)" , =?UTF-8?q?Guido=20G=C3=BCnther?= , Marco Felsch , Thomas Gleixner , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: iio: light: vcnl4000: Add near-level Date: Mon, 17 Feb 2020 14:44:48 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This value indicates when userspace should consider an object near to the sensor/device. Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/iio/light/vcnl4000.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt index 955af4555c90..6f7dfe470553 100644 --- a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt +++ b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt @@ -16,9 +16,15 @@ Required properties: 0x51 0x60 +Optional properties: + + - near-level: Raw proximity values above this level should be + considered 'near' to the device (an object is near to the sensor). + Example: light-sensor@51 { compatible = "vishay,vcnl4200"; reg = <0x51>; + nearl-leval = <200>; }; -- 2.23.0