Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3913759ybb; Tue, 31 Mar 2020 14:45:54 -0700 (PDT) X-Google-Smtp-Source: APiQypL0HB4TvOPVC+Bge3plS7I8gMaXOzP7Chc6tFp/QidO/azJ9R/edFAQgi7ODkB2iW7WuteD X-Received: by 2002:aca:dd55:: with SMTP id u82mr715277oig.27.1585691154135; Tue, 31 Mar 2020 14:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585691154; cv=none; d=google.com; s=arc-20160816; b=M5FU2VHFEAeRM9JV4gxnzmqVGCgUhdribnAJrQkbSkAUQB8G0+gYwMzKXF9S3MQrk1 45JX6gua2l3ivEFiCESHYgQTYG5xSI9Ka0l8NYqP7G5BSPXZAGkNZs1WNVajsKr+6sHM OCkYkLZi1scwDX66KZ8KpVSHQidfsHf4+kRBNJcej8aMzs0SlKeVx7GUk/F1RWDbHf/P QGjZE7TiPsbGn2G4uBQa3jxKBcZkmrG5dQ6v5PPeAfQaKN6W7rRGaA4VfiCQnSDmMM+a 7iCe37i+MVXQVzCM2Rz8mhtaaF0KMlpBbUYZwtaZFUrkKeB3tDjC4G3fpwgPdBHlEuE0 9R0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=OKro9uAXHnB0is9bdTO7JG0JsIX+rngJzFGMCECx088=; b=KtmjqolbboiU6RvfnMpKtYacNR7ZaFxeGFg1wopoCe+enIrI4dB8e1KnhpaN0sUMrd hwJHeWoQlNdI2jFF52OtJ0Md9CTo5bNhvxCjI8eyk/2hHhQ4XYlVlV3GDkiaozXx2PUM 4MGOHo82EkiqgcQuQCNgbvpoV7tFJf3Xp/BvNkU67QDH+fBpyiN1lFqBAInKr5ERUXnI FGw0v4a/DNcjMtZ4ZZZsU4rcJ9uNqAYdp6GluNutj4IHwHMoSjbKXybSQggDN2GwSiHF zUer7EfrBGd8LWxlQyXAgvmrkNwi1pAVzkcKqKDvLiPzOOjJEv7FnozwjdcqeJ8FppYY O4sw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h27si8134669ots.293.2020.03.31.14.45.41; Tue, 31 Mar 2020 14:45:54 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731362AbgCaVpV (ORCPT + 99 others); Tue, 31 Mar 2020 17:45:21 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:36104 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729647AbgCaVpU (ORCPT ); Tue, 31 Mar 2020 17:45:20 -0400 Received: by mail-il1-f196.google.com with SMTP id p13so20975736ilp.3; Tue, 31 Mar 2020 14:45:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=OKro9uAXHnB0is9bdTO7JG0JsIX+rngJzFGMCECx088=; b=hTDEzxBecnNqb4HJ2u1B85VEXZSkaaDz0XCHMi+Xb8Q0rvF8nYHhVpo02NwUpIiUqw jxl0PDlgb3igk9Drb2pfIpPlZs4/2LtKQ3l/FGBfSviUC896BYi8hLKiSLKpToW3qDM2 Fz/VGYz4yYqmsunBFBKQLiDNVf9lruIdqZ2DJCM69LICnNJFZPGwF9OxfJMfbytgZrvn kP63QZzfWy/8Z/70yLc/qJEg8Oet8g8Td1bqQAEkOqUTC9f9CZtPK4sWhRK/EP4AgceA NWufpCmzEf3xqrIswyt9nCb+GNMQt7WoaUSgjxlwUIMODi55DazW87Ku+70s//aMoXNC AIRw== X-Gm-Message-State: ANhLgQ3hDb7tr46vtsXHHAYGdmSf7HF3JBYDNzzDYmgo60nwsPIuW3FO RoFFQMLy3dO3F6PhsN4Kvg== X-Received: by 2002:a92:3203:: with SMTP id z3mr18241920ile.136.1585691119666; Tue, 31 Mar 2020 14:45:19 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id g78sm34429ild.36.2020.03.31.14.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 14:45:18 -0700 (PDT) Received: (nullmailer pid 26487 invoked by uid 1000); Tue, 31 Mar 2020 21:45:17 -0000 Date: Tue, 31 Mar 2020 15:45:17 -0600 From: Rob Herring To: Jonathan Cameron Cc: Guido =?iso-8859-1?Q?G=FCnther?= , Tomas Novotny , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , "Angus Ainslie (Purism)" , Marco Felsch , Thomas Gleixner , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Andy Shevchenko , Nishant Malpani Subject: Re: [PATCH v3 2/4] dt-bindings: iio: light: vcnl4000: Add near-level Message-ID: <20200331214517.GA24128@bogus> References: <20200329102526.1ee85e96@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200329102526.1ee85e96@archlinux> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 29, 2020 at 10:25:26AM +0100, Jonathan Cameron wrote: > On Wed, 25 Mar 2020 12:09:06 +0100 > Guido G?nther wrote: > > > This value indicates when userspace should consider an object > > near to the sensor/device. > > > > Signed-off-by: Guido G?nther > > I'm fine with this. Note for Rob or other DT people. > > This is a new generic binding hence no vendor prefix. Then document in a common place. > > I will ideally want review of both the dt patches though > before applying. As we've missed the merge window anyway > there is no particular rush. > > Thanks, > > Jonathan > > > --- > > .../devicetree/bindings/iio/light/vishay,vcnl4000.yaml | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml b/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml > > index 21ef2eb7a205..ac9e3bb6a505 100644 > > --- a/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml > > +++ b/Documentation/devicetree/bindings/iio/light/vishay,vcnl4000.yaml > > @@ -25,6 +25,13 @@ properties: > > reg: > > maxItems: 1 > > > > + near-level: Perhaps proximity-near-level instead. > > + $ref: /schemas/types.yaml#/definitions/uint32 > > + description: > > + Raw proximity values equal or above this level should be > > + considered 'near' to the device (an object is near to the > > + sensor). > > + > > required: > > - compatible > > - reg > > @@ -40,6 +47,7 @@ examples: > > light-sensor@51 { > > compatible = "vishay,vcnl4200"; > > reg = <0x51>; > > + near-level = <220>; > > }; > > }; > > ... >