Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp410307rdb; Thu, 5 Oct 2023 09:17:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfyuusJjOptWdtWmPjqpBDZ2zf/9RLQzcRVabEE0yBO/LVmLdNGSgD72ECgaGz7bdKNpqb X-Received: by 2002:a17:902:76ca:b0:1c7:7b27:f9a9 with SMTP id j10-20020a17090276ca00b001c77b27f9a9mr4911337plt.59.1696522661760; Thu, 05 Oct 2023 09:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696522661; cv=none; d=google.com; s=arc-20160816; b=LPiqHf8isiY2pEmRfZ6r8bGP76IO1fLTgJZykiXoNRrtu6c2b4MWYtFY84OI/UnFwr q0VrqqJC0fE3Bw38BNq/B3q8BN3YmcUJ26BAO4ZQWP6kVW2t/kzY7lY+XZa4OZ2Ljj6M U7I+U0Jjubv6xBCcTYHh3AYyFnZNZzEwRNu4dWkM8eWZ+p4I2+NaOBCzngxn5fJK9dS9 HfA4Gy/7V1QwCiMHYAqTEM4QDHtFvnD88XBvt3q6qCh5o3lrd6Czdymrpc+w3k4dTBcR ObmTI2fgRalmX+x+fsB1N6uXXMjDML5dMXId+q649nM3rUUmNJRbxdfDUjH4t8mYGJIi 3DGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+QvPDf6laDoyUA3qVW9l7YF9DF+U8wakjINq8xl+7A8=; fh=z9wKqrJgfA+OiFvvrIf7XgzovpUtImkApEXtDLDObWY=; b=0TkxPD5tQc8XCPsXhBqZOMGtk/guxJ4XWUP64zOC5nhRH15Kz1l4XPozi2f26Ya53Q O9dlgN6N7d6BQuPAYUb6xCP7aMGqvBtLPXCd9u4OQ9iYLifQ3hXsQvF0E3UkBVjPg+hZ z8Vsvz/b34i6Q2O0Sy5D3OyAMW0o0lIP9gc+EO93yBR/6LSbYW/aR7iSsXQS/tp4sWaN y9eeQVU63k6n9rzc1PfFlW/hLR+Qh1EPuMh6Q7nRkbbUQ9mfgA1wArvy0XXYWOX8k4fG ioEfbzIoqXETuw+FP1+kOIOVDDPk9wqoInNWaN4mTG5uHugeoLrm8o4Gv/gS50IHI2cK pNlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b="THrE/kJt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s18-20020a170903321200b001bb792749a2si1657463plh.146.2023.10.05.09.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:17:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b="THrE/kJt"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A9B6A82FABF6; Thu, 5 Oct 2023 09:16:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238726AbjJEQQA (ORCPT + 99 others); Thu, 5 Oct 2023 12:16:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240576AbjJEQNI (ORCPT ); Thu, 5 Oct 2023 12:13:08 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6BF224868; Thu, 5 Oct 2023 04:17:15 -0700 (PDT) Received: from hatter.bewilderbeest.net (unknown [IPv6:2602:61:7e5d:5300::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 5F022AE8; Thu, 5 Oct 2023 04:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1696504632; bh=+QvPDf6laDoyUA3qVW9l7YF9DF+U8wakjINq8xl+7A8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=THrE/kJt+qUUemMdOCjsTm0Ih9z6M8yAaBTeXhcI31NxW11TrRFJBDG+4EwpO3ZYs FY1pO8SUDuTt5EpVqWJj/xazDuWM7NaKB6c+TyivvAzLcTvaeLYWDMyJT6H/by/5Xi lC7GaMsuiGlUQhR43qYV4YncCOJbFtYvo9bpsbNQ= Date: Thu, 5 Oct 2023 04:17:10 -0700 From: Zev Weiss To: Naresh Solanki Cc: Rob Herring , broonie@kernel.org, Liam Girdwood , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: regulator: regulator-output: Multiple supplies Message-ID: References: <20231004120529.1155700-1-naresh.solanki@9elements.com> <20231004151433.GA3145438-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:16:39 -0700 (PDT) On Thu, Oct 05, 2023 at 12:46:31AM PDT, Naresh Solanki wrote: >Hi Rob, > > >On Wed, 4 Oct 2023 at 20:44, Rob Herring wrote: >> >> On Wed, Oct 04, 2023 at 02:05:26PM +0200, Naresh Solanki wrote: >> > Add support for multiple supplies. >> >> Why? >1. Driver is already capable of that using platform data. Hence added >support to read DT property & initialize the same for multiple >supplies instead of being limited to one. >2. This is particularly useful in cases wherein 2 or more regulators >are coupled together, for example in a PCIe connector having 3.3V & >12V. > Hmm -- apologies if I pointed you in the wrong direction here on the last revision (or should have considered this earlier), but is there a particular need for this arrangement to be described by a single regulator-output DT node instead of just having one node per supply? If they're independently-controlled voltage outputs, treating them as two separate things instead of a single ganged one seems like it might be more appropriate anyway... Zev