Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3931577imu; Sat, 24 Nov 2018 14:16:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/XHQqPJ0yU0tefMiTJYit1mf3Zxg8kSammuW7VQ+ZPwTxCkRk8nnz/DlAtfvWBBK+aeNDC1 X-Received: by 2002:a63:d5e:: with SMTP id 30mr19264507pgn.54.1543097774178; Sat, 24 Nov 2018 14:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543097774; cv=none; d=google.com; s=arc-20160816; b=IZcMbvrsJbIPz/PWFz5svVxqagrh5Sxg1bUf/HpnhDujYJbfsS3tkwCaeTJfb/xBfK 3hHZIqkVelV31TNcih9XbPVSlq2+oPzXrCFf2rh5A7b5/ivq1lnG5DViyZzEOikU+5Dz qODSC4XkBPbbZGhJPjQxlhs2JzQnZDvZ+y/1diGjFUhoxlQALG5Iu4uv8ruBq0l9vsY+ motz1ff/GBNTD5Pev5KBAgc2a6F2Ipq9xTFcxk9kw8QBrSx4uAPNisuV5qbFInLyk8l6 D/Vu/ZmlzfdzOZQkgOlRiFO268HEtWE30lfJoeTh/rP2PaIIR3zpn/Ur2rXkVO/nzkGs PAag== 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=sd13XGpZ2fH+MozkkuYgVExvDDapBeityDTzpXZCGrM79kPVeTH+i+OGya9UP7KZrP 0+asyBNV4sj27EYTS+eTaJrXoxrvn9+CbnwGczp+dNTXJj9sP3YHdZug1fNMeS9Eth6N EWlWEjgFZXlXAtllFYsTsGYmcCXswZ0p/MTco61vYpGBzeAtvZ5lf6pH06j7EmS8PjaN QDXG69qaDRheFZOsrE332knbSLvab9C1h840QSi52lks2hRgCrqPQDT+s2l4rYzUUC7z r+S9bKHhuBDAadJYn4N6DR7zg6zzK1Sx1teyroWgrX+uUEZcJaKFmcJJJWWYZaFwAJ60 oN+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P+HbEDD7; 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 h31si31999262pgl.482.2018.11.24.14.15.44; Sat, 24 Nov 2018 14:16:14 -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=P+HbEDD7; 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 S1726644AbeKYJEH (ORCPT + 99 others); Sun, 25 Nov 2018 04:04:07 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:45066 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbeKYJEG (ORCPT ); Sun, 25 Nov 2018 04:04:06 -0500 Received: by mail-lf1-f67.google.com with SMTP id b20so10886742lfa.12; Sat, 24 Nov 2018 14:14:39 -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=P+HbEDD7S3tijmzF5mUDpL6PzzMVdhR7Sgv3RYIrG9pek+X434r375IqMvaioHTMTV sdXjQmrv7B3TsdMAFOjFrIAnNleGbXgHurxMNj9vNrXd5EqdzF7m5BkWEll17xehDTeV v1tNr9Rf0GiaCIv2gWcEjax+f8dJTr6kl2xUPRhDgofOW097/LTomZDOzny8ri0E16OB HDGkkTTUkffqInPsMCHHoHBctNZy/l8vk08GRMbKBenXZj/nN6a2+woQPRBoIjZYhHC4 QFVXb6ZIWSzqgpRczWbQ3w8VMi+eXojx5tm758OennOcnZyIhGXSQohn+48w+mDcKOj+ nOPQ== 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=FqPMPV8EzRxmCQu1djl4QuqNc6SwETif0d+/Ga+ny/jc5sirzBF5BNytnQSF5o18mk A54lLE3Zqp4FnTyAIosdkzBOnH6kSAeunPqIGaDtox8ZmLmLN8VTTZPS2ZiQe3D4aVZi N1A5j/zvw7wFho0C3YvKfpIPnxep0DdGI33/trRrZaVXIE/Q4Oe1m2AGWElKI72XbUFs tYgYT43K7QH+LfqCBjEm/B5vlBkYX9bVb5ziTZZh2ghS2VPqjZIWvn30FsbzUfALhECo +gmibfx2jayA5dvdeJz1otGSy3b8T1eQF1LKTYZEoLW03PU0LDj8f/76TfCotYN9NOXz /gPQ== X-Gm-Message-State: AGRZ1gKwWjfK4Af4avU0CdHgZnYueFC2/OjnCFBmSadunw2yhAakpAsp gQ7NGqlxiKRGH8OxpUwujx9s00abfxI= X-Received: by 2002:a19:d287:: with SMTP id j129mr13160029lfg.26.1543097677576; Sat, 24 Nov 2018 14:14:37 -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 x16sm8369281lff.26.2018.11.24.14.14.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Nov 2018 14:14:36 -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] iio: chemical: sps30: add device tree support Date: Sat, 24 Nov 2018 23:14:15 +0100 Message-Id: <20181124221415.10081-4-tduszyns@gmail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181124221415.10081-1-tduszyns@gmail.com> References: <20181124221415.10081-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