Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2174450lqa; Tue, 30 Apr 2024 09:58:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGFOurPYIiQoaD/t7GgIBUGcCjGQlPDBiGPMBtoVGnnbikzwh93A4rTpMQX27+9hWrJTjrQlNy279IJd8P7p5KsT95lZiJVu1e0CvTnw== X-Google-Smtp-Source: AGHT+IF++7UcVm1foZVxE5KcNerK9lT27Ytxr6YdmYMdzyuj9/AQ+Xl1oGZLJ6Pmz1LJXjoY08kN X-Received: by 2002:a50:ab51:0:b0:56d:ed86:c6f4 with SMTP id t17-20020a50ab51000000b0056ded86c6f4mr290307edc.11.1714496293030; Tue, 30 Apr 2024 09:58:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714496293; cv=pass; d=google.com; s=arc-20160816; b=DJdNlgtPbmmy4iSALNanFCjadbBvUBc3dhnFoSg/sHOYMaK87t7oXLPbxydV92I6pX pKA1bYumR0+MNI8dYhAqXVLmg2pdTAb7y+9hroF2+7BYndRSTnQ/ymSWLQEQNfr56Dmx uxR+kIuh7Qh9hh8UOi1YLYfIk8cwn7UK1UR/6bxHWU1MjCMV7+/W0oz161T7Z6TMIWgP VBjoziwUWqwgJnO2j0moWW+nMPw5qmNkdEuUncGXdK1uUXGL3KK0Ma947d0vL9e70yTb yYMVN2BQOcerU6SDESsz4cqGq5iEeS6drwws2ik+0cu24bwxKwAgEyDBb4aclLHyufbc QKdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OupWO/TjywuLi7wsy9EQJ8L79LkHTkUtbCCbNqQIWyY=; fh=h9FlzOnnztIonMF0dS3S9lfbINOKMeNNSLO/hMohFjo=; b=jMuJ4BKqThqYy4+TTYfMfW145nt/ADW4rwC/eg86QnOTuII0k6sDBUj0jzeuNsgbUf JG1MA8fhaPwg1f2Slvf+B7D92t2ID9Inpjj5jwFKmcLZZyZRDnFqjamNr6EviyFRWZSg 1GsJsvqHi1GTpWlscpIaZoFLeprwcQ3LhUr9XJ7rYXTzQdWiZUzkJ8JusOQGLSLMrQC0 UH/vQRkaHuJ3tAn7rwifO17AC8eGpS0nbtC5IVtvUevH2pUMTL+aBnoCglnpO4ujo85H gaivKVotPsD2C19gsE+GxbFSfjs6v1+KB5BcRcWQqbAw3oAbiUYjAojH8czOuZkTFh8m 88qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GYw/+70G"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164428-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y69-20020a50bb4b000000b00570037517bdsi15273844ede.255.2024.04.30.09.58.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:58:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GYw/+70G"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-164428-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164428-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0C2201F253B5 for ; Tue, 30 Apr 2024 16:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E971017BB18; Tue, 30 Apr 2024 16:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GYw/+70G" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1602D3E478; Tue, 30 Apr 2024 16:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495838; cv=none; b=O+jDpQ3ZdoSZrmQDOnz/mkGDjCCOLH/XZPHfN4fzd/OuGtVphadR53/dwme8idrp6PaH3JZrszEiPCo+r2dQey/4Z/WT6uMgpmSaGIK/nrV9oONtLpXlRYYji8Tlx9b0XheHlyc2yrmcqLe6bmiTnFRDYAujB62RrOR90qrRyN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495838; c=relaxed/simple; bh=+8BHDhVWwVu3GS/P6257Ar2vN5PR5hR2kbbOEXpfh2U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Thb/Bc3PKN5aZ1YwRkOXHC0H7xVZpTMH38qc8oAZ2I1avwmUB1Li0OQsA6zdt375UcbKNQRnj6fEBMzxLztJ+WXQnxQWNYSg33QSbtG/arTU/MMSTIK45DGC/MJ3Bz97Ymsy810WhpD25BMdBnjdzEkEguL2uJLVqEtcF+IKsXc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GYw/+70G; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 614C8C4AF19; Tue, 30 Apr 2024 16:50:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714495837; bh=+8BHDhVWwVu3GS/P6257Ar2vN5PR5hR2kbbOEXpfh2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GYw/+70GS/6au2WPmHmgN6Thwkz1jyh5nzE0aVBcHp5R8AGFkbDg/60lLzUON2yOr 0AA7m/Ip0KSjiWokQcRrwufFC2GQiOyYI8peFJVct9i286zTth0Mx3Mj9cO6cYNz0y SsnJgtdb2oTF9hYObwXKidRNrvCby7x/CqBtrcDEy0JuLqL9XefxqiWRls+HVTudYd NCwaGXjTbF6CqXi0o++rYtH2vq+E4Q9L+3ZmetFrQsombmGf0Xw/J6tp2J7MTyt9MT dDdtGCrNSnpPOZ789+Ya2cdSdmR+c4ngEMCL9aSMWZq0RbZWWCB0a/0/avw3rGCUUt q+Zq1rc0nel8A== Date: Tue, 30 Apr 2024 17:50:33 +0100 From: Conor Dooley To: Petar Stoykov Cc: linux-iio@vger.kernel.org, Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 Message-ID: <20240430-unnamable-wrench-16c9ad780df1@spud> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7vbJGUJ6hTxURdMU" Content-Disposition: inline In-Reply-To: --7vbJGUJ6hTxURdMU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2024 at 05:27:20PM +0200, Petar Stoykov wrote: > From 60f5cc7f65b07124f19428a713c3bc33b9e4a7a7 Mon Sep 17 00:00:00 2001 > From: Petar Stoykov > Date: Mon, 15 Jan 2024 14:29:25 +0100 > Subject: [PATCH 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 >=20 > Sensirion SDP500 is a digital differential pressure sensor. It provides > a digital I2C output. Add devicetree bindings requiring the compatible > string and I2C slave address (reg). >=20 > Signed-off-by: Petar Stoykov > --- > .../iio/pressure/sensirion,sdp500.yaml | 39 +++++++++++++++++++ > 1 file changed, 39 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml >=20 > diff --git a/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp= 500.yaml > b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml > new file mode 100644 > index 000000000000..3cdf17df7d52 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml > @@ -0,0 +1,39 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/pressure/sdp500.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: sdp500/sdp510 pressure sensor with I2C bus interface > + > +maintainers: > + - Petar Stoykov > + > +description: | > + Pressure sensor from Sensirion with I2C bus interface. > + There is no software difference between sdp500 and sdp510. I see no mention of the sdp510 elsewhere in this patch though.. If you're trying to add support for both, then add a compatible for the sdp510 that falls back to the sdp500. > + > +properties: > + compatible: > + const: sensirion,sdp500 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false Other than the fact that a fallback compatible might be required here, this looks like a candidate for trivial-devices.yaml. Cheers, Conor. > + > +examples: > + - | > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + pressure@40 { > + compatible =3D "sensirion,sdp500"; > + reg =3D <0x40>; > + vdd-supply =3D <&foo>; > + }; > + }; > --=20 > 2.30.2 --7vbJGUJ6hTxURdMU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZjEhWQAKCRB4tDGHoIJi 0iePAQCM8ZdEYabBqAZ3/N0J6SbfM2u1yiUsZg8ucnxWo5QYVAD/V4T5PyyBpItg Cao4KMUjPMkbCG/iloziUb8n6okN8w4= =tRMX -----END PGP SIGNATURE----- --7vbJGUJ6hTxURdMU--