Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp584822rwr; Thu, 20 Apr 2023 03:48:39 -0700 (PDT) X-Google-Smtp-Source: AKy350YtFBBM3Hsz6keApihkoYPv0hVTRwELkuFL3RGxzuqfrZpduL6Jt7Bn2j3r5pdK2HxA2s8I X-Received: by 2002:a05:6a21:1014:b0:ef:1057:d80 with SMTP id nk20-20020a056a21101400b000ef10570d80mr1536073pzb.39.1681987719353; Thu, 20 Apr 2023 03:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681987719; cv=none; d=google.com; s=arc-20160816; b=PFCasIZlhuuz4EH88pqxcX7RHGNSW7kdh4AJl+cKqwTzzlx5TELiXxSMMq2DZVcRjX ZZSZ/UbyFWXa5VLY6+5kdnEYbjEBM0PcSGKyILKG18vl1NsRKQPZrn0x+NOO1R66IU6y Ux7EF0AtTODaIsb3YWCBUUW/jZmXM1s3y1mU0dZDVm6cfzrvR82djcDOk7TUu3uTNrbs V0QxTxzprCOb3sQn20KHOdoF2nMGr+CsuJ7fvpAZz0/TI5KOsjBNUQrktwEKc0WBQo7A hduRhR6rU2qT9H7z8dm3CU7P3KLay6ccwfkDYqHUSmfxHNZ+b91L4CtSGskFER/2UlMQ fyxw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=f9ffG5vWNAAbE4hPrsuUtVJ8N7z1fDEHnFJSi3q7da0=; b=I2bgv8PUWLdPm2xuTrEVEDnYffmvsWS2rawlBtgtiHpmkDWDbXrfOCdW5UKaW6Sshz ArdvciZVZVhldlVCeFcwy6Ls/r3O5fv99P4b0N7/ymuvCDnyDxxwHgQm4Q7LwYKQMFBT ZclyWAvgjaxxB3HcZuP00FoSFuO8bXU8bLS11B+Pk8j4k7AdAt8G7oTjUp/pSuEHdrsj 9RzEQvpTMAk2c5js2+3KHYMSS8vD+I6P+Zgzl5xEbsFKNLYyc2itQgrtJg2vTPC2JGaF +Mm2jh2HvPIXzPa1rWzHOzyC8zPzRwHhRESvVlPFg8bsh8q73ZFVgko5nu14XYFfiblS C8LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=LIg0kgLb; 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=bewilderbeest.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020aa798d1000000b0063b79bcb8edsi1409403pfm.11.2023.04.20.03.48.24; Thu, 20 Apr 2023 03:48:39 -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=@bewilderbeest.net header.s=thorn header.b=LIg0kgLb; 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=bewilderbeest.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234982AbjDTKmx (ORCPT + 99 others); Thu, 20 Apr 2023 06:42:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234916AbjDTKm2 (ORCPT ); Thu, 20 Apr 2023 06:42:28 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D85B535B1; Thu, 20 Apr 2023 03:41:31 -0700 (PDT) Received: from hatter.bewilderbeest.net (174-21-172-149.tukw.qwest.net [174.21.172.149]) (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 4A381218; Thu, 20 Apr 2023 03:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1681987291; bh=f9ffG5vWNAAbE4hPrsuUtVJ8N7z1fDEHnFJSi3q7da0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LIg0kgLbi9KGz3X9zys2Ipug8r4gGEeF0Z+5uGtOMt+bFeEBE0YK2RPlD2Lq3X48x hi9Wkx2OvAFUYJhfeFX0kcFInEO7fmKcAkcRgaxmpRsWhiP1Q5wIIOqXxxL2BY3bnm ZgSnnL8GkTcoPvsdnu46wfOeDYOnG7C24sqbzkYc= Date: Thu, 20 Apr 2023 03:41:30 -0700 From: Zev Weiss To: Naresh Solanki Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: regulator: Add dt property Message-ID: <048bf9f4-92ee-4aca-a46f-dbe512129ffe@hatter.bewilderbeest.net> References: <20230418145051.4192963-1-Naresh.Solanki@9elements.com> <0da2b301-8780-48c0-a5dc-326474011e8d@hatter.bewilderbeest.net> <9f425205-c395-648a-3f42-a776c7580a8f@9elements.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9f425205-c395-648a-3f42-a776c7580a8f@9elements.com> 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, 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 Thu, Apr 20, 2023 at 01:22:30AM PDT, Naresh Solanki wrote: >Hi Zev, > >On 20-04-2023 05:31 am, Zev Weiss wrote: >>On Tue, Apr 18, 2023 at 07:50:50AM PDT, Naresh Solanki wrote: >>>Add DT property regulator-supplies. >>>This enables us to couple one or more regulator output to gether. This >>>is use in case of Single connector having 2 or more supplies. >>> >>>Signed-off-by: Naresh Solanki >>>--- >>>.../bindings/regulator/regulator-output.yaml???????? | 12 +++++++++--- >>>1 file changed, 9 insertions(+), 3 deletions(-) >>> >>>diff --git >>>a/Documentation/devicetree/bindings/regulator/regulator-output.yaml >>>b/Documentation/devicetree/bindings/regulator/regulator-output.yaml >>>index 078b37a1a71a..17f683d3c1f3 100644 >>>--- a/Documentation/devicetree/bindings/regulator/regulator-output.yaml >>>+++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml >>>@@ -21,13 +21,19 @@ properties: >>>? compatible: >>>??? const: regulator-output >>> >>>-? vout-supply: >>>+? regulator-supplies: >>>??? description: >>>-????? Phandle of the regulator supplying the output. >>>+????? Specifies the name of the output supply provided by the regulator. >>>+????? Defaults to "vout". >>>+??? default: "vout" >>>+ >> >>Was this meant to be specified as a string-array to allow providing >>multiple names? >Yes. This is string-array. Okay -- in that case I think it should include $ref: /schemas/types.yaml#/definitions/string-array >> >>>+patternProperties: >>>+? ".*-supply": >>>+??? description: >>>+????? Specified the phandle for various supplies >>> >>>required: >>>? - compatible >>>-? - vout-supply >>> >>>additionalProperties: false >>> >>> >> >>I think it would be nice to also update the examples to show what a >>multi-supply instance would look like. >Ack. Will do that. >> >>A slightly more descriptive subject line would also be good -- "Add >>dt property" is a bit vague. >Suggestion ? >How about like 'Allow multiple supplies' or 'Add support for multiple >supplies' Sure, both of those sound fine to me. >> >>>base-commit: c55470f8b0616b0adb758077dbae9b19c5aac005 >>>-- >>>2.39.1 >>> >Regards, >Naresh