Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1936511pxy; Sun, 2 May 2021 06:59:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUThjxepR9zNc9kV1L+J3ODDsFCwRdOATxp8a+EWZS9n92+JqBi30f6KWc7yUL+0g/0x+U X-Received: by 2002:a17:906:90cf:: with SMTP id v15mr12732739ejw.432.1619963970237; Sun, 02 May 2021 06:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619963970; cv=none; d=google.com; s=arc-20160816; b=bIx/OW+c5n4jkavbiQk+1JqoGFRFpmj2JzUOexbi0Gos1I/HDnS2dMTKjbdfsOtGsI 4Bt1eRqWJ8YTzuJz9z1ijv6xQHvssUi0Cp7+wh51npDIlgaHpQIfB+xFHfR1eMuwX6+6 KsVk7ewJBWcPimwEW1G277XJa3/r8yECkcIm9LSfNZ6E3e8yMKhmkMOuqbt3qUSsct9u Iu+mzI2680KFG7ah01ba27y/mbDqdiQ3tkgaAeS1ttKQTbJwoevNcgdSOojnBHuGsnD/ y8qPj5z4t42w03J+0rQX0OzxMKEoK2e92Ot0/tC6BvPemUuZjPyKPt6nz8gelBozpsq2 svCA== 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=poZMy4CInoFHArJnISDeTMIxtB12zQEPHkaQDN0DrY+XQoPTNx9Cb8+Fki/cfm1wYB QXAWLipBgS2askIT9HLa6TW1Ey4Xr20phu7uZtYlY+wtKi0ep/sH9z5aJQU6CC/0KcLH zQyeu+ZCLRlk+9o5MiBeVgJq4A+mO+3JSdk1knzuB11cqqyxBAZlbGVhNsZuQIcjiKfU vjucZIVs/7Nwz80Zfp3ctN4Do0ZojxWeGUGFpDd5wHkTeSaUFJvUOpfMAtFVtxY0roKJ 0mDC063ND0ZV62EvIPV1MpmjB5Xa7bgGPUJPZdFMH5y+TJ5XVOb5Z8llXxStYWWUhp6b Rt6w== 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 m5si7778982ejn.599.2021.05.02.06.59.05; Sun, 02 May 2021 06:59:30 -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 S232271AbhEBNts (ORCPT + 99 others); Sun, 2 May 2021 09:49:48 -0400 Received: from smtpout1.mo3004.mail-out.ovh.net ([79.137.123.219]:59287 "EHLO smtpout1.mo3004.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232151AbhEBNtq (ORCPT ); Sun, 2 May 2021 09:49:46 -0400 Received: from pro2.mail.ovh.net (unknown [10.109.138.51]) by mo3004.mail-out.ovh.net (Postfix) with ESMTPS id 7887423CFEA; Sun, 2 May 2021 13:48:53 +0000 (UTC) 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, 2 May 2021 15:48:52 +0200 From: Tomasz Duszynski To: CC: , , , , , Tomasz Duszynski Subject: [PATCH v2 3/3] dt-bindings: iio: chemical: sps30: update binding with serial example Date: Sun, 2 May 2021 15:44:31 +0200 Message-ID: <20210502134431.42647-4-tomasz.duszynski@octakon.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210502134431.42647-1-tomasz.duszynski@octakon.com> References: <20210502134431.42647-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: DAG4EX1.emp2.local (172.16.2.31) To DAG2EX1.emp2.local (172.16.2.11) X-Ovh-Tracer-Id: 12521414339802323991 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrvdefuddguddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkffojghfggfgtghisehtkeertdertddtnecuhfhrohhmpefvohhmrghsiicuffhushiihihnshhkihcuoehtohhmrghsiidrughushiihihnshhkihesohgtthgrkhhonhdrtghomheqnecuggftrfgrthhtvghrnhepveejvdekueeiheevgeegudduvdfhudfhhfehudefjeduheekuefhgfehudffuddunecukfhppedtrddtrddtrddtpdekledrjedtrddvvddurdduleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhrohdvrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepthhomhgrshiirdguuhhsiiihnhhskhhisehotghtrghkohhnrdgtohhmpdhrtghpthhtoheprhhosghhodgutheskhgvrhhnvghlrdhorhhg 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