Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp11191123imu; Thu, 6 Dec 2018 13:06:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/XbYkGR0NV/xe/A9ZydEe6HyNf5pPnG9zxH/5hgdcOASXXlJlN3SRZqUeib3Ng7oG5slhId X-Received: by 2002:a63:ca0a:: with SMTP id n10mr25577081pgi.258.1544130389456; Thu, 06 Dec 2018 13:06:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544130389; cv=none; d=google.com; s=arc-20160816; b=MLMna9d1uMi4SPTcRmvDezMX8IdjpWkMW3NfgL890DwfdWM/rPkPioAGdT190GjU/R 9xA2KfkIWE3LHD56uyoALPOjkr9lMTGtLjZNUt2l9yI5GRhRbag5hCNyuyT+QVu50DC8 aUcg+SGx/yVhZLGCvLbrRmQoS+SEAbQr0lqKWOnN9f8meRQvq7jkIDxrIrDescprT0tU ZnGxYkfQYREGosoZRP/JkbGhwzyz53bqVUxZFrxEZz7VnUXTMxD7hC8E6wzlSry4h9nG KaRiPREkoafPGAoCrBhN2QCLhBy2JGTdanCtuNpA9B7RZDaFDmuRTc83JXIBmYMFMoMI 90RA== 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=DInuEKdbNHvaSBbjubOXmw0RPlkgMluOKS1WEsr6y5c=; b=SGucuLke9eI9gzkytCTteiEpq1ykkWlCLHEq3Ei25v4j+FwE1v2zylkDRZDPHwP0FR MYUPkQOBaLEBig1ugsBtg/kH8/hHbbFRwhQmgfVZtASR3zyVVGnO+2XRmnrz/7uep+SC 3TRQDtmZSIIEms9U9QytIU4TlcV9jK7m1NK01MAiy1jjydu+5aZtMPcQtUk0UPV8DNTo bWdQQYu17MPgBUCZyeAQeaKi369rfpZuxojRQyVCCVTI1V1UbkjEHsmw0inOg3XD2uYs Wd7NvyeeeX2BxeGX9Va2353qzdv3zXPcGthL7bAp3nwvfAxaDYRycp+rnWIWdQdhwUVl wbyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gQudOtgP; 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 j1si1092211plk.342.2018.12.06.13.06.05; Thu, 06 Dec 2018 13:06:29 -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=gQudOtgP; 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 S1726047AbeLFVFZ (ORCPT + 99 others); Thu, 6 Dec 2018 16:05:25 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33396 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeLFVFP (ORCPT ); Thu, 6 Dec 2018 16:05:15 -0500 Received: by mail-lj1-f196.google.com with SMTP id v1-v6so1725352ljd.0; Thu, 06 Dec 2018 13:05:14 -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=DInuEKdbNHvaSBbjubOXmw0RPlkgMluOKS1WEsr6y5c=; b=gQudOtgPnk+ovQWOqW8yAo+fK1O02eOjiYcpHSE8HGAYa615Re2Rxf0RloFfoqK1U6 MsuNrJ2v/VoomfFtM+w+EMi45yVFQokShfw194a2556q/SVgGfS4z/cOQikXfO4oUIEc l4DSRFONdolyn5eeIDysA6D6a9J2+RTdMENrnW1JJpB/QRXYe/p7aVvknk7T22KAhNE9 /UOOUPXsl84nIf/OJgIv4FLZtRtfMtTJYqL9bqcwSe3cVRoV1fQAl6KgWbDiBloZ7UYy CRuEJYxm5ssOUOysFVq+a3PRjjH6erltF4dXtyGR32bWopXEySwN98dBFjHVDpzfDk7y 8Elw== 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=DInuEKdbNHvaSBbjubOXmw0RPlkgMluOKS1WEsr6y5c=; b=HIJtrZS11SX5RQbKk52iVurh4uSTYnr1UJAqT5YrmwR1f+30s9ze7zmZ79Zgd4Pz9I +DYyoyIFxZRElUG3sPXS0u80q0qguOpoJth8BiZcqg34/bVRz9JEyMPJ7WB3HAuMJTiV Pk7Blw5Co6tJynhJktX9aSTz2imZqtWCJ+hG+8TX8apA8FB3IKW2RdWA3zXT5akrLU0K Ov6Lt/g95aGPIfHDczNAUVOBQG9n6NDBIHVPaXuVSkLROUso250eBDHNlTJnE/Y8WqmZ hq8lFKPYUgUkLmTahKilwZ1Umu07NRlLNgYYsyVLU+H0V30L0TCJ9wdlnXJkcNSBVmzX uZcQ== X-Gm-Message-State: AA+aEWYiKQ/SMQyOrSdL12K+4NMgK8/evKNgwvluysScXNtlgW9D/BAx XDtvxntnWiuftmjoVPDiVdiQtPTxZVM= X-Received: by 2002:a2e:5b93:: with SMTP id m19-v6mr16760115lje.115.1544130313167; Thu, 06 Dec 2018 13:05:13 -0800 (PST) Received: from arch.domain.name (89-70-226-70.dynamic.chello.pl. [89.70.226.70]) by smtp.gmail.com with ESMTPSA id e94sm267366lfi.23.2018.12.06.13.05.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 13:05:12 -0800 (PST) From: Tomasz Duszynski To: linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, jic23@jic23.retrosnub.co.uk, a.brauchli@elementarea.net, Tomasz Duszynski Subject: [PATCH v2 3/3] iio: chemical: sps30: add device tree support Date: Thu, 6 Dec 2018 22:04:43 +0100 Message-Id: <20181206210443.21052-4-tduszyns@gmail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181206210443.21052-1-tduszyns@gmail.com> References: <20181206210443.21052-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 Sensirion SPS30 particulate matter sensor. Signed-off-by: Tomasz Duszynski --- .../bindings/iio/chemical/sensirion,sps30.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt new file mode 100644 index 000000000000..6eee2709b5b6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt @@ -0,0 +1,12 @@ +* Sensirion SPS30 particulate matter sensor + +Required properties: +- compatible: must be "sensirion,sps30" +- reg: the I2C address of the sensor + +Example: + +sps30@69 { + compatible = "sensirion,sps30"; + reg = <0x69>; +}; -- 2.19.2