From patchwork Wed Apr 7 15:01:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 416721 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp545913jai; Wed, 7 Apr 2021 08:02:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW9VkNdvEfvJZPrEIpgajdGFT4o336XoijWnCoYzeb/vKEp6ck/99Std7YBuMMRMQ6b3mD X-Received: by 2002:a17:90b:4c02:: with SMTP id na2mr3665894pjb.77.1617807733599; Wed, 07 Apr 2021 08:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617807733; cv=none; d=google.com; s=arc-20160816; b=TvCEuuTG9r+1ud0BGo9MR6rduaq/AwDqH3eau9fIk9bRxPqnF95incCk7TFJsLNXNx VDavT7JdSHEhdUNRHQF3JI9GuKorWIAp0Rqxxuy+IAt1RSf6eGsMmtpI1fngSRKV2ZSP xD2TBYEXSAdCuq1dvcESpmLOfBQSr+Xq/Klgj4BK3xeosNOSqxVkLjj/QDNs+mHDXyiG OwRdExsvem7UsPSM96qBwz7VLD/1FiDUDIYbQuwlIMaO/xrYU7E5WHWdDkhe2UALjby4 aG+Wg9qUUIG2JTXO+PUFPy1F+EZIEE9jXb4NHdmWarHkZrbVjak3hfcKDXHcMViS6O// 0L5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=K1XrBu4Qzrp4RrTAmc8YVPi48PKm9hrOTufzVdMpy50=; b=I2k3XV+SCt7zPLFb2J1JZ2f/POg1jfBAtoJZHn4VB9FaRvVOoO4e0OVNtNrCgjUGfu 80QcnUaYztB3QLhhAMnSnTpK+guGBMSKRfaOHcJsea8x/PAAbJ7UThMjvLa1imtKG3xK 2sQSgVJ+enqb4tb9QeTOivYLrMJHDOOcCbNofgzUO684aikkfPsRmrmp/5JM02w68ghF ycW+VXRLFBRP1YaQ54u37oabYcZ8R/zqF1Yqrh49MDWB38n9DTlePwlK1FzL6Vm1YhsP jAQ1cKi8FjFiHIlCw3I2Q9PXZaUpMMHiFWQOIL0qV/ItNZilso1tlEqVFg/9zpX5sD68 43iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XUUM4YOy; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id pc5si7272154pjb.67.2021.04.07.08.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 08:02:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XUUM4YOy; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6CF8A6E935; Wed, 7 Apr 2021 15:02:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66FE86E93A for ; Wed, 7 Apr 2021 15:02:05 +0000 (UTC) Received: by mail-lf1-x129.google.com with SMTP id d13so29040454lfg.7 for ; Wed, 07 Apr 2021 08:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oQHU6JVtwNTebM12E9MrwsK4Nn8euAbOyGr3erk+v5o=; b=XUUM4YOyI1XzFTGGfqTr9vUu2wDf+IMIjn6pjjjgMzpX7PDK4Zq26m/d1d94d981UQ ySU/lmOMxGiOIE1uZH8UWJUAxdqu9jVNiyUx799SPCDeBb63ksU89PEJDMKOLmkb7E59 R9jqdvu1fcEye4vX3FrmoHuSwIHdpLbM/EJYBLfu4INCMTkbYOKYRDTXisY7xeuQYrvX w5U+uGA27sW847fg1SqpjEDgFZ7cCZ7ddrp9AXpNX1CpWRqyzjL5E8tgMGFrfAynwGBt wueqrtt2eDP/eq49yWXpDzqCfgnvNitu7dtzoQ2OLyinW652jiFgZZNz4nWmyf5+qwU8 c1ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oQHU6JVtwNTebM12E9MrwsK4Nn8euAbOyGr3erk+v5o=; b=MFWLXZUcVLA3GtyK3aS6Hb2mHxqzaKtIXfDv1LHtP9FbTUBCdDmaz4TGQzn2BkYsoX n+rOb+9JfYC61cjAsqce9sB8DNpvrrgNIOMoCA8guj0Aeo7/A/ttBm/oCVM8qsXK2Inf cnOtOj12bglG10sbcHvtrH+tXWQMTFfgvNe3ue+3apKD7dmh+Qbub+da1/6VY3wbe/so KVu2w1T+8WMDXEeeMA2J/FU6VBzpjGnYay+PmFg/Uj3RK2LybBlzvBseTWEJ6i6l37hB LkaMQmZatM22Oh2C9u6KcqfXa5T8VjBT1Oqkf/33FmFa3VJy1NnjWla1TC4E207AsmNU fV/Q== X-Gm-Message-State: AOAM533yWhqWrfHqZ0lGTWQNjPhjz8b15QQzalH1Rrlv1jz1Sxo+o1yy Q5u4GLPa7xS4/Z0jx/CK4uJb5Q== X-Received: by 2002:a05:6512:21a:: with SMTP id a26mr2880860lfo.507.1617807723775; Wed, 07 Apr 2021 08:02:03 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o11sm2552142ljg.42.2021.04.07.08.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 08:02:03 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Clark , Sean Paul , Rob Herring Subject: [PATCH v2 3/4] arm64: dts: sdm845: move bus clock to mdp node for sdm845 target Date: Wed, 7 Apr 2021 18:01:56 +0300 Message-Id: <20210407150157.801210-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210407150157.801210-1-dmitry.baryshkov@linaro.org> References: <20210407150157.801210-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jonathan Marek , David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Move the bus clock to mdp device node,in order to facilitate bus band width scaling on sdm845 target. The parent device MDSS will not vote for bus bw, instead the vote will be triggered by mdp device node. Since a minimum vote is required to turn on bus clock, move the clock node to mdp device from where the votes are requested. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.30.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 7395ef20b90e..55704804c2ca 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4136,9 +4136,8 @@ mdss: mdss@ae00000 { power-domains = <&dispcc MDSS_GDSC>; clocks = <&gcc GCC_DISP_AHB_CLK>, - <&gcc GCC_DISP_AXI_CLK>, <&dispcc DISP_CC_MDSS_MDP_CLK>; - clock-names = "iface", "bus", "core"; + clock-names = "iface", "core"; assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>; assigned-clock-rates = <300000000>; @@ -4166,11 +4165,12 @@ mdss_mdp: mdp@ae01000 { <0 0x0aeb0000 0 0x2008>; reg-names = "mdp", "vbif"; - clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + clocks = <&gcc GCC_DISP_AXI_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, <&dispcc DISP_CC_MDSS_AXI_CLK>, <&dispcc DISP_CC_MDSS_MDP_CLK>, <&dispcc DISP_CC_MDSS_VSYNC_CLK>; - clock-names = "iface", "bus", "core", "vsync"; + clock-names = "gcc-bus", "iface", "bus", "core", "vsync"; assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>, <&dispcc DISP_CC_MDSS_VSYNC_CLK>;