Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4119368pxb; Tue, 2 Nov 2021 04:34:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz71erUkrp4ZFMrcEiCxaKRNd3BPCwNm79ye+pPwe9HONwgf6R/R03WOz5uLS6UiwxnaWI X-Received: by 2002:a17:907:9720:: with SMTP id jg32mr8703236ejc.304.1635852857938; Tue, 02 Nov 2021 04:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635852857; cv=none; d=google.com; s=arc-20160816; b=hmdJdQRsP0/jHmPCW9y8pgsEIaQjpIyLzSxoaE7RfJ5ZtdUVouW9c3BP6sDb15zU41 X/ejyM6z6KY7sYTwTt9CkVFeXMg+SqdVE62rC0ksBzBpyjFrpRI2ZKFfK7+0Tmix1JzR AgGhLLOmdVNJXR50+b7HHS6y2982+mgP/DhjeZULtxWc6Y2Agca0Ftrpg/7LJxQYXC3K dDUo3MKgCVlkTv24gRx4pxrzw6q0LRx52w6/tkbhdLZu/N75pGctTOH9PPG3y3CkekhC a6W67aney369GE9kgJow3APde8su3bPP31s1RQrrk0Re+HwXa9dkT2LzRZEKr8l4hjEK dDjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=qkK3R1RFtpyMHIukBSnciUcoUu1NvYAxq8CPTPJHfoM=; b=ZkOMlda8eX1B1v9cbhBwWnPXgZmZeNSOgJEh06Livy35Z1xyIdsmvsGj7Z4i/DkuQD Yc1fvQZCzktaOSGw3jYbPoYWgn7w4luH9awfjY9uMWcAHGRgNX/Q/dJ9DfnZxdQP8kyK 0fDqN56Z35RHh5APnTDk3rDW0fPLPd2cdGUGEWJ0HQMMJJPUxCae24cXtRR6oHDlMaWX +bb9y8pO6Ehcfl9f/R+pPv1Ze/FRCZ2lnN3h7iORPdL20fPX+Mr520HSlShAlgqmQw0u 4VkrxqmBfDIM7cGlJQf3GiMnXZoz9wE6/YG5YMR2uYceUYX9VTJ6gvZcvnUUJEI0gS3T WIZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=N93HhFtx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si34816918edd.286.2021.11.02.04.33.53; Tue, 02 Nov 2021 04:34:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=N93HhFtx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230102AbhKBLeg (ORCPT + 99 others); Tue, 2 Nov 2021 07:34:36 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:12980 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbhKBLef (ORCPT ); Tue, 2 Nov 2021 07:34:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1635852721; x=1667388721; h=from:to:cc:subject:date:message-id:mime-version; bh=qkK3R1RFtpyMHIukBSnciUcoUu1NvYAxq8CPTPJHfoM=; b=N93HhFtxVmWb0MWEnxiWg2DOSlfOaLvwdVEJ2GI2UfnygTPzwtmMf9+M T6y891rwj6A4VXtUnYGCK1D8MZpdjSO3Ksud36Rw0kC8TFMFHetIfdZOr glbxEF2Mb4O3GjYJm9PMGr9k1vfAgMpp7e6Wbfp7RiPrt5ROD1oiEfo5r M=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 02 Nov 2021 04:32:00 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 04:32:00 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Tue, 2 Nov 2021 04:32:00 -0700 Received: from sbillaka-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Tue, 2 Nov 2021 04:31:55 -0700 From: Sankeerth Billakanti To: , , , CC: Krishna Manikandan , , , , , , , , Subject: [PATCH v3 1/3] arm64: dts: qcom: sc7280: add display dt nodes Date: Tue, 2 Nov 2021 17:01:40 +0530 Message-ID: <1635852702-25822-1-git-send-email-quic_sbillaka@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krishna Manikandan Add mdss and mdp DT nodes for sc7280. Signed-off-by: Krishna Manikandan Reported-by: kernel test robot Reviewed-by: Stephen Boyd Reported-by: kernel test robot Signed-off-by: Sankeerth Billakanti --- Changes in v3: None Changes in v2: - Rename display dt nodes (Stephen Boyd) - Add clock names one per line for readability (Stephen Boyd) arch/arm64/boot/dts/qcom/sc7280.dtsi | 90 ++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 365a2e0..a4536b6 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2704,6 +2704,96 @@ #power-domain-cells = <1>; }; + mdss: display-subsystem@ae00000 { + compatible = "qcom,sc7280-mdss"; + reg = <0 0x0ae00000 0 0x1000>; + reg-names = "mdss"; + + power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>; + + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&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>; + + interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "mdp0-mem"; + + iommus = <&apps_smmu 0x900 0x402>; + + #address-cells = <2>; + #size-cells = <2>; + ranges; + + status = "disabled"; + + mdp: display-controller@ae01000 { + compatible = "qcom,sc7280-dpu"; + reg = <0 0x0ae01000 0 0x8f030>, + <0 0x0aeb0000 0 0x2008>; + reg-names = "mdp", "vbif"; + + clocks = <&gcc GCC_DISP_HF_AXI_CLK>, + <&gcc GCC_DISP_SF_AXI_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>, + <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "bus", + "nrt_bus", + "iface", + "lut", + "core", + "vsync"; + assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>, + <&dispcc DISP_CC_MDSS_VSYNC_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>; + assigned-clock-rates = <300000000>, + <19200000>, + <19200000>; + operating-points-v2 = <&mdp_opp_table>; + power-domains = <&rpmhpd SC7280_CX>; + + interrupt-parent = <&mdss>; + interrupts = <0>; + + status = "disabled"; + + mdp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-380000000 { + opp-hz = /bits/ 64 <380000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-506666667 { + opp-hz = /bits/ 64 <506666667>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sc7280-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>; -- 2.7.4