From patchwork Fri May 19 21:36:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagadeesh Kona X-Patchwork-Id: 96649 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1539090vqo; Fri, 19 May 2023 14:40:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TVV7IoTCtLnebmvLBtB8iZw9vqI6fmqpYcRXO/jieAhTiUDBS9pb6iaoiOG7Xl5vmAKcI X-Received: by 2002:a17:90a:e2d7:b0:253:2657:2e33 with SMTP id fr23-20020a17090ae2d700b0025326572e33mr3396710pjb.32.1684532450623; Fri, 19 May 2023 14:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684532450; cv=none; d=google.com; s=arc-20160816; b=zrYxx+H/d6I71KV4mX9I5MG7jJvSZVU6iVMtPAncz2lbVrwBnk4qL0mODyusNafkRs AIOh2ESSoaMugbY5za2AotGdxOVQr3T3ryYqwASQXFV3obzo/TWc3f8rted4Mw+2GAdh mT6lG1dHdndTcQoVlvtQNOKJdPI0nuHPEE/7dMPKZSkAv2+SM954jUxdc2ZaR62nwVJA TzWdACyMba7PN31jvmtvWyHJ04hrj9Rd+nW3A0qcigGl0aftEzC4wmV1L7qIKt+Lh3fb 4mJkgs0/BmDwENtGxcLyLWQJYdmCWuvSWaxp4gApOzNGtlNUv288q+UyUq0EMfXpU6vm 5J/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8kMd9I9nK+eyP/i8tgPXVXTLTP0GC4mDhJJCZnDImmM=; b=vuSam3vzIKDLKnpDREVKvuCgbkacKzas90mP7W0mSFIjWOs8XuIuqnVyhIZwrcVsN8 Olmmew0zb7JJXBUZEKrcxEngUNfBZpp+zFncp3cY1uFnXNORdwYsTzMrxZcnM3HxgNTv dyWc+JWAcZg6e1xMKWI2mc0Fv/JEC0BkeDzqDxg7dRWKElXSl89PR9ezbPZs4hhhRwe2 aNcDHrx79aQ1HijNr4KNBddXNWOm4nKM+GLjNlGARpWk1JFV4NlDqZMUq7gBb/4Tr5/4 Lq0LdkoKPzd0v2LPPs2ORk+V1B/VkB2i85IyOjN/IXfN8ILVyDX7fnH9PLCnu4/IeAWr y6Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FUrariuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m24-20020a17090b069800b0024e0153398bsi200352pjz.1.2023.05.19.14.40.38; Fri, 19 May 2023 14:40:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FUrariuS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231690AbjESViK (ORCPT + 99 others); Fri, 19 May 2023 17:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231739AbjESViI (ORCPT ); Fri, 19 May 2023 17:38:08 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 197D1E6B; Fri, 19 May 2023 14:38:00 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34JLOLAI031661; Fri, 19 May 2023 21:37:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=8kMd9I9nK+eyP/i8tgPXVXTLTP0GC4mDhJJCZnDImmM=; b=FUrariuSJ+L+POCeeDy7+NvpAeOu07nrxQWufeK7xQHRM2CtK2RwtDJlvwO81zT9oQCU bkPDFVOy32FT7qbyURUPxNjaCBlQe+YhKEswYesNcH7N5j4LA7YLjWQLAdj792GDZnPk OKeU0ENknr8NktPR5LwAo5yJdqrY3bQiOqDQiSufM8kC8ox3ruBP3SSdFqcr/w6TQ6fE HxPC12x+F30Eb3AMRqoFD6Lwfoq6/Wl0pjpyvhqdthB9DnrH0deFHt736BPSreK00LVQ WQHBfYPDTiWuH9kPgUc+VJiWW6pgk1KGnIcith0Je0dsCYGW/iOxiD4+xFkKST6hUds0 Cg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qp4nt9xhu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 21:37:56 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34JLbt5S015585 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 21:37:55 GMT Received: from hu-jkona-hyd.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.986.42; Fri, 19 May 2023 14:37:50 -0700 From: Jagadeesh Kona To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Konrad Dybcio , , , , , Satya Priya Kakitapalli , Taniya Das , "Jagadeesh Kona" Subject: [PATCH 3/3] arm64: dts: qcom: sm8550: Add graphics clock controller Date: Sat, 20 May 2023 03:06:56 +0530 Message-ID: <20230519213656.26089-4-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230519213656.26089-1-quic_jkona@quicinc.com> References: <20230519213656.26089-1-quic_jkona@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: FEf5leIXnT-YV_RJlasKAnTvBAM69xY5 X-Proofpoint-GUID: FEf5leIXnT-YV_RJlasKAnTvBAM69xY5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_16,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=983 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190187 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766360298912912394?= X-GMAIL-MSGID: =?utf-8?q?1766360298912912394?= Add device node for graphics clock controller on Qualcomm SM8550 platform. Signed-off-by: Jagadeesh Kona Signed-off-by: Taniya Das --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index e67e7c69dae6..5258b057f51c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include #include #include @@ -1963,6 +1964,17 @@ tcsr: clock-controller@1fc0000 { #reset-cells = <1>; }; + gpucc: clock-controller@3d90000 { + compatible = "qcom,sm8550-gpucc"; + reg = <0 0x03d90000 0 0xa000>; + clocks = <&bi_tcxo_div2>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + remoteproc_mpss: remoteproc@4080000 { compatible = "qcom,sm8550-mpss-pas"; reg = <0x0 0x04080000 0x0 0x4040>;