Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2409738imu; Fri, 14 Dec 2018 10:31:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/X7fIQjsQpPVARhnoaVCmYId9xHXDtEnhlwnTjDP55r78xY03M5t/Skv5ZAIPyEnVBMeIFP X-Received: by 2002:a17:902:622:: with SMTP id 31mr3748391plg.171.1544812262233; Fri, 14 Dec 2018 10:31:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544812262; cv=none; d=google.com; s=arc-20160816; b=XR4m//yEfFFlWKRuiPcWjwGnMkDxPTXsfelUFzb6qjyX15SD8vOGJunwsjRWs6qKXt ama0Rqi1UeaJmFSlbGZot9/BmJ7TJz2gQcpNDpwHcz8+DebXnSUuejc8aiH0PXeuhCwu Xid6rKiHtDPZg5AiYsH031HozFG/ZmCOsiB1R8yTeBABTaENo9V/68tljGP4v9CvYcQR NkhY1ZmzidJe174vqrrhmCMWjsWmWDs4CEuzjVoYqyGHXFssxrx3l4qzLg1hjPNejRKB SIkWBmGMAeDCF3YNel6d8sRPKsFiqckQDN8++hqz18XmQsYTHF+TkKd+f5QePPij4kug K29g== 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=WQzku6LlFX2y3XHHy0PAdDBhO1kmwTgThkP1DPTlgro=; b=dlzwzRon7aD61uV8iFrYYwjR7Efgn103xgbInaiNV0ziEcxbQaM5KmbYbHtgBEYGQf 01lPesY8p3hiTCcblWTSLQF2yKaereRqOKNPs6YPS9qyC3BvbZrMOWFS9wqOKhH5Tt66 aGqn9K7nOJXbS6lbX8bYPN5eg8DHvx3pGk7BYEc7f7rXgZiAVJPJUt8/HKBVp7fgVJuv GBnck5b+ZPsIEoKSSdDeIiE+6YNEG6OTbKmZ2ntCb1U8Mt4vGY0E0O/zNikZaYew8Wq7 jE3VzXYnKE4Ff4PTQKH1hemLvLej0UG1i4h778aNbbdF/cdQ/Ek4u8+5d8FNu7xQ9NB5 4ycg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u+uGig00; 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 c4si4463648pfi.110.2018.12.14.10.30.41; Fri, 14 Dec 2018 10:31:02 -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=u+uGig00; 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 S1730564AbeLNS2h (ORCPT + 99 others); Fri, 14 Dec 2018 13:28:37 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46713 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730466AbeLNS2g (ORCPT ); Fri, 14 Dec 2018 13:28:36 -0500 Received: by mail-lf1-f65.google.com with SMTP id f23so4938439lfc.13; Fri, 14 Dec 2018 10:28:34 -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=WQzku6LlFX2y3XHHy0PAdDBhO1kmwTgThkP1DPTlgro=; b=u+uGig00RToWVZRStpG+adwo8E+wOKZZee7oCND96Iv+GksRsgcUq2xdmGBsCUrnls LzOZ3Tm9b/S4ADs5/YI2etKhdBYg++YwFy0eniQwbyI+IhxRPaB8d9HUeHXfbNqnsdEo MYeEElthppIgli3Swu4YRKn/goP7NS7EenJYU9kA/holHbXVpOuuPy22Mujpz+89Xagy MB06/2OUeIjmnhxHae1qKFmaVerR4ovAvnR2aNmI413ioRGaY0E49OD1Sbhi7yHExUmC CqXx4eR7Rby1xsmbcRHs2DHJhZsSwvQ5gb7TYlROaipmJjPgEPRxNOkLvhUC0heAvMaJ OiXQ== 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=WQzku6LlFX2y3XHHy0PAdDBhO1kmwTgThkP1DPTlgro=; b=TxBC+0avj8fO+0WAgGKLMy+kfYcrLkklKMrZA+O7Bj0rkLMuB27K/7VcS8Jprv89bb BHxhAHC7GohmkDk4w6f+2whQbqtjFL+yyz2MzAk8wTVBvGFrukYZb0xauDQvxnfe/4UN RsPTOjDDsxPwm/pKm6+gxEouIZHZLiu25auzDxxcGsZ7E5oQEjIJd2Y6Gd3y+1LtUXNi /SFqF+D8TNUDjeQjT91axH3j9D4jM+Rn3vuyfOt/3uh/4x+DdfsFK5SgiMmsorTrFjmG AYWLUITTuqHhf5ENjSL01Dih5Cow4KJ77iQqoAaCsjjeUSYNbQnGRotx+rZbv6UZTdrk jYxQ== X-Gm-Message-State: AA+aEWamt0tY5ViU4oW21mJxuv3A58d3kKvH2cfrpuoGjrW6h40A/rKu lDQnBW9loFjZbMEYzMxaqTyc3Uuj50k= X-Received: by 2002:a19:945b:: with SMTP id w88mr2299148lfd.15.1544812113370; Fri, 14 Dec 2018 10:28:33 -0800 (PST) Received: from arch.domain.name (89-70-220-87.dynamic.chello.pl. [89.70.220.87]) by smtp.gmail.com with ESMTPSA id e14-v6sm947961ljb.31.2018.12.14.10.28.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 10:28:32 -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 v4 3/3] iio: chemical: sps30: add device tree support Date: Fri, 14 Dec 2018 19:28:03 +0100 Message-Id: <20181214182803.9006-4-tduszyns@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214182803.9006-1-tduszyns@gmail.com> References: <20181214182803.9006-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.20.0