Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp691174pxm; Thu, 3 Mar 2022 02:39:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjKRM55RF7rGmkOnbKfcne5StHPRiaoNa2dAx2JRfKGlUH0AqS4okAS3GVN6MVN9Y3tmF0 X-Received: by 2002:a17:906:a152:b0:6cd:3098:18c9 with SMTP id bu18-20020a170906a15200b006cd309818c9mr26634679ejb.422.1646303973070; Thu, 03 Mar 2022 02:39:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646303973; cv=none; d=google.com; s=arc-20160816; b=Vle6HZueXyZ44iWNuZ9MoMRd5TfQEueXHjUArOWLalDizyyODjITjRKuqq8ozCafra 6UC1srguTXPgNaaezSZHaPQf7t+0JJj+7Vt8jPSo9pF45DIWF7QfP/Co5gahWMlF/fp7 y3eGGp9qPqx1o4f+TCmJyuMNrFNp1ozBpnciFW1mTqPtGjG02Gbj/GpWe6zETJJ/waOA hKtuug0U67DxZO21yIFjfYRY3XHYPd5rpkcNy+5uTwiDY4KUj0UIMFpjVMKIdERZhdyt ZTHyTbH7wJWfhi7Um/YcyBh0MbzOwy/MxTmcCbsBEDQM5MS5Cfv1rlSLXGYUnjBJofdm +CIw== 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=Pr4DVx0cvSqlHPy0wZUMlhkJUgXtU7vy58WSqrm4jeM=; b=THJTQnNKGQJnxmyFcNdhzCH9ZafFWJuSZ5e8eauwvLOnEIpzmaU/c+3n5AIiZjBKaq 25th4Dtzik1J/3L+7KkmNg2yIj0jllG1t7zEghKch7/O0oDJZAzplMPXq+Ez0zn8NRGB 60UigEcs8TfFOqe/J1jcvesJGMleK6BdqqkxyxQjyzmuImgau990vN6IOAHkuAPmvFN5 pFpRwQHIzNBoQGd6RyBeuxEpw6HhJ77GZmBVNKr6mlLfUSdUBo35M15/+pnNITuRNgeL ncVyY1tKwcHBh4YQ6JNWAwtrnElhnqy3JfNvzPu5Dz8qL0+pXGyftbIUo4vLvzGS/E0l fTRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=j7af4DU8; 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 q2-20020a50da82000000b00412e74b3ca8si1034720edj.417.2022.03.03.02.39.10; Thu, 03 Mar 2022 02:39:33 -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=j7af4DU8; 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 S232021AbiCCJlQ (ORCPT + 99 others); Thu, 3 Mar 2022 04:41:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbiCCJlG (ORCPT ); Thu, 3 Mar 2022 04:41:06 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6764177D17; Thu, 3 Mar 2022 01:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646300422; x=1677836422; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=Pr4DVx0cvSqlHPy0wZUMlhkJUgXtU7vy58WSqrm4jeM=; b=j7af4DU8vH9RE+oHMqpjYwN/Slcv663/CESWiuJ3PZW0ln0CfdDx1VPn HGI949n+vFh9Y2jcjlX62vUPN5iUQP/nbsr2r+Hin5zJyGRvt9rOzPylh r3tBB4zTkJHWfMLzD5OYCZ3FlLSkDSVlJd+htPvSo4us4im2pJ57hCDA8 I=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 03 Mar 2022 01:40:21 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 03 Mar 2022 01:40:20 -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:10 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 675833565; Thu, 3 Mar 2022 15:10:09 +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 4/4] arm64/dts/qcom/sm8250: remove assigned-clock-rate property for mdp clk Date: Thu, 3 Mar 2022 15:10:01 +0530 Message-Id: <1646300401-9063-5-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: 7c1dffd471("arm64: dts: qcom: sm8250.dtsi: add display system nodes") Signed-off-by: Vinod Polimera --- 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