Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2453668pxp; Mon, 21 Mar 2022 21:02:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmGW7QWS4cT8ZsgjsegZneEu9wZXzR71Ny59pSQ5ZvZoSCs+A6pM4L6bkciAAYNcCDzrt6 X-Received: by 2002:a05:6a02:106:b0:36c:96dd:8c17 with SMTP id bg6-20020a056a02010600b0036c96dd8c17mr21067215pgb.190.1647921761169; Mon, 21 Mar 2022 21:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647921761; cv=none; d=google.com; s=arc-20160816; b=ThsOU07xAKYILA26kLSdApJfz540feQXXadtgouKFs1+lQsf4L0ueoOoKchjCUxuHy u6I4aycWn8hAF/lWbqSt5fH8NIgRXqmN8o20rywZALOcJWVBwM955IyCjlsuj7yrNqKr PdG5eQFbICEEVcE+pi8SZGvGjF3K/6bCbDHmOfEuNjvptIF3CHKcQfV+RIZQLk830KDy KFgl2E8hbT0XLUrliHlI1NidKTgKDPL/wS1nH8QyBDTyq3SPG3C6GKJjXc2vC1GkJvzx Lkx0ge5nr/AkN8yYuzjhcrjE++X9Z/RFNMUFZwBjGYSSd4lKQLEwUGSRMqGVZWp0VNd/ JSug== 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=NeQgRFIMFaBb8gkIXKoWb96J7lg5ULFzPB022MVbE2c=; b=byMsikBx5fO7UOODhGQCszVLXbvnsW33CWTRKYQUOEccQuCiI6IZ8M73WLja9AduCW Kh0Po7G54qVjBpX/XZ/axqr6LosNbPFR80B2oiNkIgI6yT79jwEItLsZiQAiuTWWWZhD dt8OBUzrzzQQV/Nlp3nuvtiFxTLjAyhtWJvXkqcOkTpd5VCMVCmJRC9vC6MyAi3ZqElQ QAmk3ofskIc3tsG99e6jVf4C1cmlMW41M+u/vNvXPCPA3jWz3wgslqRPeoChmd1u6Bd7 jMFr44M7QFtDocYOObF/ozs6Lad683jHHD5ogWtg19tYQrVj6pWvHcTm/Vb0vZ0Xh2Yj i2Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=U6XExGjI; 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 y31-20020a056a001c9f00b004fa3a8dfffcsi3339486pfw.179.2022.03.21.21.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 21:02:41 -0700 (PDT) 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=U6XExGjI; 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 CD598113D20; Mon, 21 Mar 2022 20:28:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236136AbiCVD3S (ORCPT + 99 others); Mon, 21 Mar 2022 23:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236049AbiCVD3A (ORCPT ); Mon, 21 Mar 2022 23:29:00 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 227A3E9CB5; Mon, 21 Mar 2022 20:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647919654; x=1679455654; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=NeQgRFIMFaBb8gkIXKoWb96J7lg5ULFzPB022MVbE2c=; b=U6XExGjIsHZlS066TSSmvIdxLvai95gIMwR/c37QCmmrYe5CxL5zi4kg Ld39VL703WxBvQt/UvVF4I0584Spi4jPxgRS0PfBXWCWVyPyfB0z4N+Hl JpidBfu/QepymKf0X9Uw1XF49Lm8JDEP8LGnFd5ZO8No0virRnNSneQQD o=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 21 Mar 2022 20:27:33 -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:31 -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:14 +0530 Received: by vpolimer-linux.qualcomm.com (Postfix, from userid 463814) id 5B74B542F; 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 3/5] arm64: dts: qcom: sm7180: remove assigned-clock-rate property for mdp clk Date: Tue, 22 Mar 2022 08:57:09 +0530 Message-Id: <1647919631-14447-4-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/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