Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp707115rdb; Fri, 26 Jan 2024 08:17:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDLP0n4tOwpDS5NCAwNm2L2WECItRIl+sjs6iMkfiO35/yYVXMAm5s+Fh6hZ5kM6QjUvxP X-Received: by 2002:a17:906:f114:b0:a31:592e:fe with SMTP id gv20-20020a170906f11400b00a31592e00femr970062ejb.19.1706285825545; Fri, 26 Jan 2024 08:17:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706285825; cv=pass; d=google.com; s=arc-20160816; b=wDw8gsUXR3pIUia/Er4cUiqBsLV3/QRp9OemJQkOSzCWEDtsPIOyhjxN2yR0QsY4HY pPQK9sleiJhMt8/BVaiV2bEPLquOXEmKUMYADIq61sXiinsYcMcQi7hO2XPPZjVUOv7k Wd+XXgipb51PLCnzyNUxFC88ciYS9H574cz4mAtzmbDh318gAmdB6TKsXKhveTRD0GkA ulyPlv3cz8usDwXXHFzb9oNiLG90+tp67db99p0Y4gwxRSD5zCAWLr2RpFfXvr+7ah4y 5nDE/53OmQM2YUTp/cNhB1rlzB9ZebGEE0GxkepPaYH7HDRyuTEz3CAv5BIGYIVurCFd wBYA== 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=0nfIklSZ+Nod5w6HqKaUJHTLif8eiYRN77x4zanbPSI=; fh=sRMrVZh/OOjUrMyiuUeMLVOLRN6WGL64LflR+0lpIfA=; b=wN7DDZwGv9UmUhAYHAXlbbu7KFfTiThlAkvcXvxG7esqE8+l8zF5uTCK4KUWO4e1NC JlY5FILZ0YkGHAPsCrF2Y8XCvPxWPpllXkWFojZzhJeF0vgSnt1ul1aHJLEBo3605rNw bldo7VhNxwkM9f7MzlOnc8Q3a7fVtl4c4/ybmMeKGScec6K/bJak2V98WgyowKA2DQA6 9XES6KiTeqKBZo31J4ih/hMRRzI0tZFG3ldjwb0Hpt8WI+Hn8H4JcousVoJOK5QVg1vt yz+0u/HJM8TRsjbQJKlIX+oLxRkAqpMP4/dsAJcJltBx/mGdZrC4vswf/g0K5joXHdWF SiVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qNAb6POM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40319-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jt2-20020a170906dfc200b00a318ad9a8e9si727242ejc.618.2024.01.26.08.17.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 08:17:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qNAb6POM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40319-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40319-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 4F1111F24AEF for ; Fri, 26 Jan 2024 16:17:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D3261DA21; Fri, 26 Jan 2024 16:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qNAb6POM" 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 351E81CD3A; Fri, 26 Jan 2024 16:16:56 +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=1706285817; cv=none; b=KHADTA1udrZGlyvw21FwRopMgh3palwRGcrUgdbrBIzCxRTvOWVIU5BTO/t/vvTDujK73zHnltes2EIP0E/euLEl4ShJqIvmF4D4jW4/Q6mYNcAe4JBqCkJQ2vPD5GY8T80QmZEbl9IK+lK4B1WLZPwsF2gEfjhkLW7ps8pV6gQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706285817; c=relaxed/simple; bh=gwEC0mZ3wmaz41ZWSaPrbffP1dL0wcfSE1Ji9/A1WeI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eb86kpOBg7Mvyuux/E7vHrLaoZDwoPXaZR0coGuJGdxVPZuGbXhT0aeVjFFoidAUxCfVIKbWMipUbYTaoOeE+Ke2lawafW1V/Dx/Kffcvtq6mo2eR8QQfSegRGK5SCj89LndRsfzf5Wys0dyWpYrXh/CpOhmAyWNUXMLplgnlYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qNAb6POM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D9F2C433C7; Fri, 26 Jan 2024 16:16:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706285816; bh=gwEC0mZ3wmaz41ZWSaPrbffP1dL0wcfSE1Ji9/A1WeI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qNAb6POMddLb+6+2TnRFDDdm3RH0RanBaH+pOWI/j1l8qfSMXQic2dNC15xmUvYqf lF6AXbKdR6psvdkwf7IghSgKttTN+lumUKNt+gpliIqF62c0bxRBjglioVQTguwrtm zKrW97vKNKe/++9q2eCtv3F4j2+DA5iOkNYHbiptKCw4O1lGivv2qIi6VXaiTl1cLk oKWiBUnAE+w9ZHLrGn5es4HvO9nezNERyWcAyiTQ0Fl8tOkNW5MtiSCA2/OKu4PPDy VtbB6JkE8+fr7Ed9uJFegzjayN0oF+VT7eWICpXySLzCYZq/toy26kVd+RjtKauQLm /YXisbX7mWTPg== Date: Fri, 26 Jan 2024 16:16:52 +0000 From: Conor Dooley To: Naresh Solanki Cc: Peter Rosin , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , mazziesaccount@gmail.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: iio: afe: voltage-divider: Add io-channel-cells Message-ID: <20240126-cinnamon-flatware-e042b5773f17@spud> References: <20240126115509.1459425-1-naresh.solanki@9elements.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="wvdRtw+17GEGpdoo" Content-Disposition: inline In-Reply-To: <20240126115509.1459425-1-naresh.solanki@9elements.com> --wvdRtw+17GEGpdoo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, On Fri, Jan 26, 2024 at 05:25:08PM +0530, Naresh Solanki wrote: > Add #io-channel-cells expected by driver. i.e., below is the message > seen in kernel log: > OF: /iio-hwmon: could not get #io-channel-cells for /voltage_divider1 >=20 > TEST=3DRun below command & make sure there is no error: > make DT_CHECKER_FLAGS=3D-m dt_binding_check -j1 This shouldn't be in the commit message. >=20 > Signed-off-by: Naresh Solanki > --- > Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/iio/afe/voltage-divider.ya= ml b/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml > index dddf97b50549..b4b5489ad98e 100644 > --- a/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml > +++ b/Documentation/devicetree/bindings/iio/afe/voltage-divider.yaml > @@ -39,6 +39,9 @@ properties: > description: | > Channel node of a voltage io-channel. > =20 > + '#io-channel-cells': > + const: 1 The example in this binding looks like the voltage-divider is intended to be an "IIO consumer" but "#io-channels-cells" is an "IIO provider" property. Are you sure this is correct? > + > output-ohms: > description: > Resistance Rout over which the output voltage is measured. See ful= l-ohms. >=20 > base-commit: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7 > --=20 > 2.42.0 >=20 --wvdRtw+17GEGpdoo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbPa9AAKCRB4tDGHoIJi 0h7+AP9saceOMyUzytSlRwVy5YzQaZ0LZvk31o2TRV06wkAmKAEAoI8Ut9mMne7U uJOtKAI2Ng+E6A+XyIl9WbuaYrcXqwE= =kzaD -----END PGP SIGNATURE----- --wvdRtw+17GEGpdoo--