Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp453485rwr; Thu, 20 Apr 2023 01:35:12 -0700 (PDT) X-Google-Smtp-Source: AKy350bVcFwG7VfGSPxue29jMmlJYu+aWT//18YvtG1e++NFJr0+o5S9tQrsB7VywxZHaAhR0Lkw X-Received: by 2002:a05:6a21:164e:b0:ef:fad9:580 with SMTP id no14-20020a056a21164e00b000effad90580mr1275657pzb.38.1681979712117; Thu, 20 Apr 2023 01:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681979712; cv=none; d=google.com; s=arc-20160816; b=n+z/IC3k/QEQi8xAjLcOepBPE/kpCu1dLkWYp6ZUNzHBamVprANqbUSJGKYv4WJXNh fu+8XKHM0Ei6a2L8oVOomv05JePqpGBCBuI+LPMPf5vldBCn0KdNxF842n5ncN/0gLT8 hUWJa2y/pHEsoCibTmtnKsWJux5UCYNKf2AYl6Ugk2C8KNc0JRoIEUcFy7cTQ8S/To9F mzQ/X6TgclQiFwQS0+8ShH41K8s4GKuuCo+S0xxrcjcMI5Jj5AtGyXRnsDJb/sQx741Y 2iMvMeOkD4x+OAp9mxHi25CO03vQn65lFh0hTZezQYUvc5cf8lgYiKjPYDsoeUo+7zSK Njmw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4DMeRQEVjnGvjTdMi1WDO2hzeB7OEvrm9xDgZ4E+Odo=; b=CXAm0SrnXn5QzdMhURylkvS9pK3yfMhYv6G9zhlyeS9n2BKL86WSKh5Q5mTyda+S22 OT+rTsQR6IQ9X2gKMfHUN/lNWyIH/uWNqc/qQTnqIdHcySQf09mJffgRUCtRzn3l4ys/ yMoRB7aI+XqvopcmhSWPIN96dp+tn5DoMNcCqg5fBN6AdeHyPmE85rvlgaR6O3InzoyV uxo2SV54m73zYu+rVPrWgiLNtvTTb0BBMe+jBptUGcPyX6grlkYMdkmpy4hsExQHSgTm jMba6UBfcRA73ScGZ/hctiVpEsu1spbXrgVJNcEmAeqdyMXBPZSuAYyFTmmv3bsdBvS4 FyOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=QsRx8DNE; 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 q36-20020a63f964000000b00512fab8c401si1031426pgk.427.2023.04.20.01.35.00; Thu, 20 Apr 2023 01:35:12 -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=QsRx8DNE; 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 S234428AbjDTIWm (ORCPT + 99 others); Thu, 20 Apr 2023 04:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234416AbjDTIWh (ORCPT ); Thu, 20 Apr 2023 04:22:37 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 403A730E9 for ; Thu, 20 Apr 2023 01:22:34 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-63b51fd2972so648607b3a.3 for ; Thu, 20 Apr 2023 01:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681978954; x=1684570954; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4DMeRQEVjnGvjTdMi1WDO2hzeB7OEvrm9xDgZ4E+Odo=; b=QsRx8DNEii1hHTwSRfTSltb2l0lXFk0fCbxNCvZISBIq4XBmSA7sjqnLDT4TA64nOo UKTDF4H9mkYwEHsMrO7V7z9BsqqFg1yIOa6Nytq8FbIicP6QIILbOiPHslcqmwe+KqVI iO4yxMkWXD4mbVcGfk+MLYRSPkD+ux4z5oUgr4A+j016QJ9JeX87mwRf20WWczPa2Ca7 EDTFqYcfYAkDxxJHRgUN7ut5KPblRJ5QCBwkVanjaap/PPrm9JZutQnItT/6n4cFCgcW xDdgFajk0Ad2Uw/DiCJtT3FPplUIbO+z9GuJPNymyj+41I6M+5Ptlt41v4CjVxjLm6Lt AekA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681978954; x=1684570954; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4DMeRQEVjnGvjTdMi1WDO2hzeB7OEvrm9xDgZ4E+Odo=; b=IpAkmFO8ApOm4jSdXfHM49XGkIuOt7EMwTfD1Z2kz3H5ASstQ3ysHjDsZsXbPXQdUK i0oAVtPCUR+Hvf2TeITN2+atTa6fKRX/FFlc3rnDQ8fTlqe3JUYFYtjVWhy/tO7Iw8DD pwUcpdqpStb2LQ02+zlx6f0ziFWJ5QIbzzue4ibr6w5E4VR3x1XJeqK7A/hIXlyH+Drh Jl3UK34AuViyT2pRMKdFrYCtlCXRXP6g1x6PwMkRL4+eslITgxzDdy3nWcxuWvhoTOO8 fB9Nx/pNdByUx2PfhG5N6hLGrXTUMD5HFNMzs7aW3YFP/QSiFP4+zxzcArV869Sjwaoy 6ZUQ== X-Gm-Message-State: AAQBX9dXBvY0qdKt8bdLuS9bQ8p2c9EZiw9PgJKhT0sf+qFtya8gs1Oo XpsdprhPbNsLbaqIPv8P6JuM1A== X-Received: by 2002:a17:902:c40d:b0:1a9:2823:dac2 with SMTP id k13-20020a170902c40d00b001a92823dac2mr1138514plk.57.1681978953690; Thu, 20 Apr 2023 01:22:33 -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 p18-20020a170902c71200b001a240f053aasm669738plp.180.2023.04.20.01.22.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Apr 2023 01:22:33 -0700 (PDT) Message-ID: <9f425205-c395-648a-3f42-a776c7580a8f@9elements.com> Date: Thu, 20 Apr 2023 13:52:30 +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 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> Content-Language: en-US From: Naresh Solanki In-Reply-To: <0da2b301-8780-48c0-a5dc-326474011e8d@hatter.bewilderbeest.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 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=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 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. > >> +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' > >> base-commit: c55470f8b0616b0adb758077dbae9b19c5aac005 >> -- >> 2.39.1 >> Regards, Naresh