Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2759961imu; Sun, 6 Jan 2019 09:18:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/UClP66ggPUBOYNV3FhrQoFKkOYBnP9VlFlHyVjhpQAebJxwuIczPbYlHIlYI3+4bFkq1bk X-Received: by 2002:a62:32c4:: with SMTP id y187mr62060617pfy.195.1546795117947; Sun, 06 Jan 2019 09:18:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546795117; cv=none; d=google.com; s=arc-20160816; b=oGG7hrpeFE2iVWR26xMVkHctzg0pLbggMnxaFsWUzihOozr9o4I0p+h7idKd8XebxG bMuhPyra6kNvXlo8rHZrOq1U6mpIlyBRhy4a65398s5wrFQbwJtOzbUFdegfa+3tUlTY qaOf1VaRzXubv8AcBIitDVTI/2ariJw/lAonvJviJhjLTciJszsoMksBFmcW+gQRI3dh zH7fv4kN4JADRMwUqooUtPCXdtmusNER+i8ZzG+qjp/aqYW5BryfgwpRuKqTcVjbWiFS ZpDbzrkFe/TN/unTgSZ0l+MBlBTRJi2LhP82RDJDOd6MPDMPlrvkfQISVhYU7c6aK1jW OkXA== 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:cc:to:from :dkim-signature; bh=AzYtW8cYGpKWt61QW0eBJ6JQkqRtzCx7rNA4iS4RRrQ=; b=dnLe9JlC3Bw54kczfS4SRTd1JZ1udzwv0bDiHjiQPN48R6i5k55FTcfNc2rkY86kcq oYX4jCiDaOJTIh0SHW1GInqSJOaaB3k1Ebppa5EiTfPDYVzQM2PneiM44D+uoZjz7lB+ hwBbnL+XfW0b3Rdu028O22B0CotMAW+7rMT+hyAeYk5PDT1XWEROaE91l3Up1I3KSO1H 3G4gRmJxik/ksbugtcf3AEPhh3d3XnLQ/2tHynWF968AF0tLpOpJkXt3qYp5GcfP3ri/ 5hecmDydCBQyxd13O0k264lFNjc5c2e4RG1JOjJQ3X05V9q6MTlbV+XyVJWD8ZynrxcJ KjiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n4tpG6dA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si16276509plh.426.2019.01.06.09.18.07; Sun, 06 Jan 2019 09:18:37 -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=@gmail.com header.s=20161025 header.b=n4tpG6dA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726282AbfAFRQw (ORCPT + 99 others); Sun, 6 Jan 2019 12:16:52 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:33676 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725931AbfAFRQt (ORCPT ); Sun, 6 Jan 2019 12:16:49 -0500 Received: by mail-lf1-f65.google.com with SMTP id i26so28581993lfc.0; Sun, 06 Jan 2019 09:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AzYtW8cYGpKWt61QW0eBJ6JQkqRtzCx7rNA4iS4RRrQ=; b=n4tpG6dAAQENg2cSW2mVCwOcNt93l8H0jTfn3/HKCdayaUuBFVwI67lniuYFlnNQUe 7h3BcUq6FGWGEUYvA3faqSWmmCqs8aGhYdllQ/viL0zJZnRGjEAwz9vNiFXJcOYbT1KC FiZvSazqgaa1oKO0KSwP5wEL4LFeT8iEKl8+jouWib3BU/2FdwSWfkJKEn7txTf92dZJ sL2nm50txVpbAr0fOiLefqTJhxbncyXF18LCwqnCQVHqQQ6nCfiYG8hQ2KYYxiTcHWBa gyKmS2Vw48kSlpfAfvGdFvk10hPg6zzPG6qCVM0pQr+WeZEJ5ReF5nbtday4ToOgdM41 6dRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AzYtW8cYGpKWt61QW0eBJ6JQkqRtzCx7rNA4iS4RRrQ=; b=rso5sQGfguYC7ecfjJ1Mra2YOdlvly9fmiqeTEitalDifkUrhWe16Ry3hr9Gvt+y1f JoDxd73uMMotcmA/iy9cvNKmoHGSWxNBlrlZ9F419kAsa8C1EylxbHLi7sBlUUKBHgVW ujw5Tr1Zvb1TpaCVzBRJfHlfYc5ahVxTeYXR6stOgkwIYpkMrDc68PlsokgU/9p+QD41 fIXiLcHOyG2t0NoEh6qZHPuI7SPxvWg/sadJ1pOXPd4fshOYGQiL5GT/AuxGG1kwaZoe dh5DZCt4pt9dVEJSg/VnUswURcvuOz6+cc15xJ05cjNEWLGDp7ER2fx+BlqCFP7VNumR Ynwg== X-Gm-Message-State: AA+aEWaeVxzuSzuD94b4IlDzsPD7s0a9hDCloy6Oq4aT5UbVPSrtt0L0 26zbO1fbxuIdNN975nbXudR4lzu4 X-Received: by 2002:a19:2584:: with SMTP id l126mr27763043lfl.69.1546795006310; Sun, 06 Jan 2019 09:16:46 -0800 (PST) Received: from arch.domain.name (89-70-37-207.dynamic.chello.pl. [89.70.37.207]) by smtp.gmail.com with ESMTPSA id b17sm12339409lfc.21.2019.01.06.09.16.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jan 2019 09:16:45 -0800 (PST) From: Tomasz Duszynski To: linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tomasz Duszynski Subject: [PATCH 3/3] dt-bindings: iio: chemical: pms7003: add device tree support Date: Sun, 6 Jan 2019 18:16:14 +0100 Message-Id: <20190106171614.12615-4-tduszyns@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190106171614.12615-1-tduszyns@gmail.com> References: <20190106171614.12615-1-tduszyns@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" + +Refer to serial/slave-device.txt for generic serial attached device bindings. + +Example: + +&uart@0 { + pms7003 { + compatible = "plantower,pms7003"; + }; +}; -- 2.20.1