Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1058951imu; Fri, 11 Jan 2019 14:16:49 -0800 (PST) X-Google-Smtp-Source: ALg8bN4pkvaQ4tnFRLwnSu4TvXCYUd4y8hO0C62ybubsCrihU1JJ0eCrPwZAQsxrk/1/EgtsXocD X-Received: by 2002:a65:448a:: with SMTP id l10mr14900186pgq.387.1547245009817; Fri, 11 Jan 2019 14:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547245009; cv=none; d=google.com; s=arc-20160816; b=jKOwhF1zsi87gm7gXXvUS++XIM5hihGOEFsJv9mrFZdg6c6TiwSgwobvq17NzW0X9J FfuR+t4H3x9rSkBOKBkCHQ+N6+SQ3OmYrXvslryef9eFg67yGuJdAOYKAEBpOEKh61Em M2j1UX28En2Dm1a6wKD9BbTlM9/dbX8eGKehx5QnYEOGjpIgh1kkm8lP2j/HjemzKgFJ 0Gi3FS11gr1tnX8nJYBNAU8Gt3mUJNQ3MuoZU8S14D0RkQc62m/l547jInOFofuJOfR3 ZgZETDTDERnP+yeVnUEM78GiALHpllEcYGbUb+d8QBVTROjgXbbADclMYP8zcdgrUOK5 40YQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PUEH0mxF5qMPbNXeJZzOjZ121n1+X/+nalnq6eKRQ8c=; b=vzwM5T/psnV+5spmofmbxDyKpL05aZrBnU+wC6Er+mZqlJL93Tjty3X1Ohg+5jzZcR 9Q3869dkD2Yw/wmKKE6NWvlMEFwtaAWlK+e2hAVmz5Fxn7L70vaNZ70MzOojZEa5M1s5 X7OTiYctupAkFY2d1qmyXXrDTZadc72Tyd5K8YTYB87qMsE2YQlKH25YCJ5xacC60CED YaPO49IvJt0uZxShZ5iL2urYtBAQ8P19HC/KMcT/GWwm/DieDUBIdFfyPdZTOqKz34ZO tPx2joPs6Aofx1c9qeDoDCIoxsWfApuZT39IrzM2B6DBKjU3Hy3kSxZdLDo29znXXDTo Hl/g== 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 z8si26328974pgf.577.2019.01.11.14.16.34; Fri, 11 Jan 2019 14:16:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbfAKWP3 (ORCPT + 99 others); Fri, 11 Jan 2019 17:15:29 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:43919 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbfAKWP2 (ORCPT ); Fri, 11 Jan 2019 17:15:28 -0500 Received: by mail-oi1-f195.google.com with SMTP id u18so13472373oie.10; Fri, 11 Jan 2019 14:15:28 -0800 (PST) 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:in-reply-to:user-agent; bh=PUEH0mxF5qMPbNXeJZzOjZ121n1+X/+nalnq6eKRQ8c=; b=rTf6rBiVmx++sROwC3n1gnnqnQhgCoMLaxWVee0VArWsVeCUzdAd0tmwnTOw4UlltQ D+dmi5SzfSAj9eHnrb1yLXnDq9rLa7okmsBPKtDSNRIg/8ohNBJGnRRjutwMrFaeMElT BTV0ezylrgOQMu1oKG4QTPRaZkEqqWrs/hq2kmGkoI1waOuVma++KwbdVkgzh2ba0ab2 gIGIcf5JNzbuO9fulsoHJ+z6PM+1OCbpBH17lGTYxA2Mrs/iJz24ICnzmk682qq4Lu89 OncCsn8aNXvz1FHchCiAxnnecUdcEIJ0MvtB8TlTDKvdo0BiR3jovX53wZ/psnPU4Qpd 0bXg== X-Gm-Message-State: AJcUukf+jBnOfnDX1xe0OZbX478qMHZvd0hog4Pij1UeIPKJ7mS1Qn9h kFwhPyyKuAKSLylJjcSiyg== X-Received: by 2002:aca:b4c5:: with SMTP id d188mr10448401oif.309.1547244928058; Fri, 11 Jan 2019 14:15:28 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id g4sm39436428otp.53.2019.01.11.14.15.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 14:15:27 -0800 (PST) Date: Fri, 11 Jan 2019 16:15:26 -0600 From: Rob Herring To: Tomasz Duszynski Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 3/3] dt-bindings: iio: chemical: pms7003: add device tree support Message-ID: <20190111221526.GA29234@bogus> References: <20190106171614.12615-1-tduszyns@gmail.com> <20190106171614.12615-4-tduszyns@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190106171614.12615-4-tduszyns@gmail.com> 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, Jan 06, 2019 at 06:16:14PM +0100, Tomasz Duszynski wrote: > Add device tree support for Plantower PMS7003 particulate matter sensor. > > Signed-off-by: Tomasz Duszynski > --- > .../bindings/iio/chemical/plantower,pms7003.txt | 14 ++++++++++++++ > 1 file changed, 14 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..79eb538eb932 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt > @@ -0,0 +1,14 @@ > +* Plantower PMS7003 particulate matter sensor > + > +Required properties: > +- compatible: must be "plantower,pms7003" Looks like this has reset and set GPIO lines as well as Vcc supply. Bindings should be complete even if the driver or a platform doesn't use some parts. > + > +Refer to serial/slave-device.txt for generic serial attached device bindings. > + > +Example: > + > +&uart@0 { > + pms7003 { > + compatible = "plantower,pms7003"; > + }; > +}; > -- > 2.20.1 >