Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3528002pxb; Mon, 4 Apr 2022 20:01:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYPmvCuyWh3lYn5+1cdTXyt7UU9t+LaCO7fmKnf2gVYVLmsSwEIyxFiqP52kh8Gt7shBIe X-Received: by 2002:a17:90b:4a02:b0:1c6:c1a1:d65c with SMTP id kk2-20020a17090b4a0200b001c6c1a1d65cmr1511258pjb.97.1649127713721; Mon, 04 Apr 2022 20:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649127713; cv=none; d=google.com; s=arc-20160816; b=GC8b2UvebE/AgWE0yS9TBTdthZ5iIwbgzJhxzOuiympNQhq11kg7H6FhGgLqBnBTne 7yumlY13SybCtqlsH1TuEw2Swfek212bMPlolE8qpDw5yc3hdwXFabyDQKCowhaPa1WF qFqT1le3R4gN9GdWaDMWHzUZZPrLGLrlfnFOknYJS9suwj/17MWcW+fS4ge+pdoYRp+g vlCE7Ccnhkeeqpd6FGRVujZQMorcP7rsp8G4Jxmmmx5pm1mtepFO9IzRHIJwaadZxxiH RVQ8f9CS/iO/HMVuG4gen2KcsY9HurrbsQ64b1CxngzPdsQxfKXcdoAhC/SK6Q9h7HTB KUiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yqbLlrGI5hQozEiXWqvYHfniIQNP30Oy/0VrdHfx3iM=; b=0DCvZvQCUvrK/Vnkk8/iJl9H8wTpjP0fZa4EFG/Cgq/iJ0/UEDsFrk4E/NCJblo/B6 5zyMno3pO0dN712ve20qOLqrLVwmQSHzPzUPS/8d217+qWhrm+1SyT2theLUHRvUkfHI DKOy+t57mrQpgkwqdOpp+rwEp5oy9ncb6yarNyYaZuHCX4NJ92oqahxRhQk5bLplqlVP 4rNdoq2ESqX75hGfEWnAok1v2poQ4JrQ1cUe20aaneaUHPeRD1ptUTR36O4od5uwpo8k bc5jxqvk5sl6oxCcXIX/xUO0qHueWrX1+3VZJ+gmClvKZ7VfGDeaQ+/jYmcimBps3ow2 J7BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V6jnvv6r; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id oa17-20020a17090b1bd100b001c6f45042dcsi795511pjb.5.2022.04.04.20.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:01:53 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V6jnvv6r; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BEB3A31068E; Mon, 4 Apr 2022 18:26:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355812AbiDAPps (ORCPT + 99 others); Fri, 1 Apr 2022 11:45:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348967AbiDAPQ4 (ORCPT ); Fri, 1 Apr 2022 11:16:56 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B3B956C23 for ; Fri, 1 Apr 2022 07:58:29 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id l9-20020a05600c4f0900b0038ccd1b8642so3605315wmq.0 for ; Fri, 01 Apr 2022 07:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yqbLlrGI5hQozEiXWqvYHfniIQNP30Oy/0VrdHfx3iM=; b=V6jnvv6r9YfrqJxCPQR1XE4lXQoRmZhPDn4dIIIzVBExn/Frnd7K88FyQ3Azz/4YCe pb5ofMYAupzvIsopvutp/5h8LqWvqPHviJGWrqON/KjZwQmjwY58XoYOLeIxJMd1daXd igXzQKXqdMtUL5UCNndmU7iBMC2SnoJdqy//ej5rcFNMasoLMR598HrXFn3iMJVjb5fU +76H9dZ62+a6XeB2CAVqEmKGjMiFbpgFyhg9dzu3FM5ETYFde6rBqPxj5/Z5TCFleIqI xeHbP/8+XCwa/zzfdo2rc4NsHQw62BC0VFBMESrd65qg1ichA7hFg7AnStI/h0dbf8El Lg/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yqbLlrGI5hQozEiXWqvYHfniIQNP30Oy/0VrdHfx3iM=; b=OA5nLugXVvOqgQjZRiJ3Rh9RG3LcXzYc7DQPYTMs++NbjbAI1MrNCWMwkfKE7fs+KW XddPXh+/pTx9pDbBgg71DBoFPHNq8gK47dxOvSJSFUWkIYOFkemgw7XYg5cvY2ppENH2 bmpXjxtiS1UcIFo+374yt/YY50iNtkavhNbHjYoKtvdFA0rplCnMesGAVxyeJa/RGzuQ CIsAIb6wA2s5TFrfXa/V1/DtI29Zo7MhSzoNdhgCWmHXIxDqhs8V5wkbnm/d9lyZB4FS 7Yg+UNTkczfe5LVo54/wO7Lk5Zp6JJw/v4486HaW4ivE+4DeXrZi3C92UGMqZD0i1oHX v/1g== X-Gm-Message-State: AOAM530ax7REtuFIa+PiOhkRJ+FXMe1zrK06SOEhmBrs+cUxDjFD921L oHDLIhZ3LzuaL83ELDVlIygKRA== X-Received: by 2002:a1c:f418:0:b0:38e:579a:da73 with SMTP id z24-20020a1cf418000000b0038e579ada73mr2955585wma.197.1648825107790; Fri, 01 Apr 2022 07:58:27 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id j8-20020a05600c404800b0038cc9c7670bsm8530722wmm.3.2022.04.01.07.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 07:58:27 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Avri Altman , "James E.J. Bottomley" , "Martin K. Petersen" , Bean Huo , Bart Van Assche , Srinivas Kandagatla , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFC PATCH 2/4] dt-bindings: ufs: common: allow OPP table Date: Fri, 1 Apr 2022 16:58:18 +0200 Message-Id: <20220401145820.1003826-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220401145820.1003826-1-krzysztof.kozlowski@linaro.org> References: <20220401145820.1003826-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Except scaling UFS and bus clocks, it's necessary to scale also the voltages of regulators or power domain performance state levels. Adding Operating Performance Points table allows to adjust power domain performance state, depending on the UFS clock speed. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/ufs/ufs-common.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/ufs-common.yaml b/Documentation/devicetree/bindings/ufs/ufs-common.yaml index 47a4e9e1a775..ce767bfbf05a 100644 --- a/Documentation/devicetree/bindings/ufs/ufs-common.yaml +++ b/Documentation/devicetree/bindings/ufs/ufs-common.yaml @@ -26,6 +26,9 @@ properties: array is "0" then it is assumed that the frequency is set by the parent clock or a fixed rate clock source. + operating-points-v2: true + opp-table: true + interrupts: maxItems: 1 @@ -75,6 +78,7 @@ properties: dependencies: freq-table-hz: [ 'clocks' ] + operating-points-v2: [ 'freq-table-hz' ] required: - interrupts -- 2.32.0