From patchwork Wed May 24 18:18:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagadeesh Kona X-Patchwork-Id: 98650 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp111063vqr; Wed, 24 May 2023 11:49:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MBMbrnZx83YSsvqXXcCF6ALv4x00Od+GhgxnXncN1+DJPhEgH22aVUkhKkIA6pjVjm9Zm X-Received: by 2002:a17:90a:b005:b0:255:ae09:1f2f with SMTP id x5-20020a17090ab00500b00255ae091f2fmr5842632pjq.47.1684954143049; Wed, 24 May 2023 11:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684954143; cv=none; d=google.com; s=arc-20160816; b=ot+BWsq/dKINOgkOwgbiRd/NRjAfAdtxqW5s4sojLJobaIBa7C7+IZe+3k8ytL3Mrj 3DZGue7u+R6LYDp+IkUAH1J+2SQEjvNnOBmA8wDxbt5POUdyGO+d8lNpz41xK52W7KHQ hRoQJHQg9PHegpa+O2XvOPY/gTKp22vkK50cjNpaHsv9FifmjIlF4XqXi/nvleCmmOHJ +wrCRBnQAD3EaPK8dyP5eGZvagPRNvQULUQ9S59xuC3+5YqfIXVJngUtR192MN1J+UOw 7VN4mlvH5X7arnL5Agpnulv2QUsL+RhzC0tsn6Hgmss++ugUuK66uhvZAqJH6N77cNX4 XNnw== 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=BePHY609kxh/0jqG1ytMzLiAyWzRWBWwdGc9FfWw98U=; b=TA34jKVBltK5slpRUATYgac+lHmfs82jhUDirbBuJHZFGwkiP41LshpEbA29AWIohi iJcEwWtE+2cpdRn2DR9Vj1MAIkxwHbVhnggqsbfcpvkaEsh43vTxQmocL4MPZizFY1uL LEYhPePuAPyK6t5af0TCrQipU5QvqRu1dC5emHzL40y5/b3ftMVKoFhxBSsLqFR0QtEJ Z6SVkln0rdwvFhHIi0uqxR84tkXy4p8tp58uxC81A8ctoka3ay/lOdQMAgaqVXyQwIWM rlH8Lxtr1YXVoHZ/W3D2eElAcuLCj1tMYtRi2h7OXvnCKjAvlmUcKqOrN4H1B1OH//4z L1MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Y1RJQn5Z; 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 v22-20020a63b956000000b0052c37cb5116si8548073pgo.435.2023.05.24.11.48.50; Wed, 24 May 2023 11:49:03 -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=Y1RJQn5Z; 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 S237059AbjEXSTc (ORCPT + 99 others); Wed, 24 May 2023 14:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237166AbjEXSTX (ORCPT ); Wed, 24 May 2023 14:19:23 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA1798; Wed, 24 May 2023 11:19:14 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34OEnR9D015569; Wed, 24 May 2023 18:19:11 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=BePHY609kxh/0jqG1ytMzLiAyWzRWBWwdGc9FfWw98U=; b=Y1RJQn5ZWTr04CeOKNboFrYurnpVXqqy9V6ERjUF1VK0T9pDOWJgxJZF0OZnbWgVc8cU xcB5unQ3ZFV0sxI4T/a6ZbIa8+xf+ZVjNwfFnFAvK8u5bHnZYO9rG9262smyjF5gx1nN KyBELoKlkriSm/La21H5GcMWAgJQU5dzaEk8JvGd7U85hVXmRaykMJ3W6zysUO4pgK4o lqVu5nvLj9s5S0BRXFlItbyxJiawkz+j937nib83n7QpaUEDBOz45DeHpr8vYs0eOHpJ ArohBmxGyWP1M30ovXZs93shjdSU+Jb1EZe7sGvguPhLhndbsk5/jBSv74aYSFsbBqH3 jw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qsf881d0u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 18:19:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34OIInt5007327 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 24 May 2023 18:18:49 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; Wed, 24 May 2023 11:18:44 -0700 From: Jagadeesh Kona To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Konrad Dybcio , , , , , Taniya Das , "Jagadeesh Kona" , Satya Priya Kakitapalli , Imran Shaik , "Ajit Pandey" Subject: [PATCH V2 3/3] arm64: dts: qcom: sm8550: Add graphics clock controller Date: Wed, 24 May 2023 23:48:00 +0530 Message-ID: <20230524181800.28717-4-quic_jkona@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230524181800.28717-1-quic_jkona@quicinc.com> References: <20230524181800.28717-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: hcfZIqRYWvE9Ax43KRrjQZmTGRxpm8kX X-Proofpoint-GUID: hcfZIqRYWvE9Ax43KRrjQZmTGRxpm8kX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-24_13,2023-05-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=970 mlxscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305240152 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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?1766802475352550133?= X-GMAIL-MSGID: =?utf-8?q?1766802475352550133?= Add device node for graphics clock controller on Qualcomm SM8550 platform. Signed-off-by: Jagadeesh Kona --- Changes since V1: - No changes. 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 bef33b253813..d712640ee426 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -1952,6 +1953,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>;