Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp817141rdb; Fri, 2 Feb 2024 05:09:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjZcg+P5XCCsv48t6PeNDRFLsnligJP977jSbnUE8dGj12bOXFVIaxxUQ3pYFilKEwyGhi X-Received: by 2002:a05:6a20:e188:b0:19c:5745:8c3a with SMTP id ks8-20020a056a20e18800b0019c57458c3amr2262716pzb.5.1706879356800; Fri, 02 Feb 2024 05:09:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706879356; cv=pass; d=google.com; s=arc-20160816; b=xHaVy+69bDitutB/lyJI+poXAMav5+lgLJBN1W/uCUzXv5CHOcfByElAp/metz8JTZ SoiC8+mtgrwuNM60xjObDB/yi7zbXACnEqlGqBiCTGRs4wE7mWyZ5DwPXPDzaHR2hr4g 5vWU9ZsFGV0yl2hDXbhfZNSpEyji4mnQVQmVRtRqLR4ulJ2eszrHskdKUpFRMWeWB+xo n6CmMV5sQhz9bfYVlaHWvLBMSOIHDr67q62GMM3kRdfjaFilEE9+fE3dh6k4Ge+FQF9b 8vBIvd46wnHGwayxN+vOc1te9CNx9lp+FfA6GnAO78odefzfnEsLKtcUsa3ftTuyKefY GyXg== 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=rQIYUc5pp3Rz7/dcNH7XPkmrEi1ITVoDRHNWKXuedXo=; fh=IfbhAqBIP/HzE/+Sji2zBSD7TUBXXWo2uUUg2YbWAvI=; b=SXOGFVZqAioXEYlaAV/zA6lJEve+35K9WOACcJhSrfO9ePqmS/02HJobpSSBJTeRrJ PKgcuVILedDS3WYlborMHYWuEuIFeJLv2jokkgVpkCMNqf7jPJBvKq3G/x1OBOuyk8q6 lwlR7iJZapZOxyemFlB7aGk2ziul+JCsqJRi0yydlesn+Z2JpWTYKt69VOk7w/xmG40e fxzyQK7/xQUwaanjkvMPdHUyUEfAO3EacYsaqv+mUo13A+qCro9l+It4/0rz8JCe+g0E 2BVGtgCGxF3CR5/iimPjdYCIh2PF1eDJRyHD1AgLnbLmkeDrGyNNrxd0r+njbxuH3NQ0 WL2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=jy0ECwWN; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-49878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com X-Forwarded-Encrypted: i=1; AJvYcCVEJdnFS8Rf0eR/W2NJFrY/50OWzhvk5cPp7nYKhifJmL9mjpR+BzdTVV7vnBsJE7zl0uQt2DScf+uQ/Piy8RWuGS5RkTLl6Z30Hgpf4g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s4-20020a635244000000b005c5e24d4364si1526430pgl.428.2024.02.02.05.09.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:09:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=jy0ECwWN; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-49878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 5ACCF290718 for ; Fri, 2 Feb 2024 13:09:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E553E38F97; Fri, 2 Feb 2024 13:09:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="jy0ECwWN" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 90A8446A1; Fri, 2 Feb 2024 13:09:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706879348; cv=none; b=mE21/MIFprdPMXHoBlfYz4LwJzfyp/mA+gVD8L3M+P2yThyHK/p2dC2Do6T8tfSojTuLv+fHusvG4vbyS8HKgarQdQ5vUi6ZPjfwc5hNJi8fB8jJO2W1qziu1qgmk4wUlcXZVT0/IDoW1xc3XVCFZth2qxNRRKee0RvNVuOvwpY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706879348; c=relaxed/simple; bh=rQIYUc5pp3Rz7/dcNH7XPkmrEi1ITVoDRHNWKXuedXo=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Eph7InxdcQKOlkzOVMkqUQFPR5UhefP/D3ycbgHM3zDocb50y+5hkwAwk9740gVc+nWM+0cP5nYX5Elta/g39cHip0egVW0C0nxGcqzTKPgZbB6/lJXKrR5bYRZ9GkInkZ6zC1YnL9nz8Yp0i7acBVwU5zchL8rj/9R8Y8MQkqs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=jy0ECwWN; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1706879346; x=1738415346; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rQIYUc5pp3Rz7/dcNH7XPkmrEi1ITVoDRHNWKXuedXo=; b=jy0ECwWNdkA3ZIhLRXIkCY8Cvu2s4zBdNZBCBs/aESvmf4EfA34a/9kT 6GjNU/y9kgFFhP3CDQZbq/1gE0liF999BWSxleSXD+iw/4+z8K+pzea7i vxrUP+7CXcnM5YEnc2Vk7xXCggLVhtPg/zFqhq0uUzFywOnVj5ZBVuxvb LsjAYyE69q1Fql74V9l3NX3YPSZ2Inp8aYmQqO7NwR4o9nZpuwu6NqCS3 98Dq+H0KK/2A66d9kdl5Ic3rhMjecvb4OMWLplJSZdJCAyOOTBQhiWlzY z8fUVgcCcUXXla1GLJMKYTAVk5eqrHnPOeIjMVa+tKt2RARqthqYxX7kh w==; X-CSE-ConnectionGUID: YxDka9K6S3205y8iAzi+Sg== X-CSE-MsgGUID: 2jAMHJV2RTq2Vh02+X84cw== X-IronPort-AV: E=Sophos;i="6.05,238,1701154800"; d="asc'?scan'208";a="16183861" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 02 Feb 2024 06:09:03 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 2 Feb 2024 06:08:32 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 2 Feb 2024 06:08:30 -0700 Date: Fri, 2 Feb 2024 13:07:51 +0000 From: Conor Dooley To: Peter Rosin CC: Naresh Solanki , Conor Dooley , Jonathan Cameron , Krzysztof Kozlowski , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Subject: Re: [PATCH v3] dt-bindings: iio: afe: voltage-divider: Add io-channel-cells Message-ID: <20240202-shone-footwork-b247b1ae8e06@wendy> References: <20240130115651.457800-1-naresh.solanki@9elements.com> <1c855a34-8a0d-491e-bfd2-24635b41c86f@linaro.org> <20240131163516.000043df@Huawei.com> <20240131-stylized-defile-d8fe346ab197@spud> 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="usQcF2wOq7nJ/0DO" Content-Disposition: inline In-Reply-To: --usQcF2wOq7nJ/0DO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2024 at 12:49:26PM +0100, Peter Rosin wrote: > 2024-02-02 at 11:43, Naresh Solanki wrote: > > On Wed, 31 Jan 2024 at 22:24, Conor Dooley wrote: > >> On Wed, Jan 31, 2024 at 04:35:16PM +0000, Jonathan Cameron wrote: > >>> On Wed, 31 Jan 2024 09:29:59 +0100 > >>> Krzysztof Kozlowski wrote: > >>>> On 30/01/2024 12:56, Naresh Solanki wrote: > >>> Conor requested an example of the device acting as a consumer and a p= rovider. > >>> Might have meant in the patch description? > >>> > >>> Conor? > >> > >> I wanted it in the property description to help with understanding when > >> to use it. I don't think the extra example nodes actually help you > >> understand what it is doing, only how to write one yourself once you > >> know you need it. > > > > I'm not sure if I get it right but what I understood is that a > > voltage-divider can > > also be a provider to other devices & hence the property. > > Also do you want me to put a complete example of it in description ? >=20 > My understanding is the requested example in the description should not > be exactly /how/ to hook up the voltage-divider as a provider, but > instead have some words about why it is interesting to do so at all. And > those words would also make it clear that is even possible. The latter > is something which, to be honest, is perhaps not all that obvious. It > has always been totally obvious to me of course, sorry for not being > clearer when I wrote the binding... Yeah, you're right about what I was looking for Peter. In my original request, which I think I already linked to in this thread, I said that I would like an example like the one that Peter had used to explain to me the scenario in which someone would want to use this feature: https://lore.kernel.org/all/536971eb-51f0-40e5-d025-7c4c1d683d49@axentia.se/ Cheers, Conor. --usQcF2wOq7nJ/0DO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbzpJwAKCRB4tDGHoIJi 0uBFAQDd15cD8MlFITgRCGGrILqvQfUUTBlUwpZKIBO44nEglwEA4kyJoMeP6ch6 GVduioubFuEAahb5xAJrtGAOnY/jjgU= =yUBY -----END PGP SIGNATURE----- --usQcF2wOq7nJ/0DO--