Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2875392pxy; Sun, 25 Apr 2021 07:00:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwodRh49UHa/t5wtPMwtqhC0Wn5hevAtjEUSxEsumtk2NTt1EEv1Rw30wHhr+PnFJF22F5N X-Received: by 2002:a17:902:9349:b029:ed:2b9:5a02 with SMTP id g9-20020a1709029349b02900ed02b95a02mr6079186plp.54.1619359251608; Sun, 25 Apr 2021 07:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619359251; cv=none; d=google.com; s=arc-20160816; b=xlw+55XsBIfn9oo2isNmwwQJCYRev1DkQNFDnHUu7eMGXrLCKk85aJewvIemC9lx58 7B0wDqXD8r4QGdy+KuinjvdMc4aqPDSETbBZfWUarsX0uX2YTyOpNBwtMAy7Or73m3rW 0Yy08Bl5h50PYUUcHeQwynSVUZfTK50i3ZjG0EYCx2S1OtH+eIFvogDOzbgF0F1pREj3 fYhcUswz9o65YFkT+bMtjBPNqJw0qqzZJ+LHD4gbo7EAFDHDo2W3br+Hq+Ocm72YDIRi xCwPeOGzoZ3mDt6qqB3Q1RorMsp1PTsCeKDYxItYNznAGvLGe8eytGNLCf6QRyXWyPfD GNCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+MejxvS0/lC6Qan0+yriBDNHyVnRA7U2rlRgssFQv9U=; b=COnoIf7YQ55NxVOrmjawKWetGWLa13FgnC0GZ5w7LUDCOXOu0va79PUqBf9h0bedL6 T+3k6/Pc3zot8W0e+JdUro1YSrtXOugM1VLIbxq5lz+0dVgmb/s+qvNOunH8r028nA7Z 4610xdhQ+CHA+iLRy1XuXtNoftQkkMnFatMsEs+af668WG0lP+vJ7j/cYdywj0lHWjN2 s0Oc5nQrGfIv8i9nFrUTssVWPEyXnUXx6YIALstzEvuro8e2xQrGf24ZmtvXBST1Dl0h gnDZxhGMuHCUnrxpJlrTs5iF48uyhFlUmxNQ//QbHwFQTBNCYdEvBPGh/AMmNvr7JvMs HhVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si14295885pgv.566.2021.04.25.07.00.39; Sun, 25 Apr 2021 07:00:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230369AbhDYOAm (ORCPT + 99 others); Sun, 25 Apr 2021 10:00:42 -0400 Received: from smtpout1.mo528.mail-out.ovh.net ([46.105.34.251]:51947 "EHLO smtpout1.mo528.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbhDYOAk (ORCPT ); Sun, 25 Apr 2021 10:00:40 -0400 Received: from pro2.mail.ovh.net (unknown [10.109.138.141]) by mo528.mail-out.ovh.net (Postfix) with ESMTPS id 35422A236485; Sun, 25 Apr 2021 15:59:59 +0200 (CEST) Received: from arch.lan (89.70.221.198) by DAG2EX1.emp2.local (172.16.2.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Sun, 25 Apr 2021 15:59:58 +0200 From: Tomasz Duszynski To: CC: , , , , , Tomasz Duszynski Subject: [PATCH 3/3] dt-bindings: iio: chemical: sps30: update binding with serial example Date: Sun, 25 Apr 2021 15:55:46 +0200 Message-ID: <20210425135546.57343-4-tomasz.duszynski@octakon.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210425135546.57343-1-tomasz.duszynski@octakon.com> References: <20210425135546.57343-1-tomasz.duszynski@octakon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [89.70.221.198] X-ClientProxiedBy: DAG3EX2.emp2.local (172.16.2.22) To DAG2EX1.emp2.local (172.16.2.11) X-Ovh-Tracer-Id: 8493507424671718423 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrvdduiedgjeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkofgjfhgggfgtihesthekredtredttdenucfhrhhomhepvfhomhgrshiiucffuhhsiiihnhhskhhiuceothhomhgrshiirdguuhhsiiihnhhskhhisehotghtrghkohhnrdgtohhmqeenucggtffrrghtthgvrhhnpeevjedvkeeuieehveeggeduuddvhfduhffhhedufeejudehkeeuhffgheduffduudenucfkpheptddrtddrtddrtddpkeelrdejtddrvddvuddrudelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehprhhovddrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehtohhmrghsiidrughushiihihnshhkihesohgtthgrkhhonhdrtghomhdprhgtphhtthhopehrohgshhdoughtsehkvghrnhgvlhdrohhrgh Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sps30 has gained support for serial communication so add example to the binding file. While at it remove reg property from list of required properties because it's no-op in case of serial communication. Signed-off-by: Tomasz Duszynski --- .../devicetree/bindings/iio/chemical/sensirion,sps30.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml index a93d1972a5c2..967500b7e773 100644 --- a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml +++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml @@ -22,7 +22,6 @@ properties: required: - compatible - - reg additionalProperties: false @@ -37,5 +36,11 @@ examples: reg = <0x69>; }; }; + - | + serial { + air-pollution-sensor { + compatible = "sensirion,sps30"; + }; + }; ... -- 2.31.1