Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2453664pxp; Mon, 21 Mar 2022 21:02:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7ClFh+oKopoK3swkmnJNNcdBWcLSSlzVqKuorzF/PZoYZ/FK8DzX6wS9ZFx0qGUdBW/iP X-Received: by 2002:a17:902:8b87:b0:14b:47b3:c0a2 with SMTP id ay7-20020a1709028b8700b0014b47b3c0a2mr16308260plb.51.1647921760517; Mon, 21 Mar 2022 21:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647921760; cv=none; d=google.com; s=arc-20160816; b=ZLTVJFmRKranMHa40Ei5r2nN1xpaJPWObhV5aFudP9NLCNFbpFt6F32+46DrPK/Ws2 JNxge7gek5G/HpoEGlcto1VDMaLWhQxbWANLg7D9TKUqFX73jQlWeteO5nWa4GCQ6F+8 Y7fMB+B6MhJa49Zwm3DzVCUqvpT0b+3nwfmQ/wO78ZkWjRfRl8xohEF4iSqjK5NrNnST oXTXRdeR9cilTjia2/IE3bdQnODBlG2aCpGlEUvb12Jq5YFvp/vH8H5hCJzw1vP+Hegu hr4TAuof4DhI7xx6bd6ykFaBSCcQ8WZXW7IaFlDzofVJr8+uaSIc3GQQJyBB1pQUbuf4 r0mA== 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=GBCchohdMxPmdCyHwZJ3vkgN2swoKj239vTmkcRZUrE=; b=HsJaDTf0N3qks9KlgfuV7WONnuR8ZnJmh29M375i6jd1FdLifr45YHTPvuj904kmyR fzHOvs4qHNTy4skq+o1Z/tnfyOIiJPwlo6QPCZEA2hXXiE6IEnLwCv+TftSgy4ae5/fT efRmxtfpspUBWXRza5yDyN2FAQrqPaIMcJTLtTdvjDD1WWOZ84/q42KHD4LQ+dOhSy4t z3d0qaUrgxUIjZd0LBzLeWWlL/ewvJT6c7vXYvAVTolp2oYkfbndXUoQb3ljRVN8Ww2q Q50Nbp4efNoqc9K8GuUmj1oeW4bkCv7SsSaZxFvdPjQLfw0Smro1ovZ53RGzjX/fdi7y rI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=l0zmM5Yz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k5-20020a170902e90500b00153b2d16654si11336478pld.604.2022.03.21.21.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 21:02:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=l0zmM5Yz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 3ACA0111778; Mon, 21 Mar 2022 20:28:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236105AbiCVD3N (ORCPT + 99 others); Mon, 21 Mar 2022 23:29:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235974AbiCVD26 (ORCPT ); Mon, 21 Mar 2022 23:28:58 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8ABCE6160; Mon, 21 Mar 2022 20:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647919652; x=1679455652; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=GBCchohdMxPmdCyHwZJ3vkgN2swoKj239vTmkcRZUrE=; b=l0zmM5YzDKztZSnXKjyiK4WCjAKU1qR3HJjrpFRPi+y/areLZRvu/a8f 5/Z9sADnVO49GqGdsyDv0Yh5OmrGApeoV/o3QoAezq79/ruWOCYGvZyeN xtceGoYIdC2DNpql/nAMFAe0eyDvU6D92jAXbZoA2D8ozom8c3mYF7POU 4=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 21 Mar 2022 20:27:31 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 21 Mar 2022 20:27:30 -0700 X-QCInternal: smtphost Received: from vpolimer-linux.qualcomm.com ([10.204.67.235]) by ironmsg02-blr.qualcomm.com with ESMTP; 22 Mar 2022 08:57:13 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 38BD85422; Tue, 22 Mar 2022 08:57:13 +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, dmitry.baryshkov@linaro.org, dianders@chromium.org, quic_kalyant@quicinc.com Subject: [PATCH v7 2/5] arm64: dts: qcom: sm7280: remove assigned-clock-rate property for mdp clk Date: Tue, 22 Mar 2022 08:57:08 +0530 Message-Id: <1647919631-14447-3-git-send-email-quic_vpolimer@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647919631-14447-1-git-send-email-quic_vpolimer@quicinc.com> References: <1647919631-14447-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 Drop the assigned clock rate property and vote on the mdp clock as per calculated value during the usecase. This patch is dependent on the patch ("drm/msm/disp/dpu1: set mdp clk to the maximum frequency in opp table during probe") [1]. [1] https://lore.kernel.org/r/1647269217-14064-2-git-send-email-quic_vpolimer@quicinc.com/ Signed-off-by: Vinod Polimera Reviewed-by: Stephen Boyd Reviewed-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index c07765d..a3c768c 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3086,9 +3086,6 @@ "ahb", "core"; - assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; - assigned-clock-rates = <300000000>; - interrupts = ; interrupt-controller; #interrupt-cells = <1>; @@ -3122,11 +3119,9 @@ "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_AHB_CLK>; - assigned-clock-rates = <300000000>, - <19200000>, + assigned-clock-rates = <19200000>, <19200000>; operating-points-v2 = <&mdp_opp_table>; power-domains = <&rpmhpd SC7280_CX>; -- 2.7.4