From patchwork Mon Mar 29 12:00:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 410834 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3558794jai; Mon, 29 Mar 2021 05:01:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMV9Ph3FQXAEKDMWv9bGl00uH1ErHj1K0g5HE67c3gJ2U9IhNBtxvxdV286vdH+2++W2WK X-Received: by 2002:a63:3245:: with SMTP id y66mr3867190pgy.435.1617019268703; Mon, 29 Mar 2021 05:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617019268; cv=none; d=google.com; s=arc-20160816; b=ExbbBxV0nGy7lkyKZkbWP1D9xqCA7nCArzjRau8rdVUSxgwXYnGEKVBGacnOdxOjVJ HMhu42z7ebifg2TNRXz7wX77YdaT3Y9PIjV0qvZkiByjvtRy5menXKI4YqRqWxtq8ICB +g96fRjGTExBfLyB2ox2lMjcQ04e430k1QZ1AG4aOD+9Rq6sSgz4KKwQiN4ZaCozz6sL U64e0wgaYxWc+XKiJJ3Kq4slu1vQpK7sLc02HA3TshDbb9eUWan5lOWWBMVgz6KZUeds SAHtXo1CUm2JO31l06RCKH0/GmVa3CiCuPz1zjV6HkitP2+FfypPIXZGC8e2IF1bKITZ WFZg== 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=ZDRm4x3Hh9bk7hNKCUfkZtlMyFVl3F1Fvwbb/FuXRWM=; b=rQ+3uUZBiN5p7dzjJ1hzY3N/6l51Gcvn+iO56tqBDId7SrxjP3e1fr143W175V6bab jRhYy4BUkuSTFGjPYPSOotZ2SYG0voqaTi04n7MyBemOgEvW1Cf6B7CEU4D7GOyjGAEc ijOu3qr7sVJuqnklfGFiKSh2+pXaNDZxL2SdR99y2EZYbUiKpnPIaVW2IQ09Yc3gbskC D+piZfviYl8l0LEOCtmBIPhUuyAb6mFpyt6C182GuCuibdG4UW0Ud7PGokLnMLN84yWX 1MLmd3u049p8R8p+2yk763N35DX3Y1x5pWiaOBqaubtu25Yk1jcIGJwjb41qCWOeJs+K KKpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gOVs1Qg5; 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 4si17658524pgz.68.2021.03.29.05.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 05:01:08 -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=gOVs1Qg5; 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 285846E413; Mon, 29 Mar 2021 12:01:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by gabe.freedesktop.org (Postfix) with ESMTPS id F26C66E3F9 for ; Mon, 29 Mar 2021 12:01:00 +0000 (UTC) Received: by mail-lf1-x12f.google.com with SMTP id b83so17977407lfd.11 for ; Mon, 29 Mar 2021 05:01:00 -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=Za3WAfwBQn5CB64f8uczux74fVXb0Y3lBUEXrhz1In0=; b=gOVs1Qg5jxqVjvbB1dL4XeliN7Umgx2BmvIcGEGk+aqxaWQ8IYeIONbfcCVXvGyw0G Mql/vEuEq+/BAVOeKt+ftMMUlLAk1T8moHbn473oIu/n+AK5MykF7pwHPGwK+RMZxsAB G5SyU/EFuOscIDC6zt5WceesYqfsrjpwzfiTRxFtQojIb0DBtvW/dVdpEP4gDrugschL oUfI695c0jAb25MvhuK9Uy0F/3MN6XDDxSV0BBkHXSqioeRpckf8bHVkD3exDgFYMenL lkNj6/LTmavc01xLvkbHXRRjXtEPSNjiI+XMhg7OjzZsZebu9YdwKQ9uoSLUyjmtfAA0 uqjA== 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=Za3WAfwBQn5CB64f8uczux74fVXb0Y3lBUEXrhz1In0=; b=Y8UdGV7TvHxJ1Wh8TJRUnCTOOAEEEKVzODn0e9rLR58wO/uXSZ3RLWAHU27HHRBOBl eQeFw5HPlbbcfYTNiFfSo8Jk1pxtmp2YC5GGdikm3V0cmY+5HNzxJwrqPH7CAOWJVez9 THVdWCuNJ8PdMIdZqqF00k23Z9ZPh6tra+USRUTEFj4/gTMYbKzsdezVzuwkBQLaIr4F LKsTKUk+rxhq9yHR84EzagQdHs5BOtZt2TACfQ+KBRKb2DlKcH6KNgYPkp32ULsj0UdH 64avHORW4u/JNVDDrYahrepKxRlZASPW/9XwKCmKanLI1KBgIVs4PTxvPiZOLZsH2W9j e2KA== X-Gm-Message-State: AOAM531m8bRj/8FL85+U4+PMNhCmSuKsdNOBYLUYCviq8SDIwsEDkRor 6AhBMLECMSyFc9Z7nXbNZLxfLw== X-Received: by 2002:a19:224d:: with SMTP id i74mr16390665lfi.224.1617019259451; Mon, 29 Mar 2021 05:00:59 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id d8sm2415240ljc.129.2021.03.29.05.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 05:00:59 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Clark , Sean Paul , Rob Herring Subject: [PATCH v4 1/4] arm64: dts: qcom: sm8250: fix display nodes Date: Mon, 29 Mar 2021 15:00:48 +0300 Message-Id: <20210329120051.3401567-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210329120051.3401567-1-dmitry.baryshkov@linaro.org> References: <20210329120051.3401567-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" From: Jonathan Marek Apply these fixes to the newly added sm8250 display ndoes - Remove "notused" interconnect (which apparently was blindly copied from my old patches) - Use dispcc node example from dt-bindings, removing clocks which aren't documented or used by the driver and fixing the region size. Fixes: 7c1dffd471b1 ("arm64: dts: qcom: sm8250.dtsi: add display system nodes") Signed-off-by: Jonathan Marek [DB: compatibility changes split into separate patch] Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 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/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 947e1accae3a..32f0d6a82457 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2327,10 +2327,9 @@ mdss: mdss@ae00000 { reg = <0 0x0ae00000 0 0x1000>; reg-names = "mdss"; - interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_DISPLAY_CFG>, - <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, + interconnects = <&mmss_noc MASTER_MDP_PORT0 &mc_virt SLAVE_EBI_CH0>, <&mmss_noc MASTER_MDP_PORT1 &mc_virt SLAVE_EBI_CH0>; - interconnect-names = "notused", "mdp0-mem", "mdp1-mem"; + interconnect-names = "mdp0-mem", "mdp1-mem"; power-domains = <&dispcc MDSS_GDSC>; @@ -2580,7 +2579,7 @@ opp-358000000 { dispcc: clock-controller@af00000 { compatible = "qcom,sm8250-dispcc"; - reg = <0 0x0af00000 0 0x20000>; + reg = <0 0x0af00000 0 0x10000>; mmcx-supply = <&mmcx_reg>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&dsi0_phy 0>, @@ -2588,28 +2587,14 @@ dispcc: clock-controller@af00000 { <&dsi1_phy 0>, <&dsi1_phy 1>, <0>, - <0>, - <0>, - <0>, - <0>, - <0>, - <0>, - <0>, - <&sleep_clk>; + <0>; clock-names = "bi_tcxo", "dsi0_phy_pll_out_byteclk", "dsi0_phy_pll_out_dsiclk", "dsi1_phy_pll_out_byteclk", "dsi1_phy_pll_out_dsiclk", - "dp_link_clk_divsel_ten", - "dp_vco_divided_clk_src_mux", - "dptx1_phy_pll_link_clk", - "dptx1_phy_pll_vco_div_clk", - "dptx2_phy_pll_link_clk", - "dptx2_phy_pll_vco_div_clk", - "edp_phy_pll_link_clk", - "edp_phy_pll_vco_div_clk", - "sleep_clk"; + "dp_phy_pll_link_clk", + "dp_phy_pll_vco_div_clk"; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>;