Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp638035rwr; Thu, 20 Apr 2023 04:36:47 -0700 (PDT) X-Google-Smtp-Source: AKy350aHB/2aC2Q9gYKPPTpJwg2766nRtHtPBfzszfGwPfpj7yCHgdJp5OQueOnja8UTPfnKgLin X-Received: by 2002:a05:6a00:1810:b0:63b:594f:bd1b with SMTP id y16-20020a056a00181000b0063b594fbd1bmr1298670pfa.3.1681990607403; Thu, 20 Apr 2023 04:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681990607; cv=none; d=google.com; s=arc-20160816; b=toDEOq8xXrmlrrlFbvmjvKy9/GC1+MH6+gUacQ40m0Ft62woiKCjBlDILAwPfw7ty5 bqMloPST3nUOYJ+8I//YqP0Rvb7D3B+6EQiOJPgghD6hQSFE75X0ezfe9zTffEF6KcO/ /9fkSrI8gdkfp2NHOO62jkNnKQyD7aZlT2MNOI/YKreDhKTLdcxKS9wOdR1hca5tuBKQ fvjkwq0eU4IC3mNMPM2SzR2DBVnBBIFyrUoM80lSsMI+RJIvh5jfRw0zGsTs8UEsZYgb +oixJpy51zcxesAEp2CofQPQ5Cmfs5L7u6cAU00pCKWzqdGKH1UOQIunzz2mLONTBBUL JNzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HMCXTZULd3UlhCtkJk94ecZGiSt1tfzfhgqyHrECe4Q=; b=k7uIfkWXKXaXZ3K5WW/M22JcZ1fbOc+7QuWZHxaLWZukx7Q6cTCmdrfPQZcWsTarnK 5NVFzUX9bwbd4cElTS2mvPL9nKIwXG1uHqQuHpocv9uc0eFI1i0egC90Yje6xuAVwde6 +aKj4ilQ8HPbK4HXehK2NGJ5iyuNRIxn5ZS19uvE7NOiGVEbABLevBMYxBB9fAnbtscq oQEj/V/bmFgx5rCaBx5RG0c6gbjIwS1vKrSVHddLi9Cz3cLSFvnUKZmu1VH5+5RZqKGl w1KRMIZjEtM22OYXOUmiPPMtiQBUcnguq+wfK+d86MU13IYsFJCDF483ygHiNH8Dd+3o RkBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=EPqPiOsa; 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=9elements.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c72-20020a621c4b000000b0063b8af2948bsi1487883pfc.3.2023.04.20.04.36.34; Thu, 20 Apr 2023 04:36:47 -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=@9elements.com header.s=google header.b=EPqPiOsa; 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=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234735AbjDTLdi (ORCPT + 99 others); Thu, 20 Apr 2023 07:33:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234725AbjDTLdT (ORCPT ); Thu, 20 Apr 2023 07:33:19 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C60F9742 for ; Thu, 20 Apr 2023 04:32:30 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-63b50a02bffso808253b3a.2 for ; Thu, 20 Apr 2023 04:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681990343; x=1684582343; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HMCXTZULd3UlhCtkJk94ecZGiSt1tfzfhgqyHrECe4Q=; b=EPqPiOsausUJtDsGDC8KVJUUo2+d4ij8gmWFjYPN6iRtTIjnVF4EjikWPTGE/T1HfV pg9lAZGH1fBwRcBERwlDimtEN8o47TLX2/8MqT7Ew/NFdEvmoLumrigfrlLb70M0RAFB UABzbuM7nGSuWOhrtNVCVRtwQyiXNCj0CspEfQalZrLBEBjbTUEVcsy8NprgkqTy+R/+ W6yKhoV5LS61qpc8A2YBKxH9i2Le3cnuSRxEEgeR1g4eFGZhSECyvED/odwAr9QtX/Re kHzVQshNn1Wp/C0DPCym0dvQ3OD5D661+Sl5XCyfQ6tis5SlWT77neW1TOmQBY1yEqLm Pluw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681990343; x=1684582343; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HMCXTZULd3UlhCtkJk94ecZGiSt1tfzfhgqyHrECe4Q=; b=eFNuDhYrKgBxNvCa8ut7azJ2i+R3czQ8fBOt/8kB8F/a8DD3zxx7J8ju1EaskO+dzs qJg0CT3h1YAT/7zygeaDeLnYuBY9FWJ9MJQ7Mm/8we84JQbXrkj2/jIb782uvx78ZbWZ i6ZtsthLDIb/JuyEilrtnvqvGTwWxqiPX9Er5esfofb9d4342ltAlRFVy5fsgqzA0cG9 vACqNON4fwDpZYx2vkRPK5N05tOBdutVBo16TCLXxNrfpD5ED2Sg2ky5pgzvCtJG0CVq 2ohT5T6ugiTKwKLR4GKOYTQsghE2JliUgit1pExVYWdfLY7Lj8hKtXkLGMlc+RdskKlx lR1g== X-Gm-Message-State: AAQBX9fLYBRNFKe2er0oOVY/oMsLk0/Bsqek8OcTCGpEmJN8y+5r0AFC j/mJYfXOcV+mRSIZhaFOQ6jW3A== X-Received: by 2002:a17:902:f803:b0:1a6:a988:b858 with SMTP id ix3-20020a170902f80300b001a6a988b858mr1052355plb.58.1681990343070; Thu, 20 Apr 2023 04:32:23 -0700 (PDT) Received: from ?IPV6:2405:201:d02f:d855:461d:14be:2cce:b776? ([2405:201:d02f:d855:461d:14be:2cce:b776]) by smtp.gmail.com with ESMTPSA id p5-20020a170902bd0500b001a687c505e9sm994033pls.237.2023.04.20.04.32.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Apr 2023 04:32:22 -0700 (PDT) Message-ID: <6866ce7e-28a3-2526-8f2e-99470070191f@9elements.com> Date: Thu, 20 Apr 2023 17:02:19 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 1/2] dt-bindings: regulator: Add dt property Content-Language: en-US To: Zev Weiss Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230418145051.4192963-1-Naresh.Solanki@9elements.com> <0da2b301-8780-48c0-a5dc-326474011e8d@hatter.bewilderbeest.net> <9f425205-c395-648a-3f42-a776c7580a8f@9elements.com> <048bf9f4-92ee-4aca-a46f-dbe512129ffe@hatter.bewilderbeest.net> From: Naresh Solanki In-Reply-To: <048bf9f4-92ee-4aca-a46f-dbe512129ffe@hatter.bewilderbeest.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Zev, On 20-04-2023 04:11 pm, Zev Weiss wrote: > 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 Ack > >>> >>>> +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. Thanks :) > >>> >>>> base-commit: c55470f8b0616b0adb758077dbae9b19c5aac005 >>>> -- >>>> 2.39.1 >>>> >> Regards, >> Naresh Regards, Naresh