From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jordan Crouse Subject: [PATCH 2/2] arm64: dts: Add full GPU frequency table for 8996 Date: Mon, 18 Dec 2017 16:27:35 -0700 Message-ID: <1513639655-9023-3-git-send-email-jcrouse@codeaurora.org> References: <1513639655-9023-1-git-send-email-jcrouse@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:49604 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936070AbdLRX1l (ORCPT ); Mon, 18 Dec 2017 18:27:41 -0500 In-Reply-To: <1513639655-9023-1-git-send-email-jcrouse@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: freedreno@lists.freedesktop.org Cc: linux-arm-msm@vger.kernel.org Now that we have frequency scaling for the GPU give it a full list of frequencies it can scale to. The two higher frequencies are for faster binned parts and the remaining frequencies work on all targets. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index f136d4c..f495a2e 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1107,14 +1107,39 @@ gpu_opp_table: opp_table { compatible ="operating-points-v2"; + /* + * 624Mhz and 560Mhz are only available on speed bin + * (1 << 0). All the rest are available on all bins of + * the hardware + */ opp-624000000 { opp-hz = /bits/ 64 <624000000>; opp-supported-hw = <0x01>; }; + opp-560000000 { + opp-hz = /bits/ 64 <560000000>; + opp-supported-hw = <0x01>; + }; opp-510000000 { opp-hz = /bits/ 64 <510000000>; opp-supported-hw = <0xFF>; }; + opp-401800000 { + opp-hz = /bits/ 64 <401800000>; + opp-supported-hw = <0xFF>; + }; + opp-315000000 { + opp-hz = /bits/ 64 <315000000>; + opp-supported-hw = <0xFF>; + }; + opp-214000000 { + opp-hz = /bits/ 64 <214000000>; + opp-supported-hw = <0xFF>; + }; + opp-133000000 { + opp-hz = /bits/ 64 <133000000>; + opp-supported-hw = <0xFF>; + }; }; gpu@b00000 { -- 1.9.1