Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2577086rdb; Wed, 21 Feb 2024 12:02:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW/tV4roxv27aH89BUuJN9NxvSAG9wMHPUiJeXtYyvwuWqHjzqRkdvzzXLMZCIinOtkvy7Wgks3J8siC0SjQRWfjxDFkLxaRhkDdAXqZg== X-Google-Smtp-Source: AGHT+IEmAEwFgVy2ynsTvj4HXF+MKhdR3DI7mtuWIlC3lZ8W9o3Oc1Rt1Zlxr2sJNgof/EdMlPC/ X-Received: by 2002:a05:620a:1366:b0:787:3e6c:f33f with SMTP id d6-20020a05620a136600b007873e6cf33fmr21010664qkl.4.1708545756993; Wed, 21 Feb 2024 12:02:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708545756; cv=pass; d=google.com; s=arc-20160816; b=abFbYTXUWdi5uFeo2pvXVQiUwrywvkhHJyKtTzTnIPQEqlWjxszce0XTpiyfBejktG DmPP2FZbITdVfdIff3yYSgXj9b94z27L/acXk5X8K7XQ0jOEDvwaGaJQd5nGyHeSDbBf ANVo1Z1yDsJBgWS3nTW1tsBqFAInnHxFkfm1vJEXdafDG2vkPx9Hs2MBmdfLvfyEKV0J VUX0AQ85pGZkzAvBJ0xf5ZwWyahJPQebFy1aCy8bSW+dEK/z+SYJ86pMqUcvR9onBRIJ rRI16LlVfzG0FUfyFVDQLkuYiV12/W702dAR7y9bdhch/vcF4dBJg64fr1HTBdKMOpf6 JCjw== 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=4O3CLzDJ80sXQw2tpVcYzoli149a9k9g5SBA3EBtHOA=; fh=b/m03isfqf5IvGMoLU+0zrfdckB9Ph+KEdKLO+es4B4=; b=DgNsnNfpaUEbMsG1XdUNmx6YwRJT3EfGjWBL+Yepp8mkS/MiA193peyWzCf5CN6asl bM/y+ehQzlDl1Y1COpp52p34Dd0d59AqYAmJRAu2kxCHTbJVX0XTeqpxp/cCGEP8NxJ1 VemRnEh4no9evlD0Js2q9KrgluoEcpj1UdZwWOZrPWtrEAbMSe+bRACk+r8zv+Y0kCd2 6rMVDmHoAiTP7N5KeoNzzXxkH4VSrwxVa7dU7vyGeD4g+Sa4y6mlRpyMKPks//B/gHnQ OiX+sJHRbrT3KZi53ksP9nYnFp6BEh7b6fVJBLFUsguNlxSAH9KYq630Gvqbx2HbHUoU 93Dw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aUChUiHS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75438-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75438-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bm34-20020a05620a19a200b0078792e619b5si1066346qkb.262.2024.02.21.12.02.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 12:02:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75438-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aUChUiHS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75438-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75438-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 716611C22410 for ; Wed, 21 Feb 2024 20:02:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C07A126F28; Wed, 21 Feb 2024 20:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aUChUiHS" 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 613131EB26; Wed, 21 Feb 2024 20:00:48 +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=1708545648; cv=none; b=fCSl5PdcCT3UjgfYVLoKXoBOOGw/1WqFAnUWBuG90VYob0bRWnRQaZynhy5GLVMUhg2XI6SMAmAZEiqC2qIUKo02sfg8SdHBrgdSbj+diswGdXOcRraJnkbNLaw3d5GNn+f4sdanA8SdCh+j2V3f3NiGXD874ifbUP5RznIFXZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708545648; c=relaxed/simple; bh=qcA+UO/4y3+iSG1ZjNhr7mI/EtGsyTLxSjE9iOG6zXw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ry93mLRhZrH9lm2GRn8PoqYVRroRCc7z6A+ZQvlK8sniXIScJ94zF9FMhwVEfZcGw1fggrjb0Vfw7YYsOfQprdZAzPXortVWIinNGpXBI4BCzPGwsm04BUXvz5UlcYIhAwmhgLOnLaVOse/3GilovAxRfDjxAjkR5EkRHZ/TffM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aUChUiHS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D984C433F1; Wed, 21 Feb 2024 20:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708545647; bh=qcA+UO/4y3+iSG1ZjNhr7mI/EtGsyTLxSjE9iOG6zXw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aUChUiHS1R3gt7+GTv1JP80f+HdLJiQpHdQe45D2elRvVGZjdtCdeump+fk2gYyH2 CWXwNqq3GsYuWbpDHsdxX+MmV5Nz10HlnxX5TUSsBwzStx5p7ttz5guYp+V4vUqwGY /tOXdB5wK07+dNBsNljJIChgL172hrKedj4SUXxWq3kkdeA9W4XhhZKOUnzhTGFfKH NC3I10ne4TAFA5w2Tyu4Z0DXU4oshQmZu+cImmcFBbaOUfaSqLQbTpcC745oVzTDrq w3q63yfDQ3CdyQYijRnzuzsj/sK+gOFkga8nrZotLytHdw+jxtD+qkF9113e//q2SB DMhi853JKfijg== Date: Wed, 21 Feb 2024 20:00:40 +0000 From: Conor Dooley To: Ceclan Dumitru Cc: David Lechner , linus.walleij@linaro.org, brgl@bgdev.pl, andy@kernel.org, linux-gpio@vger.kernel.org, Lars-Peter Clausen , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Andy Shevchenko , Arnd Bergmann , ChiaEn Wu , Niklas Schnelle , Leonard =?iso-8859-1?Q?G=F6hrs?= , Mike Looijmans , Haibo Chen , Hugo Villeneuve , Ceclan Dumitru , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 1/3] dt-bindings: adc: add AD7173 Message-ID: <20240221-grief-situated-575ce257f6ff@spud> References: <20240220094344.17556-1-mitrutzceclan@gmail.com> <0fa819d1-2a0f-4243-8e5f-a098528278c3@gmail.com> 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="Gq3jLFI+SugAYTYF" Content-Disposition: inline In-Reply-To: <0fa819d1-2a0f-4243-8e5f-a098528278c3@gmail.com> --Gq3jLFI+SugAYTYF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > >> + > >> + diff-channels: > >> + items: > >> + minimum: 0 > >> + maximum: 31 > >> + > >=20 > > Are we missing `bipolar: true` here? (since we have > > unevaluatedProperties: false) > >=20 >=20 > No, since we are referencing the adc schema "$ref: adc.yaml" > Which contains: > """ > bipolar: >=20 > $ref: /schemas/types.yaml#/definitions/flag >=20 > description: If provided, the channel is to be used in bipolar mode. > """ FWIW, the difference here is whether or not the binding for the device contains "additionalProperties: false" or "unevaluatedProperties: false". The former requires "bipolar: true", the latter does not. Cheers, Conor. --Gq3jLFI+SugAYTYF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZdZWaAAKCRB4tDGHoIJi 0h0tAQC4eO1DowojEvVagFKPsHMUGG8afYTYGfkExi7A6fMnhAEAjWIamj131REA D7r8rgqBpDk+FKzG6L4DcLAG3X2LMAU= =rUvt -----END PGP SIGNATURE----- --Gq3jLFI+SugAYTYF--