Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4416479imu; Sat, 19 Jan 2019 08:59:40 -0800 (PST) X-Google-Smtp-Source: ALg8bN5raOtzKKxtNSpbO/puN15jEsDZZmJkEqzgP7QkoZU3AsEw4ZHgqSoV7keyY7aqnybKfjL2 X-Received: by 2002:a17:902:4503:: with SMTP id m3mr23800028pld.23.1547917180763; Sat, 19 Jan 2019 08:59:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547917180; cv=none; d=google.com; s=arc-20160816; b=GA3FaEeLs5MEC+n1q0XH97qTUV4Zhtvlf9buQL8KiLRWNwH4mX6X672A/eG54fF6PW QKjK/C9i32oT4KM7PVUBC123kT2+G5d1uG+GPfPQU5NV0xy18+sEH5yIOVuBynYy0wEk BuFZLPo7eKk+V9Jx2zAqrcXjKgssY1m7aD2LEXOpSjUcDkKGOrrsr9eQ84eeAFsPFmqW IPVcK3IVnrcibiEZ4XXkI052R1Bkr/1iq8iUpXmohuEgQTXkupyoEzx8oUcdQRoajRcr xmzNFRpT5YaP4mE1V31oF/PmPQjHL27QeSFYe2KxmdIsaeEPqfHkmjAjZqqSWr7EGTtC yE6A== 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:subject:cc:to:from:date :dkim-signature; bh=evc/COJ3ryNwgF1dL7IrHbGZWENoHWeIENmmSsZtkME=; b=F38mbG8AmwLZmND67dxBfx/uStLF80XLHW0bAhWxDui8g2A/2lOa9SvRPBsN8OkglL L9iMQdbfRp+60ygWM/Oo1qqCn+y95R6+IsCY4v8llZDfTcbHOjJqHLvGFFGmikSYGrEC C6D1OYHHWp/9dikPMEyN6xBQwThdFDTkWm7SVfInOt8OD/vGm6qyp7+7v6jlbEtDdfRH eNXJbUZ+RSO1jgvkGAeVNbF1l5cJATlDvwk2mHUdwk5Ryd40FjkcurOjRMUB07qKU+m1 sxJHcaG/klz5LIoEVlCd4LGebjKUi1QT56p4NNPCIdVWIQud7/CWARkxWmIQQV81IXGo 2/BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uP7kLrpd; 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=pass (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 f21si784926pgb.371.2019.01.19.08.59.25; Sat, 19 Jan 2019 08:59:40 -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; dkim=pass header.i=@kernel.org header.s=default header.b=uP7kLrpd; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728680AbfASQ5P (ORCPT + 99 others); Sat, 19 Jan 2019 11:57:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:38448 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726763AbfASQ5P (ORCPT ); Sat, 19 Jan 2019 11:57:15 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2D162084F; Sat, 19 Jan 2019 16:57:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547917034; bh=3gxBaH2bE68Yfp+/oibOe9+ZC9R4mkaIaW55U9uYlT4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uP7kLrpd0OlwbcUuSZ/kW5hEZ714LQxe8Zrbi9Kg5D2KChwNQQA4UqMgtZqJ/x/OG eMkCDi5BbOp31llRv2d02P2dUcb1mrcnDvcm5otZWHET2wRP13HAXPyXBlsSxUGz85 QUlqMcc6v+3Hxp4mNjBo5ZdDmiKwK/M9uzjI+wB8= Date: Sat, 19 Jan 2019 16:57:09 +0000 From: Jonathan Cameron To: sebastien bourdelin Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, himanshujha199640@gmail.com, mark.rutland@arm.com, robh+dt@kernel.org, pmeerw@pmeerw.net, lars@metafoo.de, knaack.h@gmx.de Subject: Re: [PATCH v2 2/2] dt-bindings: iio: chemical: Add bindings for bme680 Message-ID: <20190119165709.5045a18b@archlinux> In-Reply-To: <4768d945-61aa-a8ab-3e41-68b4f861cc69@gmail.com> References: <20190111205359.14158-1-sebastien.bourdelin@gmail.com> <20190111205359.14158-2-sebastien.bourdelin@gmail.com> <20190112182837.4cc42743@archlinux> <4768d945-61aa-a8ab-3e41-68b4f861cc69@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Jan 2019 15:17:10 -0500 sebastien bourdelin wrote: > On 1/12/19 1:28 PM, Jonathan Cameron wrote: > > On Fri, 11 Jan 2019 15:53:59 -0500 > > Sebastien Bourdelin wrote: > > > >> BME680 is a pressure/temperature/humidity/voc sensor. > >> > >> Signed-off-by: Sebastien Bourdelin > > Hmm. We could add the VDD and VDIO regulators perhaps. > > Driver assumes they are on currently but we'll get a board where control > > is needed sooner or later. I'm not that fussed about this though. > > If that's fine with you, i prefer to leave it as it is right now as i > don't feel > > confident enough to correctly explain it in the Documentation. > > But if you have more input, you are more then welcome! Given we aren't planning to do more than turn them on and that'll work fine with stub regulators (so they can effectively be optional for ever), there is no particular need to put them in now if you prefer not to. Jonathan > > > Jonathan > > > >> --- > >> .../devicetree/bindings/iio/chemical/bme680.txt | 11 +++++++++++ > >> 1 file changed, 11 insertions(+) > >> create mode 100644 Documentation/devicetree/bindings/iio/chemical/bme680.txt > >> > >> diff --git a/Documentation/devicetree/bindings/iio/chemical/bme680.txt b/Documentation/devicetree/bindings/iio/chemical/bme680.txt > >> new file mode 100644 > >> index 000000000000..885a1b918340 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/iio/chemical/bme680.txt > >> @@ -0,0 +1,11 @@ > >> +Bosch Sensortec BME680 pressure/temperature/humidity/voc sensors > >> + > >> +Required properties: > >> +- compatible: must be "bosch,bme680" > >> + > >> +Example: > >> + > >> +bme680@77 { > >> + compatible = "bosch,bme680"; > >> + reg = <0x77>; > >> +};