Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp315592pxj; Thu, 27 May 2021 00:22:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsVLn4f2DhPF4ApG/VJlvFr+YPiVZ1t4ntt9A8nDVzM41iBO9cjkDbUdRwR+5yYdd16cMH X-Received: by 2002:a6b:7d4b:: with SMTP id d11mr1764271ioq.161.1622100143427; Thu, 27 May 2021 00:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622100143; cv=none; d=google.com; s=arc-20160816; b=tcFUGpYA+vJb1PRKjJ4+ZTbE1iC/Z3VJHa42jUsu8ewaIiQNZ4nUc+wSRefK1GE/I+ 0kmGaFrzibWLq87wZO9HfM5hfM9pdzOTFNYm0KgkGC9mH0VD+cwkBBABprrdXORiqAAb Azvrc5LSrNvI+i8ABEoWf+oECjThQwuRiq+DrGHhl2sh2abIlBiEzumtYJhsm9swioVL cUS8CTsM/G2OVmvX6+WK6ePDU24cNw7G4Coy3DfVrQvf96gbP7rd31bKxtf05ZeR8B7m B4r2ZnFmdoUTLPDqGeB7VU5tKW7Rr/ZCzlF5o6fktXSIICOS4psLSdVjwpbLsYImdUKC znkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=ZsOoxzJB/hW7m7oMPe7Q/pMXsno0+4bu4SJySzTXZPo=; b=IuI+wY9IAdnu3uGB8GUy6zDJzrOS2xqafHxpK9kQfP6euB1q2zbek6tZs42a7gQLC/ 1SeYKFN3U7oTxBNm6imU/Gy7ekv8qlHGB54vQe5Dh3ESUiRzg8hnq7B1twp6iWbXzF4j Ks9mkR26NVJC1sljJYKRLzKBLPE8r7/uWAcO9Hc+V+Ny4CLd99G8pDptOrNRN3qk2/UL zqB8tsL3IydW13nkM/ePsSXKZLaBa7mKyZEQcQ/M6MW1dpk5vkzd+P3+6SWJDrZYHndn mA3EAOPpsNbaQKSnpwpt1CwUXuLQiuGE3qjxGxoINiW2qcVHyNlX4Fvzab5H61W5CmkJ Sn4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=S3kiFDut; 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 a5si1449109ilh.94.2021.05.27.00.22.07; Thu, 27 May 2021 00:22:23 -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=S3kiFDut; 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 S229611AbhE0GXV (ORCPT + 99 others); Thu, 27 May 2021 02:23:21 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:44227 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbhE0GXU (ORCPT ); Thu, 27 May 2021 02:23:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1622096507; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=ZsOoxzJB/hW7m7oMPe7Q/pMXsno0+4bu4SJySzTXZPo=; b=S3kiFDutb16/0CJEgygJezug3R3y0ElMa7iKJUpT9nITLqpR1pxQcaPo8o91D0CtQBiPmqxb hTJ2pGz/zihuOmgSZNjqj0xTFn0lC1oqGLD0PooBXmOxXysQpz9QwCmWkklieBc8knn11oTS Hax3gP639bwGH/Je/3iF9KVD3Wg= X-Mailgun-Sending-Ip: 69.72.43.7 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-n07.prod.us-east-1.postgun.com with SMTP id 60af3a6c063320cd13854114 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 27 May 2021 06:21:32 GMT Sender: rnayak=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 2C9F3C433D3; Thu, 27 May 2021 06:21:32 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.50.22.147] (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak) by smtp.codeaurora.org (Postfix) with ESMTPSA id 373FAC433D3; Thu, 27 May 2021 06:21:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 373FAC433D3 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=rnayak@codeaurora.org Subject: Re: [PATCH v2 1/3] dt-bindings: power: Introduce 'assigned-performance-states' property To: Viresh Kumar Cc: ulf.hansson@linaro.org, robh+dt@kernel.org, bjorn.andersson@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, swboyd@chromium.org, rojay@codeaurora.org References: <1622095949-2014-1-git-send-email-rnayak@codeaurora.org> <1622095949-2014-2-git-send-email-rnayak@codeaurora.org> <20210527061603.cuy5q2jo3pfom7vf@vireshk-i7> From: Rajendra Nayak Message-ID: <79465de8-5704-0f58-c2e7-8fb6f6fc9b5d@codeaurora.org> Date: Thu, 27 May 2021 11:51:25 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210527061603.cuy5q2jo3pfom7vf@vireshk-i7> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/27/2021 11:46 AM, Viresh Kumar wrote: > On 27-05-21, 11:42, Rajendra Nayak wrote: >> While most devices within power-domains which support performance states, >> scale the performance state dynamically, some devices might want to >> set a static/default performance state while the device is active. >> These devices typically would also run off a fixed clock and not support >> dynamically scaling the device's performance, also known as DVFS techniques. >> Add a property 'assigned-performance-states' which client devices can >> use to set this default performance state on their power-domains. >> >> Signed-off-by: Rajendra Nayak >> --- >> .../devicetree/bindings/power/power-domain.yaml | 50 ++++++++++++++++++++++ >> 1 file changed, 50 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/power/power-domain.yaml b/Documentation/devicetree/bindings/power/power-domain.yaml >> index aed51e9..88cebf2 100644 >> --- a/Documentation/devicetree/bindings/power/power-domain.yaml >> +++ b/Documentation/devicetree/bindings/power/power-domain.yaml >> @@ -66,6 +66,19 @@ properties: >> by the given provider should be subdomains of the domain specified >> by this binding. >> >> + assigned-performance-states: > > Why is this named assigned and not "default"? Just curious :) I took the cue from assigned-clock-rates/assigned-clock-parents but i am perfectly fine calling it default-performance-states as well :) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation