Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp330790rdb; Thu, 5 Oct 2023 07:16:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQ9vpm66yRv7/+dBDM5Uaub7RDTcERH17bUV0lKRUv4Wd8MxCV6ardOIwGhDBX5WAzHKgN X-Received: by 2002:a17:903:2347:b0:1c7:432f:b0be with SMTP id c7-20020a170903234700b001c7432fb0bemr6149234plh.18.1696515378398; Thu, 05 Oct 2023 07:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696515378; cv=none; d=google.com; s=arc-20160816; b=eAXpOdOYule1J90ktQTwcQ76LOT8nFfHplBV9/BXI8oAVJKaKecvkZqOo1HzxvW9yA JxnmEiofaNQVyqWkdrs9xC2bkVjB9HkSuqhfvpRjXJacpViFb372qj5sjsp/xaQarry2 maUVJbqxWITxm/zPwqtc9XybxZNt2k9qAyG6V5JjFoU5Q3Nj7/WE8wSrZMB8DKf+7o5T MWMO87VhRWZQzKNSCFMhz6jraG64qwyjWL94w1k/h/jPayyLc2blHbTAizHf+9J9PCfc 0zXfZh/SNPMBRLQiDeiKjGdfxdJQRNjegeBhaA6tjWHFsg1Hy6q7trTZT734Yxd2i3sH DPlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gONi3mU2Nao2iYlTM3Z0y9mEcA9yDtJpsS/Q6xea9gg=; fh=h9u2lKwzmb0mxnheyuc5IE5lViUQ8K7j0HfGBjQkun8=; b=Pg5t8gkmkgTeWCrqKjX5Jv/ZTGJbnF2Dvu0MkKCXg1UsQa13SJrHqAPYyvRXpMy79a KoO2WC/RwqTQMgQRLpoh+HUB0YqVvMTPohmHSb05cXivavAK27N0VjwEiBpyWl0DdnLA s8H1ziHLpRkGwjIUoNK2HbQ/7Pba/VK5AAjXOxu1rQMdayL5aLpjQt3PqX6uOv9ek7uo uQs28ztER8sSpdw5KjGBdrLHwgxSq6DMLgAFREfwwEDNsu4AKJ9jHVoW97oep5E4QRNn eO4/dyxtsLsG0SI6153lSVYIOrMRp4beCKAdeAbMiW8NstmXYt18r8ZaZWoWmyahiQGx zhHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=a33qz0n8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e7-20020a17090301c700b001c36705bce1si1504431plh.474.2023.10.05.07.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:16:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=a33qz0n8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B9C44806C374; Thu, 5 Oct 2023 07:15:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233226AbjJEOOw (ORCPT + 99 others); Thu, 5 Oct 2023 10:14:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231294AbjJEOMv (ORCPT ); Thu, 5 Oct 2023 10:12:51 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B19417DBD for ; Thu, 5 Oct 2023 00:46:42 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2774f6943b1so497865a91.0 for ; Thu, 05 Oct 2023 00:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1696492002; x=1697096802; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gONi3mU2Nao2iYlTM3Z0y9mEcA9yDtJpsS/Q6xea9gg=; b=a33qz0n8Gia6g8tiygzVqJO3XOIqyD1H+EoEFkVNzK73V/FkjKv7fhdGXfWYSgZ0Bs 9I3BiYgT1GalnqhUz4EwcrsWJhmIfhcAxexyiMQNzpfZHo8wDIw+eDCvvMyPE9p8nljF SPzZmkjxb9AMuwQ7o8ukNEmU50oexX0RoOneRUF15he9iN3WaR4OtSXLk6sk+1EI/7m3 D1aGm0VnY9i75uL72/PqBHcRKH0wg2aRBO2qaWa1lA5hvwCt8sTnV3I6nI2Yt8vWDhl8 K8ZX2oZYLXT9/aNkTiA7S/mrFLJn9Fc99jhIv8wPGC+jRrMgVsej2tJlX2XPou3I+yp6 4axA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696492002; x=1697096802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gONi3mU2Nao2iYlTM3Z0y9mEcA9yDtJpsS/Q6xea9gg=; b=l88qozDYX64ReDNRJesR+jTjdzl5MqlES37Sztd+9eYYh1N1TvlMZQyZ/beqzZzRnJ 3Aa2dXo5D5nn+GJGqR9tbRQK4AWOHdtIx7w62vjbTc7J25MHbsKtaH2Wd5kJQohtb9j4 nbeb0lwQSFREw7rcM0MrpYhMx/tlk3HXsyRh91ZvDYtiaZelv48E0sqBTGASYeCBQauv L30U1NUlcL1h+AIvIEMERX0va3uDIbh9J0092ZRTRyMX+4yVFYbhXVQxYrNaMUrm7d14 u4Y13n/KSggbFV9EXFtVZir3WLdi+Kcd4rMXaezcPvPSBv9GPaYyv9rh7ZmkPrx/zK0P 9z7A== X-Gm-Message-State: AOJu0Yw7kC0MdfbEINtVZmyaH97qg5JSazEXuAEtdVQR1VfGQH3fGKON t1S2qfvoUbX05Gz5mvLuQKeqq9dIy4lWcF9FRcKtjA== X-Received: by 2002:a17:90b:374b:b0:26b:4a9e:3c7e with SMTP id ne11-20020a17090b374b00b0026b4a9e3c7emr4348319pjb.4.1696492002069; Thu, 05 Oct 2023 00:46:42 -0700 (PDT) MIME-Version: 1.0 References: <20231004120529.1155700-1-naresh.solanki@9elements.com> <20231004151433.GA3145438-robh@kernel.org> In-Reply-To: <20231004151433.GA3145438-robh@kernel.org> From: Naresh Solanki Date: Thu, 5 Oct 2023 13:16:31 +0530 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: regulator: regulator-output: Multiple supplies To: Rob Herring Cc: broonie@kernel.org, zev@bewilderbeest.net, Liam Girdwood , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:15:44 -0700 (PDT) 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. Regards, Naresh > > > > > Signed-off-by: Naresh Solanki > > --- > > .../devicetree/bindings/regulator/regulator-output.yaml | 9 +++++++-- > > 1 file changed, 7 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/Documentation/devicetree/bindings/regulator/regulator-output.yaml > > index 078b37a1a71a..6d077f123729 100644 > > --- a/Documentation/devicetree/bindings/regulator/regulator-output.yaml > > +++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml > > @@ -21,13 +21,13 @@ properties: > > compatible: > > const: regulator-output > > > > - vout-supply: > > +patternProperties: > > + ".*-supply": > > description: > > Phandle of the regulator supplying the output. > > > > required: > > - compatible > > - - vout-supply > > > > additionalProperties: false > > > > @@ -37,3 +37,8 @@ examples: > > compatible = "regulator-output"; > > vout-supply = <&output_reg>; > > }; > > + output1 { > > + compatible = "regulator-output"; > > + sw0-supply = <&output_reg0>; > > + sw1-supply = <&output_reg2>; > > + }; > > > > base-commit: f9a1d31874c383f58bb4f89bfe79b764682cd026 > > -- > > 2.41.0 > >