Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp676780pxm; Thu, 3 Mar 2022 02:18:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAmrLsDRI8hC5Y0AnBdD8+Te8zEdQ7G4mx/Wl44ZSaY89wyLrvWZAkWUrVAG7BwLoXZbDa X-Received: by 2002:a17:906:a20c:b0:6ce:a87e:5013 with SMTP id r12-20020a170906a20c00b006cea87e5013mr25312889ejy.379.1646302686976; Thu, 03 Mar 2022 02:18:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646302686; cv=none; d=google.com; s=arc-20160816; b=E5WJ1YiphGx22LOQ9RlpE1kCD0SAvrs/vDnPqC7wyvk0Wi9ArO7y43BUlmAmTbvSNv PooiGXEPRz562alhFuXkewDaAsPXFkkc9CcIR5F2tQBlp72urVhm1g+Alb5pr1NoJBK4 9s9QvmK1vf/oIG3DTaVZ0ZbRhIAjn1NGQGO7Rk8v9HiRb3iAbuy8xXGDZ62zgaslh0dJ YZUt+aVyFmdwkq9FpwJQyoTzX1UZPqo1G4kLjVjF25Uy9pSwCVxmj/JFhoO1cO9dwjWM IHEhuN2dOtVRIhYE8HIZkx7FebTk7ltFJnLsJCeHzOBnBsTavERbgFh4Uhkzx0f4JfCw xIzw== 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=k18H4jQjqdXwe83FlKD0McInh52fikWbkf9CksAysLs=; b=L5OMTWF3BGVKoeaOCYuFtr9Us4y6y/Sg0hUU1Rk4BObbJh3cKYp3c6Ny3Z21cvUwUy hlm+3W+o8CQq//BAZlE0bmI6qbywSnD69egARvdiq/r4tpFCYzURoSMsodeMCvzABc/P DvS9XnXJMVBNvFyqy/KrbfBttgydIdc7pzlOiBKUo/1y69t99ojmNlQX8kgWPNK+dz8p fAlzP+znqax/Zo0ij6ll1keCYCyn9CEcuCoZ3MOUb3ICvZyvNQfqeFvQUNta+Wt5KFrO Dq7k9R63QKhWsEM6pKXTxFItk7WqnnBl3LCNrrq2jf1mgSZ1dl6NVGoronDVWvCtTSbM PfAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=uQifG5gd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c22-20020aa7df16000000b00415682586edsi1164348edy.269.2022.03.03.02.17.44; Thu, 03 Mar 2022 02:18:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=uQifG5gd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbiCCJlK (ORCPT + 99 others); Thu, 3 Mar 2022 04:41:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbiCCJlF (ORCPT ); Thu, 3 Mar 2022 04:41:05 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25BC2177774; Thu, 3 Mar 2022 01:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646300420; x=1677836420; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=k18H4jQjqdXwe83FlKD0McInh52fikWbkf9CksAysLs=; b=uQifG5gdB3Ww6ykw6uGQAD6NXiUHI8z4tw/zj0SSAhAKLqXBUGVeQWl6 Vk1G6NHzUMTTv2b/F4oInKF16NUGTsmB1vyrJ+TVLIn5o2/h9lT3X8Ory k8ZH+GkfUMEDaOmT4vFSctiULUJrl9vg4Lj0ywJoOt10ZwRRZ27XGJQCU g=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 03 Mar 2022 01:40:20 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 03 Mar 2022 01:40:18 -0800 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg01-blr.qualcomm.com with ESMTP; 03 Mar 2022 15:10:07 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 732153565; Thu, 3 Mar 2022 15:10:06 +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 v4 2/4] arm64/dts/qcom/sc7180: remove assigned-clock-rate property for mdp clk Date: Thu, 3 Mar 2022 15:09:59 +0530 Message-Id: <1646300401-9063-3-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1646300401-9063-1-git-send-email-quic_vpolimer@quicinc.com> References: <1646300401-9063-1-git-send-email-quic_vpolimer@quicinc.com> X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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: a3db7ad1af("arm64: dts: qcom: sc7180: add display dt nodes") Signed-off-by: Vinod Polimera --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index e1c46b8..eaab746 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2900,9 +2900,6 @@ <&dispcc DISP_CC_MDSS_MDP_CLK>; clock-names = "iface", "ahb", "core"; - assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; - assigned-clock-rates = <300000000>; - interrupts = ; interrupt-controller; #interrupt-cells = <1>; @@ -2932,12 +2929,10 @@ <&dispcc DISP_CC_MDSS_VSYNC_CLK>; clock-names = "bus", "iface", "rot", "lut", "core", "vsync"; - assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>, - <&dispcc DISP_CC_MDSS_VSYNC_CLK>, + assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>, <&dispcc DISP_CC_MDSS_ROT_CLK>, <&dispcc DISP_CC_MDSS_AHB_CLK>; - assigned-clock-rates = <300000000>, - <19200000>, + assigned-clock-rates = <19200000>, <19200000>, <19200000>; operating-points-v2 = <&mdp_opp_table>; -- 2.7.4