Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1921293rdb; Tue, 20 Feb 2024 10:52:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXPCotq40PmFnFx2uvFxaxO3+Igm434Otry8YEpfo5295xooDbsrFd8BIP+BDUJIZZPeD+Caq/TbEEGH6NWY/MZORA1yzZAsjiZC1URKQ== X-Google-Smtp-Source: AGHT+IHKeuWjrDZJniwXAWnrsDFf0uEp/SVIwlMAFsyKt7vJvCIew+pcfWaf3lRtON/NhMbUCztV X-Received: by 2002:a17:903:1250:b0:1db:6dc0:383b with SMTP id u16-20020a170903125000b001db6dc0383bmr18474869plh.41.1708455172162; Tue, 20 Feb 2024 10:52:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708455172; cv=pass; d=google.com; s=arc-20160816; b=ihZNT3ZbqIWysBuywRXjoPnjGoj/8hiy+fmlvjfJ5HFxhOJKs8s3EOQt7CRKy5y2ff XAiV526PYAF5kLCauYWwSVXA+MyCz6sALnG1Bh3exV/aG0Jvjt0LU11Pv8UBCd6YHshw 1DvpKXQzlvqV+5cmJEffiySKDU1MQDnGpXgN5k8j6fde7uzvOSlfrhlcwzMvNks3Lkq+ xhiRJm1p6g7IjnvVm5hhwPlj9FGEy3ZGUjUcRqBT++JFeGEi2dCwsrnlGcNRzL2PKipu srvNG22Z7DyQFzebVTPgJgM4sEquwnWQIAP5fVr1YXQ+sAwsu6YdbuZBnkRARyixjRHA ybTw== 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=yMWPF3hoSVT29ryJBcHCWLjLQ1ZqwKpEkJPItfp2JNQ=; fh=kyzOc1ir/MWAOw3PRRNqnGqj3xF4FUq/i3cJX/z7Aow=; b=UWBTqRxpjP9b3QDj6/9KpoHueLrLUQ9kb2SB7L4PQ+Lqs2RUSp0DDuYLU1XFMTJIaK Alt+GuvO2y2JWw751Xr42/W1FEvacK/ADkI6mINlLRtVFkTQtgm+eya6LXHYKjeUlbjc 5jCR2m+3CwrbtmqgLc0tRAqmKNrFQc/V1Dlfct+Ur31BSbeiHSsBCCfwVwC8coIRE9U7 xF64NEp+B3RePhUEl0pqEfhC361u46IsdqlngSWdASyhV02LsmiBQ9qMIcBfiuIG/sGf HW/GtclMn7HYYuzyUS+fRvbyDHgyEP3JMrvjOPZTsreVzu7M8JPLRnKnFLtsPE37Orf9 /YMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OeNPi9sX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-73548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k18-20020a170902c41200b001d9f57ef641si6710108plk.425.2024.02.20.10.52.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 10:52:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OeNPi9sX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-73548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73548-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BB3982846F8 for ; Tue, 20 Feb 2024 18:52:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 822A412FF62; Tue, 20 Feb 2024 18:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OeNPi9sX" 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 9BD867867A; Tue, 20 Feb 2024 18:52:44 +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=1708455164; cv=none; b=LNPevMSDbVAgGQqKW0xMjKKKVxRFFUer5sh+gUWqAuH32flEboYSRNj1/Dxn0pSfbTnyvOQHiVqZnSh5wreWZb8z/hHIrqC4XL2diCLdBNcPLfeYXT5KSMY9QMWW6AKxvaKoa5gL/f4zK5P2Zd+ShQClkKRO6NyjYz8H8FgYN/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708455164; c=relaxed/simple; bh=hIyvGKECNml8BOk3Zh1T6U7K5fqanwk9IvN5YMXzbIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xp0B9SV3tGioXM+TGBXC2qLv5btI/TlXhEcdQb4GsSK7TNJ9y4v9gchrwhwAozUZAJw9yGwN2YiZ0fF/p0TrinwlPkMckeObmtS7CqvlYdvzJ4hJXhL3YAkU8r6OSJJ4F+Vz0ThrChYjzXoQZVxBDv8ZXQJd10dz6YjCE0kfdOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OeNPi9sX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90FBEC433C7; Tue, 20 Feb 2024 18:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708455164; bh=hIyvGKECNml8BOk3Zh1T6U7K5fqanwk9IvN5YMXzbIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OeNPi9sXybX+V1U26X7t5BRpgQ6ca6bckj/2dKyfdOYKyEBOjZWRIevkTFQZWrFTe FlaefYoUwRCw9A4+vyKiRL6NzRMVO0ZVE800T/M2q24cFVsYtULdz/UYozjVGxEcVH /a8AVPi/OVA91z8z2GLMvzuF2Ug++UFHTn2YavxgF4PQgrK0w/OPyFoyRaqFVboJ31 d8kYUP2SlgMU+MzKpYhJ2fYfUm6eFGJ0N++kFliphJsPGpXI7jsD7XzIAwC2EPmkMX h84J9NmoGUJcqdTJUVFtj9cPBhZAdei9RLxnWZXpbIYUwuAXmiOCYzlXlSXbrFt5JZ UiMM3itax2/xA== Date: Tue, 20 Feb 2024 18:52:37 +0000 From: Conor Dooley To: Dumitru Ceclan Cc: 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 , David Lechner , 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: <20240220-outmost-flavoring-b2593160de91@spud> References: <20240220094344.17556-1-mitrutzceclan@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="vLHcLCfBcKKsyixC" Content-Disposition: inline In-Reply-To: <20240220094344.17556-1-mitrutzceclan@gmail.com> --vLHcLCfBcKKsyixC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 20, 2024 at 11:43:38AM +0200, Dumitru Ceclan wrote: > + interrupts: > + minItems: 1 > + description: | > + > + interrupt-names: > + minItems: 1 > + items: > + - const: rdy > + - const: err I noticed that for minItems == 1, the rdy interrupt is required and err is the optional one. With that in mind, you can simplify the interrupts description so that it describes the interrupts separately: interrupts: minItems: items: - description: Ready: multiplexed with SPI data out. While SPI CS is low, can be used to indicate the completion of a conversion. - description: Error: The three error bits in the status register (ADC_ERROR, CRC_ERROR, and REG_ERROR) are OR'ed, inverted, and mapped to the ERROR pin. Therefore, the ERROR pin indicates that an error has occurred. Otherwise, I think everything has been sorted out? Reviewed-by: Conor Dooley Cheers, Conor. --vLHcLCfBcKKsyixC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZdT09QAKCRB4tDGHoIJi 0pbnAPwOogZk7FYWbEiQymCF9QbGN2aePmxNXySm/bbh5Ae6MwD7BBgqXRFfmPWm pUBnH3bEbmLCIOA+mYKHA5Nq/zsZ5gw= =b/7e -----END PGP SIGNATURE----- --vLHcLCfBcKKsyixC--