Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2658538pxb; Mon, 6 Sep 2021 02:18:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/5KvtCohk1GJuYNOC2ln9+FhpGHSUPhgfJ7oVvt2Hg9k+sMkSOm8B+IctBDwwsaBQUGhi X-Received: by 2002:a17:906:fb19:: with SMTP id lz25mr12708986ejb.162.1630919904290; Mon, 06 Sep 2021 02:18:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630919904; cv=none; d=google.com; s=arc-20160816; b=S+EwYzkmTxdpYcbBHgJhJRmzcyn4N7m72eartrUhcQXfuELw9FOIUMGI9jZ/eUrRlP gdtyuHApR1m3zpFvpIH9/lYplZqhcpj5Ar/1efYYJU4wuK9JEGqQniujYOm+SRVjeYgG OO+fKXY79RTK8IPwCga3mdL3++YYhu4fPhTTI8TBOm/MW7nulnrZUEm+BaU7wKR7XiS3 FFzfOCwhDKFLjtxnK/Z+uIsPruas1s4ZtohBAO6bEa8btQOuH1/zgtia16YunGoc89zk 1moC4aAk4Nmjl/w69IDu9myVEPAswqdi+kVsPiFrSIOuI9QhBFRT/0mExLpb7aqz0Gnz O+jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=Dl9Me7VnLoTQO7YH0kYUePI2o6EfNVuN9BpuqWH1wUc=; b=psMERVu45uIZEN+4uMyBK70o2t34JX+iwphM+L833bCJPdcweIfnvW2FmRPfFgwgGF g37MFr9czFuV3WgjwSRC39+0NnRvSwn+b56+ii8nrGaGkrr/84vPghVqa/iB6jhMDYfh n+H7i7I+sy0fISzGgy3LYrk5s7/R+Q93uu3FkcTJjDaI3/DwY+Z/t3NEkFZuQdQFYMwh DgmMHePa2rFoOF0nUpAeL1OKtxYZIVnOZ/DKZD/BsRaASC+JsHW5O5otjC45ovZ7+Bri mZoYp6PmzeWVi0pPGxhDDaakxyVSvOMvqUGpV9lf6yJ2Angp924maXmSBXx98i6omtI9 q4lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=RtdHrj5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si8732477edt.211.2021.09.06.02.18.00; Mon, 06 Sep 2021 02:18:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=RtdHrj5e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240795AbhIFJRB (ORCPT + 99 others); Mon, 6 Sep 2021 05:17:01 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:19802 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240430AbhIFJQ6 (ORCPT ); Mon, 6 Sep 2021 05:16:58 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1630919753; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=Dl9Me7VnLoTQO7YH0kYUePI2o6EfNVuN9BpuqWH1wUc=; b=RtdHrj5eMmgPgjKSat6Ob0PkDHDOa/ipuFkQNkRL9pSwiwADAYKCZXEK9z6M9WOyyKzqR8sk BhwJVDgBwSl4N6A/njoMzpLIaiaUHd3xteQo8xIp9uIvW+j9SdGOn/5BQq9JAQadx+LSKc6z 4QlSgsBoe/VNjFEEXR5gFAmIFZw= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 6135dc4889cdb62061fa3527 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 06 Sep 2021 09:15:52 GMT Sender: sanm=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 67FA3C43460; Mon, 6 Sep 2021 09:15:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.0.104] (unknown [49.206.35.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sanm) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6EF68C4338F; Mon, 6 Sep 2021 09:15:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 6EF68C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org Subject: Re: [PATCH 1/3] dt-bindings: usb: qcom,dwc3: Add multi-pd bindings for dwc3 qcom To: Doug Anderson Cc: Rob Herring , Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Matthias Kaehlcke , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , Linux USB List , LKML , Pratham Pratap References: <1630346073-7099-1-git-send-email-sanm@codeaurora.org> <1630346073-7099-2-git-send-email-sanm@codeaurora.org> From: Sandeep Maheswaram Message-ID: <1dc7aaaa-a8da-565b-664e-64f529a861b1@codeaurora.org> Date: Mon, 6 Sep 2021 14:45:43 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/31/2021 1:37 AM, Doug Anderson wrote: > Hi, > > On Mon, Aug 30, 2021 at 10:55 AM Sandeep Maheswaram wrote: >> Add multi pd bindings to set performance state for cx domain >> to maintain minimum corner voltage for USB clocks. >> >> Signed-off-by: Sandeep Maheswaram >> --- >> Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 13 ++++++++++++- >> 1 file changed, 12 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> index e70afc4..838d9c4 100644 >> --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml >> @@ -41,7 +41,18 @@ properties: >> >> power-domains: >> description: specifies a phandle to PM domain provider node >> - maxItems: 1 >> + minItems: 1 >> + items: >> + - description: optional,cx power domain >> + - description: USB gdsc power domain > You need to re-order the above. The optional one needs to be second, not first. > I wanted to use required-opps for cx domain only. so I have put it first in order. >> + power-domain-names: >> + items: >> + - const: cx >> + - const: usb_gdsc > Why do you need the names at all? The ordering of power-domains is > well defined and there are no holes in it and there are no legacy > reasons for having the names (like there are for clocks), so you > should drop. This is much like reg-names and I always point people to > this message from Rob Herring about reg-names: > > https://lore.kernel.org/r/CAL_Jsq+MMunmVWqeW9v2RyzsMKP+=kMzeTHNMG4JDHM7Fy0HBg@mail.gmail.com/ > > You'll have to change your driver to use dev_pm_domain_attach_by_id() > but that should be fine. > > -Doug Ok..I will try usingĀ  dev_pm_domain_attach_by_id()