From patchwork Sun Jul 24 14:04:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 593168 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F9F5C43334 for ; Sun, 24 Jul 2022 14:04:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbiGXOEd (ORCPT ); Sun, 24 Jul 2022 10:04:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbiGXOEb (ORCPT ); Sun, 24 Jul 2022 10:04:31 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB6712631 for ; Sun, 24 Jul 2022 07:04:30 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id b21so3319503ljk.8 for ; Sun, 24 Jul 2022 07:04:30 -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=oKmnR8pcWpFGv+QMlFKOsQCj6vs8uoDIFMT8NXu4mE4=; b=BbUEJ5yryTOknJOga7tAdzzxQAAl/+zE4ertI1WlpIJkzy2AAI+FNvWicbtP1Xf+7Z 85DzniV+WEi/m4UwekFaNZpydoyuSLv1lSCAbcSnGOAgWS4rxFmD4wbj7OlxeGvUEjEk Ll4rPPJJt/OtQ+4Lld8GbRxjwFSENPtJVgX63VE7T/T4ER+9Aw+p0kKLUW0nY99lkKTc VMPq4vOpuJBzmBNMVJ6WpdvCs4b3d562VxpxdwiyphDfC0vJEPBV6720B48iX6+G9ri8 5817niPo/IP2ouyE7QTh0fx1Fa3/suRXrLh91w2SPF/iyOCtw8vm3yudlCUgO+cQGCc2 FvRw== 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=oKmnR8pcWpFGv+QMlFKOsQCj6vs8uoDIFMT8NXu4mE4=; b=UcH7z7c0bVsuAEvmKKXWhYqpxMvKp1pOWaLF1VCZJcHuAjmcLCDDOIgIzshgnHzKra +4sl3HTaHMqne31w1JrAsgnJRs8oeRTcqjjqMs+U36U77Ie6igBB6xL7vu00MZsHGLUO iBZSK7SxnwyxJU2H8W/QgPpXkObGtOlkBo/cgmLUC6gcH/6XSnUvHchr1fMesWVLyk3n utkUWwWqTEZWLY1KunpgmyIHfqt70v26id1qGpCye44Oxljza2vg9PHJa9eaJvXQ63oS AnzHYuAOXZaOwQEYXZ+Hie8iU/8lgSUc4AUoaMqcKuXHmLxJqFTSD043IN+M3CYdSR9e E5NA== X-Gm-Message-State: AJIora+PcBeap5hhzjWfAQEN8VryqS6JB3ABHzXkZFtVR2a5Dd7q6x/F ju/DDH2HaYtMf48Vrggv9/bNJA== X-Google-Smtp-Source: AGRyM1vNwBgh5Q8CltLCA8YuXXXU4qliUHu5dJy1ZJA9o0NqxOXhMwALe8Ik5TCoLIZDppIAMa+NQg== X-Received: by 2002:a2e:a884:0:b0:25d:d8a2:d18c with SMTP id m4-20020a2ea884000000b0025dd8a2d18cmr2613583ljq.305.1658671468673; Sun, 24 Jul 2022 07:04:28 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s13-20020a056512202d00b00489dedf1dcfsm2192622lfs.289.2022.07.24.07.04.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jul 2022 07:04:28 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Yassine Oudjana Subject: [PATCH 6/7] arm64: dts: qcom: msm8996: fix GPU OPP table Date: Sun, 24 Jul 2022 17:04:20 +0300 Message-Id: <20220724140421.1933004-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220724140421.1933004-1-dmitry.baryshkov@linaro.org> References: <20220724140421.1933004-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix Adreno OPP table according to the msm-3.18. Enable 624 MHz for the speed bin 3 and 560 MHz for bins 2 and 3. Fixes: 69cc3114ab0f ("arm64: dts: Add Adreno GPU definitions") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 3ce572f3765f..6dfd30a91af7 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1228,17 +1228,17 @@ 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 + * 624Mhz is only available on speed bins 0 and 3. + * 560Mhz is only available on speed bins 0, 2 and 3. + * All the rest are available on all bins of the hardware. */ opp-624000000 { opp-hz = /bits/ 64 <624000000>; - opp-supported-hw = <0x01>; + opp-supported-hw = <0x09>; }; opp-560000000 { opp-hz = /bits/ 64 <560000000>; - opp-supported-hw = <0x01>; + opp-supported-hw = <0x0d>; }; opp-510000000 { opp-hz = /bits/ 64 <510000000>;