Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3568045pxp; Tue, 8 Mar 2022 17:40:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJySFPih9MMlUfx/ne8s7MIqpulKTG9oibFMd7o8FpBovjQhS3qCCw6fUVeLHKdRSXsPvg4K X-Received: by 2002:a17:903:1249:b0:151:96ee:91a1 with SMTP id u9-20020a170903124900b0015196ee91a1mr20644921plh.169.1646790021527; Tue, 08 Mar 2022 17:40:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646790021; cv=none; d=google.com; s=arc-20160816; b=zqocOcuLzuM5zxqzHRx+gBIcHkO9fcYAgJKkB2OqH4JAoL7gs70rpsneEHKZSmtbc4 awrc8NjiGe2KLqiTDEFzGDqkCpjtNrgnDzkfkdSuKKI/a5GFJj6ZOEqHjzieNYEiEj42 iIGq1BrAixEQ5KOkRP71lsI8Vz9DQO+fclE8WP8DgnrqM1kWRiu4LvBnYZxjvTH3ywtn QhXl7qIBH5SbtRyTVeTZ7FhqNt5KftFPs/HZ75rOMes9pMpyzCBX+6uC+Ve/cx3dahkf 84kdH0JzHnR1qutwuyh59VKNi2C4g2B6wWLFfjgfNnt+43bAT1qixWLRu+NGEbjsAA/i mj1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=a4IaeSXwSBvcS1QBXci/iCU3y5fDAD+ThP2vZLPD1Hg=; b=Xm8DUrgofNtJIzLAT/9PfXgFYD0CvHqScJzZTQxSmLjNa0zlHhMnlrJ34SABih9j8n 5Od3Aaksw+jfshPjzhCVbZWrI3qiC2yrwN2yE8tsmo+e7msvplweuYUp9M0TIcFoKlmK p+L35pxSWShEwBPH++Ev+GRgj5Z3NdqudlqZ8OUWtjmmLxxEOxZgMFe0RKdsKq0T7jXV W2GOzgYsEZ35i48QkIoaVma8gg1Gw1C+8rP6q4SLzigpnDIBWKWoctrjIzjMh2rvGKk3 6j7Ku9e0BEb4UQX1UnANWbvhnj+DhxpDtBmakTRf2Onw2j7YYXQr0iOrhsnHqmyag5J5 YW2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=D7vValmJ; 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=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t62-20020a638141000000b003739ad0ca07si460232pgd.833.2022.03.08.17.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:40:21 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=D7vValmJ; 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=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ACE2D21F5D2; Tue, 8 Mar 2022 16:33:51 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348297AbiCHQ4a (ORCPT + 99 others); Tue, 8 Mar 2022 11:56:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348509AbiCHQ4U (ORCPT ); Tue, 8 Mar 2022 11:56:20 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32B1B4ECF9; Tue, 8 Mar 2022 08:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646758523; x=1678294523; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=a4IaeSXwSBvcS1QBXci/iCU3y5fDAD+ThP2vZLPD1Hg=; b=D7vValmJkOOb+0f51zb51jZaCxtg/H0//rHquw3HZtryLWlicc1SQuHw 5PmwYTDRb5HlTupD/1i9+R9W8Tqi2B3+ImTXwLVTpjGYWG/u5GvyoTYJE 2cBNh0r8Ep19shZrhDRbfHh0aQS5J4/8OhwTtIDWLnYK0gZF40/NzyJLD I=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 08 Mar 2022 08:55:23 -0800 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 08 Mar 2022 08:55:21 -0800 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg02-blr.qualcomm.com with ESMTP; 08 Mar 2022 22:25:03 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 7621E53EF; Tue, 8 Mar 2022 22:25:02 +0530 (IST) From: Vinod Polimera To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Vinod Polimera , linux-kernel@vger.kernel.org, robdclark@gmail.com, dianders@chromium.org, swboyd@chromium.org, quic_kalyant@quicinc.com Subject: [PATCH v5 4/5] arm64/dts/qcom/sm8250: remove assigned-clock-rate property for mdp clk Date: Tue, 8 Mar 2022 22:24:59 +0530 Message-Id: <1646758500-3776-5-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1646758500-3776-1-git-send-email-quic_vpolimer@quicinc.com> References: <1646758500-3776-1-git-send-email-quic_vpolimer@quicinc.com> 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 Kernel clock driver assumes that initial rate is the max rate for that clock and was not allowing it to scale beyond the assigned clock value. Drop the assigned clock rate property and vote on the mdp clock as per calculated value during the usecase. Fixes: 7c1dffd471("arm64: dts: qcom: sm8250.dtsi: add display system nodes") Signed-off-by: Vinod Polimera Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index fdaf303..2105eb7 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3164,9 +3164,6 @@ <&dispcc DISP_CC_MDSS_MDP_CLK>; clock-names = "iface", "bus", "nrt_bus", "core"; - assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; - assigned-clock-rates = <460000000>; - interrupts = ; interrupt-controller; #interrupt-cells = <1>; @@ -3191,10 +3188,8 @@ <&dispcc DISP_CC_MDSS_VSYNC_CLK>; clock-names = "iface", "bus", "core", "vsync"; - assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>, - <&dispcc DISP_CC_MDSS_VSYNC_CLK>; - assigned-clock-rates = <460000000>, - <19200000>; + assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + assigned-clock-rates = <19200000>; operating-points-v2 = <&mdp_opp_table>; power-domains = <&rpmhpd SM8250_MMCX>; -- 2.7.4