Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5626386rwr; Mon, 1 May 2023 08:30:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pyt5L9VEqp3HbKfDen1oFJPXxRfeyUrgjyTkJPEWDA/pulqu+G5L3C8co5wrySR39qMvb X-Received: by 2002:a17:90b:190d:b0:24e:9e6:7067 with SMTP id mp13-20020a17090b190d00b0024e09e67067mr2512424pjb.7.1682955026861; Mon, 01 May 2023 08:30:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682955026; cv=none; d=google.com; s=arc-20160816; b=WdRf80FJcGQBHMxguvT30E7QDLGRMrhVJrBDAa36jF5Q3KFWjUbfZmf0gYEZpJA6DM XSMXsJv7vGCPq0NRIWQ/QH5xbss9Hvy8hWmuaV0BVAxttzGV4xtXNawmWgYubTBEcG5h ZN+TA7PS68dG8RDIt+ENl7Q8dKgnxQff8IReTNiD3Z2mx153JKa0H88iA7YjJ9HggMJ2 EkT4cMGyvZWkJuCuoTiWEq5i1/coKU9hbI9bkgP+Ro6+wo6hTFdFpnKwCAqD6X4MQWPP c10rYJUSn5bAM7g4bpDyjYt66p/k7qgXaurstSegYjbEu1d9d/CpcV7pRI4mYXzLaSPM DNrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gFDN6bLp8zL7wU5/QhxQpfRj8mPB+BMMsp2tdm7X0l8=; b=mNjMhp0Ybb0PSFx7K9cvpTcSiYWuzHLA9/FIE4rc+He58njLrqKelllGj7IYXVmFD+ zejM35hEdUFCb8DZng+DpRtDaxOih/urRUFE6mX70ABWpIsXM2RfDVN9r2uYkDvtih+A kVNS/KaRmJTxgkWur/VlqFoln9DGR5g69PeINFP4TRL2LoBcJgboVzLx+9THs3h0OHEC CPX1gRL7ARSuOUkuZl6/B8z3zO94WHuCf886CUJcziZbiWeKqCWNW4EBaBDcbOjdMN10 qcOadT2fUS9l8ve+u9hlLnAOtS/pZrFvJj7RCIf4dfBHWIFsjo494UsSyONheAr+SyJ+ L3oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rBN3xIw3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a17090a024300b0024df598ed11si3401824pje.188.2023.05.01.08.30.12; Mon, 01 May 2023 08:30:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rBN3xIw3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232771AbjEAPXj (ORCPT + 99 others); Mon, 1 May 2023 11:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbjEAPXh (ORCPT ); Mon, 1 May 2023 11:23:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 699AAE61; Mon, 1 May 2023 08:23:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0580160FE2; Mon, 1 May 2023 15:23:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86B91C433EF; Mon, 1 May 2023 15:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682954615; bh=K9XsLWqKQn/jP/mzZLutSFMX6fSlEieZ9hD0h7aMKuQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rBN3xIw3wm0gT2YzECj/+dlrmUTTGFlmIcNCrp2kQLoPURG2ISD8lWl3zbX2qhqEr LTYtKzkMteBMUD3uM3kcOKWG2hLrk51uqTaQ5MoatCGLR1cNyrc3zwOydcJuZSdEnJ pjGJ3CFAMKpW5BEuDg7WF+yA61bao13Wa2/GHS2XHrMBi1CQRn+FEbYRBwn09lPYVE q5Kk8tB49iUVW0TDNd1Tn/W3nGGXfRbm4GfK07tjDFDd23hspyVujAGOfbE40Seqs5 bHQBMI4hRzLO9+6jjPULW3JH5aw3WYAEu+zBfdjFfn9Uuo70i0wQedLSY+VRbcjIXB 0P8jqU+bfGuUw== Date: Mon, 1 May 2023 16:39:20 +0100 From: Jonathan Cameron To: Herve Codina Cc: Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Christophe Leroy , Thomas Petazzoni Subject: Re: [PATCH v3 1/3] dt-bindings: iio: potentiometer: Add the Renesas X9250 potentiometers Message-ID: <20230501163920.65cc9454@jic23-huawei> In-Reply-To: <20230424090318.4750a5e7@bootlin.com> References: <20230421085245.302169-1-herve.codina@bootlin.com> <20230421085245.302169-2-herve.codina@bootlin.com> <20230422171807.510d7fa3@jic23-huawei> <20230424090318.4750a5e7@bootlin.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Apr 2023 09:03:18 +0200 Herve Codina wrote: > Hi Jonathan, Krzysztof, > > On Sat, 22 Apr 2023 17:18:07 +0100 > Jonathan Cameron wrote: > > > On Fri, 21 Apr 2023 10:52:43 +0200 > > Herve Codina wrote: > > > > > The Renesas X9250 is a quad digitally controlled potentiometers. > > > > > > Signed-off-by: Herve Codina > > > > Hi Herve, > > > > Historically we've been a bit lax in IIO bindings in always making > > sure the per supplies are included. As a result we frequently get > > them added later and it just makes things messier than they should > > be. > > > > So please add vcc-supply from the start. V+ and V- are a little trickier. > > I was expecting datasheet to say they should be symmetric about 0 but it > > doesn't. So they could be two independent supplies. > > > > Also make it required as my current understanding is that we should > > do that for supplies that are definitely present even if we could > > rely on the fallback to regulator stubs if they aren't supplied. > > So add the 3 supplies to required as well. > > Yes, I will add the following supplies in the next iteration: > - 'vcc-supply' for VCC > - 'avp-supply' for the analog V+ > - 'avn-supply' for the analog V- > > and add them in the required list of properties. > > Are the names correct for these power supplies (avp and avn) ? I think so. I'm not totally sure on how DT maintainers think we should deal with a two voltage level reference though. Perhaps add some description to make it very clear what is going on and we'll see what review comments we get! Jonathan