Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp660067rdb; Tue, 23 Jan 2024 10:36:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmI+jfc3H+ofyv14kBE3QmIkgmLwNg4mJtE1X6FIo4dFq5VM6+EHBnyP0e8GDznd89P2vu X-Received: by 2002:a17:906:fccd:b0:a30:f4fb:a538 with SMTP id qx13-20020a170906fccd00b00a30f4fba538mr183210ejb.5.1706034995489; Tue, 23 Jan 2024 10:36:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706034995; cv=pass; d=google.com; s=arc-20160816; b=I4i4oXllqC2gif3zv3eXaQkNd1bNuCM1tQGOZP1u+3nTVXEY6eeuQ8i5maL3Ei9Nd+ ZUAOPkwhhChOAyfEU3pCkl/k8yBHtgjlFJ/CEvkntCjWV8edXXvDtsZeZWw8bwqtHRNJ DoawdaKG2YfMSckXFln1pyaRVvlghIEISmwNCyG7CAqEi/UWxlVN4EPoSWcJcz2RuglZ klnUfUVf/0rCK3/T3JfhvOsRivcGwdqY+47Uso8uo0aBVsbC/p0rMx3HHlYC2Zp/zXcC m2aN2I8r4ZjGDhAW38soib+dBGtHz48RXlCnUKfW0XBOhbzR0uFRw2LrTb50LLOJkG9M cjGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=BVZLZtkl7yd9ae6XR3zK2S6+xyNEMxP7NtEJZQlRyZU=; fh=+b9guLZ+JF87BCDT3PG8YZdxN4fRbnDcFbL5DFW2ftA=; b=ZM7aMjfQLMroc+1ZBaqHGdreP4qD6eP2TuV3HMhoBbxuofqclUR/LV6/nMZ6A1Edht mDULRvlux5Ja1/WfhULnL2o3V2vqsC7H4s7RC7zEPpIm+WHFDeaqDTVlPurFtZ2d0lDz irSKrCoU2fL7Pxc+mIN9P04pMsE+R4ttBHSCtjnE4B166BmtAObmAqU9HDkPDHIHd/dG LHkdLBWdEp4Hh/H+ILs8UZmsFLP6xNzaTnyUl4kkcu94Jy7DaHeDPwMvx8UO0RvF1uTS YD6W+h3IsqQa4jfw+dpUhyXTTsOYrPvfiLiard1ZLU6UivsoUQF+5VSHZg670TznpW+p ozKQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=awzTV2HH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-35871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i1-20020a170906698100b00a2bfaf23729si11792606ejr.453.2024.01.23.10.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 10:36:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=awzTV2HH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-35871-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 136DE1F22E6F for ; Tue, 23 Jan 2024 18:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6F07823A8; Tue, 23 Jan 2024 18:36:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="awzTV2HH" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02AC47FBB4 for ; Tue, 23 Jan 2024 18:36:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706034982; cv=none; b=XGx2AbT93XJSY5ZYz6BsXpd0v77+TVXrppkcfbHP1hrdHs+WqfaXdlTB+56B5nUViWEK19JvQNh8G2mUEue2fE9dON9kWtMZ0Mzh+EPxPXa0dWa1mvEyHghMK7rPJ7xYrf9tHx+ginKKJB1siB1mbraaE5YkG3qCLAMBezjWvCo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706034982; c=relaxed/simple; bh=xwt5Xogl8JtlwbYXKPVXo86vDQncHNvaSs6NLcMQisU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ik9lDAqJNTlr4nW2DHR18uqoNlGYIa4IeMwKD+uc52yfWtfFefhyiCDHVP54Ko4+6BJotFUb3rr8EqOw3oFqe9SvTX9BX5PfBf0/ufhbDpiXFolZ8V+HIKwR4NX22QYpUIWEbT86paLW7vNi9my2WQaiDU6Fz1u5H1ZXS8EyWAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=awzTV2HH; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-50e5a9bcec9so5172483e87.3 for ; Tue, 23 Jan 2024 10:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706034979; x=1706639779; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BVZLZtkl7yd9ae6XR3zK2S6+xyNEMxP7NtEJZQlRyZU=; b=awzTV2HHpX9T+m8yG0xON1GproWh3Y+l3G8ypC/Fu8iYHNSAQxaRJwhHS8dAcMYjYQ ElWPjPKhTo3Q0+0yUoID0DVilHmW2p5GvF4sp6AU+HUWEZh9+2NWYxzHVze2jONZV0y9 jOCBxzsbkvhGHjJ/ruVYgswUn6gmJtSMly4ZksUmYmQICxAhsXFHYhiary1AIh0JS5f4 RmRcY+pPL9vxe2UZMe5++2d1ySmS6U+9AyBro/r9ruYIus5LEnmmzOvJtccYXb4EWXi3 9FHRONXJ0gO08pQ//XZ71wD2PaOw1Dlb5s4gv/OpVDP5VSIjj+mPLfCIlSz+v6tO5s4F XXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706034979; x=1706639779; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BVZLZtkl7yd9ae6XR3zK2S6+xyNEMxP7NtEJZQlRyZU=; b=Z2lky1RQd9pN4kU+/CU+rPDKsqWfD19GzOxymHgLz28RaJ5yAqeA2oRlu40efGo2Hr j3f1D7UESahtBqNlM1tnl8CIp/poDtQN1/NYnep4rHfYOcfU/mLxCZQ1vyMgqdy5k5QZ 81CbQxLlOseVj3CjJlbj3B1OodJzDIcyiRoDyLOAIDhKPoEZKlQpWBh7uYGJAcBQVQUD jUTAFVcVm3Hnf3sGR7AM/Cc2UKLXexwPQ4xO3/mVe4wwfr74esoAKDQtV9nJUu5VdwTK 91mui8LO/FUVWCBQd2ul7n6q1H0kDSvqa7YwOhU7vORhOqf7K29uPa40BtDN2J6XnuHr U3lQ== X-Gm-Message-State: AOJu0YyEg64yPrNmn+JaX/Mz6r7AvA9nczP5syHz/NxXRKZbbKylCXTn E/wAHFLCYmQ3kZU/tPMZTRFjFpy/IyR71zz+SPNGNNPvSZbgx8Uy3+m1FfBnqAw= X-Received: by 2002:a19:6455:0:b0:50e:51fa:1d3b with SMTP id b21-20020a196455000000b0050e51fa1d3bmr2923681lfj.93.1706034979076; Tue, 23 Jan 2024 10:36:19 -0800 (PST) Received: from [172.30.205.123] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id c26-20020a19761a000000b0051009ef42a7sm199123lff.287.2024.01.23.10.36.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Jan 2024 10:36:18 -0800 (PST) Message-ID: <07cef0ec-dc18-4cee-a6df-8c7f16600c50@linaro.org> Date: Tue, 23 Jan 2024 19:36:17 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 08/11] arm64: dts: qcom: x1e80100: Add display nodes Content-Language: en-US To: Abel Vesa , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240123-x1e80100-dts-missing-nodes-v4-0-072dc2f5c153@linaro.org> <20240123-x1e80100-dts-missing-nodes-v4-8-072dc2f5c153@linaro.org> From: Konrad Dybcio In-Reply-To: <20240123-x1e80100-dts-missing-nodes-v4-8-072dc2f5c153@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/23/24 12:01, Abel Vesa wrote: > Add the required nodes to support display on X1E80100. > > Co-developed-by: Sibi Sankar > Signed-off-by: Sibi Sankar > Co-developed-by: Rajendra Nayak > Signed-off-by: Rajendra Nayak > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 518 +++++++++++++++++++++++++++++++++ > 1 file changed, 518 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index e8d2ea2b26ed..247ff7a9e405 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -4,6 +4,7 @@ > */ > > #include > +#include > #include > #include > #include > @@ -3298,6 +3299,523 @@ usb_1_ss1_role_switch: endpoint { > }; > }; > > + mdss: display-subsystem@ae00000 { > + compatible = "qcom,x1e80100-mdss"; > + reg = <0 0x0ae00000 0 0x1000>; > + reg-names = "mdss"; > + > + interrupts = ; > + > + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, > + <&gcc GCC_DISP_AHB_CLK>, > + <&gcc GCC_DISP_HF_AXI_CLK>, > + <&dispcc DISP_CC_MDSS_MDP_CLK>; > + > + resets = <&dispcc DISP_CC_MDSS_CORE_BCR>; > + > + interconnects = <&mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS > + &gem_noc SLAVE_LLCC QCOM_ICC_TAG_ALWAYS>, > + <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ALWAYS > + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; > + interconnect-names = "mdp0-mem", > + "mdp1-mem"; You likely also want to add the cpu-cfg path [...] > + > + dispcc: clock-controller@af00000 { > + compatible = "qcom,x1e80100-dispcc"; > + reg = <0 0x0af00000 0 0x20000>; > + clocks = <&bi_tcxo_div2>, > + <&bi_tcxo_ao_div2>, > + <&gcc GCC_DISP_AHB_CLK>, This clock is not actually registered with the CCF.. Which means it's also never cleanly shut down.. Please fix the clock driver and check which others got omitted as well. > + <&sleep_clk>, > + <0>, /* dsi0 */ > + <0>, > + <0>, /* dsi1 */ > + <0>, > + <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>, /* dp0 */ > + <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, > + <&usb_1_ss1_qmpphy QMP_USB43DP_DP_LINK_CLK>, /* dp1 */ > + <&usb_1_ss1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, > + <&mdss_dp2_phy 0>, /* dp2 */ > + <&mdss_dp2_phy 1>, > + <&mdss_dp3_phy 0>, /* dp3 */ > + <&mdss_dp3_phy 1>; > + power-domains = <&rpmhpd RPMHPD_MMCX>; Likely: required-opps = <&rpmhpd_opp_low_svs>; so that the PLLs have a chance to spin up Konrad