Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3038996imj; Mon, 11 Feb 2019 12:45:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ3T9FwLYhdMQFNIfs1MVk8PxobNm+ZAJGmWBssr0qR3mhOgqV/+dLW7OYxYYmx7Q8j8Uve X-Received: by 2002:a63:6bc1:: with SMTP id g184mr116824pgc.25.1549917920032; Mon, 11 Feb 2019 12:45:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917920; cv=none; d=google.com; s=arc-20160816; b=B0iB5OxRQjQ+vUMIv6v4Fmu1mTG0zy+2AEV5bKDg4fX1D/m+F0uUNTHXotriK5TujQ BBLgfSuIbFcfM81bFFCiDObSTq7m/oROrGaRhpZWxdx8ZWpM2NwopB+0hBjASTTQ92bh vNhIDCmfOXRD2+i8uVFihwEzrh4eDQ7AncKEtsxJdJ7bWBQ8PdItXbOEeWC+fpK7gRg6 P/Pdk0QSRfFPaSr+JKwdygb1V6yShduGe+sn7LvLUmTig4OmIhLbHmWrYnMRL0t+EZoW 48lBYGFGzlHHY0HzvdmyMwesa3D5jtNPIQQRboXn83a6P2F9gjtccANqD/g6S01ZKqiw upBg== 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; bh=JhIMuclXLjxyqbb6C8Q9OtkwhwVrM2pv5iBv5iglMpI=; b=dT+eQKoXHS8XksaNYZzFd+nkik8Sqfj4skBbyNx1yElpPU4lDDfBNHJSVZzydj+H0D xEk65v6cLmq1wAXb3iMa5sL6WvVJI6lvapKH29P5/7UT9KcB6uBuc0YDxrn4EVGAaWUU /LcBEzcyl2gp2Qb7Xl2+W2yjGK4qkF4iMo9W6O5kTuQ8sqal1KfQj7lxkjc6OYqJS8V7 h2dQROmjNKG5CpkKNYjU3SXmcEvvoxc5eS008g8gQaLjREZL+fnz6i85WU4A5jvI33qu Zt46wJ/DysDgOW683iKp9/kcmLXaWgadmVZslqQbsZ7/ddR6P6IuBmnadMcbqgq2BSZh ID0A== 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 m187si11323639pfm.51.2019.02.11.12.45.04; Mon, 11 Feb 2019 12:45:20 -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 S1730892AbfBKUWT (ORCPT + 99 others); Mon, 11 Feb 2019 15:22:19 -0500 Received: from saturn.retrosnub.co.uk ([46.235.226.198]:53318 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727082AbfBKUWT (ORCPT ); Mon, 11 Feb 2019 15:22:19 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) by saturn.retrosnub.co.uk (Postfix; Retrosnub mail submission) with ESMTPSA id E6BEB9E749A; Mon, 11 Feb 2019 20:22:16 +0000 (GMT) Date: Mon, 11 Feb 2019 20:22:14 +0000 From: Jonathan Cameron To: Tomasz Duszynski Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, pmeerw@pmeerw.net, johan@kernel.org Subject: Re: [PATCH v4 3/3] dt-bindings: iio: chemical: pms7003: add device tree support Message-ID: <20190211202214.0b6146a5@archlinux> In-Reply-To: <20190209173609.13220-4-tduszyns@gmail.com> References: <20190209173609.13220-1-tduszyns@gmail.com> <20190209173609.13220-4-tduszyns@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 Sat, 9 Feb 2019 18:36:09 +0100 Tomasz Duszynski wrote: > Add device tree support for Plantower PMS7003 particulate matter sensor. > > Signed-off-by: Tomasz Duszynski Applied to the togreg branch of iio.git and pushed out as testing. I'll be doing a pull request pretty soon on this given where we are in the cycle. If anyone has last minute reviews, there is still a little time. Thanks, Jonathan > --- > .../iio/chemical/plantower,pms7003.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt > > diff --git a/Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt b/Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt > new file mode 100644 > index 000000000000..7b5f06f324c8 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt > @@ -0,0 +1,20 @@ > +* Plantower PMS7003 particulate matter sensor > + > +Required properties: > +- compatible: must be "plantower,pms7003" > +- vcc-supply: phandle to the regulator that provides power to the sensor > + > +Optional properties: > +- plantower,set-gpios: phandle to the GPIO connected to the SET line > +- reset-gpios: phandle to the GPIO connected to the RESET line > + > +Refer to serial/slave-device.txt for generic serial attached device bindings. > + > +Example: > + > +&uart0 { > + air-pollution-sensor { > + compatible = "plantower,pms7003"; > + vcc-supply = <®_vcc5v0>; > + }; > +};