Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp84930pxb; Fri, 9 Apr 2021 19:07:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN4ZaU4wB/CyPxjI/9bPtli8Dcs3wtOeTKH0QMka4NuL4owQK3nhSt0sLbI1+f/9x55S1u X-Received: by 2002:a63:575b:: with SMTP id h27mr16590313pgm.180.1618020439311; Fri, 09 Apr 2021 19:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618020439; cv=none; d=google.com; s=arc-20160816; b=YB6zwLKHRq8hRFPWy3zl7wdMj5c10k5vmx1Q8AnZXmV+ikwDfMr6VwBrtWGQjUqwg9 0drfIqARVdXKWW1Jycymx+yMtEto4p50HdK3wP0UqnvMpRTwxtFx5gjgZEmiOhhfpjg4 B97x3cMuQl4b0uUhiV1aGIl29gTbFNMXCSEu3oPs8kL2bXFj93KLswVFx6L6Dqng7ocH WMaKdIIOgu2pw7Odbk0iws6ASbnkU1JmUrUm/xSSq8NmGgKsYq/dBiPFFIiqNBKUEP5s 8NEksOppyTdCMzW8545tvh4QsMK+0mopxigStUJ08XQGWBez1wQCKM4UwwrvdRLczef3 RSBw== 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:dmarc-filter:sender:dkim-signature; bh=I7XkTGHBd6/6KHKf2xFt+UXxiBzlJ5dMk4gABwW+drs=; b=kTry4iz6SGUQTGt41qlVc1hKyhMVhtYl7s72wYnRN0ixQjqQxS9EpCfZT/6GWuSWZ4 FfHSAzTpGo7OC0nqcC1L8uWcrWc6NmcmcW0guQF9/8YmChgKaZ2GR48ssLvaVKzgIPlx 9xIRpjt+PPZ39iCOpkdiPQdgsFrxaQU3gN5Qd/oNJlHX8eIIIAGvcqsTZi5Av9qON90f sy68umG5xVwMih0b0d1n437fobUj19mGJRU/DgZqbzXzAXYYKr7Ks60cgEKMgbZa9CNZ MyH39GuteB2L4pUjvumkhH2JlJgWW94bHbkrnpIstEoeCgxgtwECc0aubXPsjn2ohhe5 GM5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=dxfOPVeH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si6392508pfz.153.2021.04.09.19.07.06; Fri, 09 Apr 2021 19:07:19 -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=@mg.codeaurora.org header.s=smtp header.b=dxfOPVeH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234085AbhDJCFV (ORCPT + 99 others); Fri, 9 Apr 2021 22:05:21 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:15963 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233943AbhDJCFV (ORCPT ); Fri, 9 Apr 2021 22:05:21 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1618020307; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=I7XkTGHBd6/6KHKf2xFt+UXxiBzlJ5dMk4gABwW+drs=; b=dxfOPVeHK+Z1uJ8sOdxhwa79A2PBCnl/AGoRtHHjACGLmdMF/fp/ylOSRfWDjVGUrcdhMDZ6 41eSiZvZIRFYCI5N2YDBOUrq6mD4eo83rYmOHCnvN4cRqQ/td2gJgYKMvyJ55QcLZ+xZ/6+4 W5NiJGJO+C/hvAKwvue595w14bs= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 607107cf8166b7eff718edb0 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 10 Apr 2021 02:05:03 GMT Sender: tdas=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 81A57C43464; Sat, 10 Apr 2021 02:05:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tdas-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tdas) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9C1F1C433C6; Sat, 10 Apr 2021 02:04:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9C1F1C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=tdas@codeaurora.org From: Taniya Das To: Rob Herring , Bjorn Andersson Cc: Douglas Anderson , Stephen Boyd , Andy Gross , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das Subject: [PATCH v1 2/2] arm64: dts: qcom: sc7280: Add clock controller nodes Date: Sat, 10 Apr 2021 07:34:40 +0530 Message-Id: <1618020280-5470-3-git-send-email-tdas@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618020280-5470-1-git-send-email-tdas@codeaurora.org> References: <1618020280-5470-1-git-send-email-tdas@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the video, gpu, display, lpass clock controller device nodes for SC7280 SoC. Signed-off-by: Taniya Das --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index cda3f2a..b59ffff 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -5,8 +5,12 @@ * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. */ +#include #include +#include +#include #include +#include #include #include #include @@ -324,6 +328,31 @@ }; }; + lpasscc: lpasscc@3000000 { + compatible = "qcom,sc7280-lpasscc"; + reg = <0 0x03000000 0 0x40>, + <0 0x03c04000 0 0x4>, + <0 0x03389000 0 0x24>; + reg-names = "qdsp6ss", "top_cc", "cc"; + clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; + clock-names = "iface"; + #clock-cells = <1>; + }; + + gpucc: clock-controller@3d90000 { + compatible = "qcom,sc7280-gpucc"; + reg = <0 0x03d90000 0 0x9000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + clock-names = "bi_tcxo", + "gcc_gpu_gpll0_clk_src", + "gcc_gpu_gpll0_div_clk_src"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + stm@6002000 { compatible = "arm,coresight-stm", "arm,primecell"; reg = <0 0x06002000 0 0x1000>, @@ -820,6 +849,35 @@ interrupts = ; }; + videocc: clock-controller@aaf0000 { + compatible = "qcom,sc7280-videocc"; + reg = <0 0xaaf0000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>; + clock-names = "bi_tcxo", "bi_tcxo_ao"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + + dispcc: clock-controller@af00000 { + compatible = "qcom,sc7280-dispcc"; + reg = <0 0xaf00000 0 0x20000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_DISP_GPLL0_CLK_SRC>, + <0>, <0>, <0>, <0>, <0>, <0>; + clock-names = "bi_tcxo", "gcc_disp_gpll0_clk", + "dsi0_phy_pll_out_byteclk", + "dsi0_phy_pll_out_dsiclk", + "dp_phy_pll_link_clk", + "dp_phy_pll_vco_div_clk", + "edp_phy_pll_link_clk", + "edp_phy_pll_vco_div_clk"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sc7280-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>; -- Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member of the Code Aurora Forum, hosted by the Linux Foundation.