From patchwork Tue Jul 11 09:35:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 118395 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp361769vqm; Tue, 11 Jul 2023 03:00:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlHybE6iqtrLBYi2AhLpY3nqLDLjiYKW5Qa+kHnwmwnkhkEwd7NpyMNfV+2xDzWHSnBeJ9+R X-Received: by 2002:a17:90a:fc86:b0:263:20b:2238 with SMTP id ci6-20020a17090afc8600b00263020b2238mr10778872pjb.40.1689069645637; Tue, 11 Jul 2023 03:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689069645; cv=none; d=google.com; s=arc-20160816; b=vqkVOYLC765FGiMGqE0GPiltY3rx6YZ0Q6gZCAjnNGdvbvmM/251nAd77immlmOLPg Jc2VDTcV9jqsu95C1G+VupLm1f0xlP+PkIYFkfXVBnwrglDrcYdkpUdW8GtRztYdtlrG wk8yGaM3maB14HUd+o7zluwlPOOxrl7/tdTHrJ3mgdrsfvpeShbp1bG4vTjsJJcaP7VM irdHdzlZoLpmBWC+DxTcTTNOn/7cpqWl7bReUjQFenbLZPCjoFKkvvaP7QaWj5tR7X13 z+plf8F33zcyn1zil7FMh1L1ss8kQQp/jZVzCN66D6yzmU5hdBrkT7eXFfRjgR7E+j8h rJmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=S4ApH6HgkIEC2TgJVd0arO8BvIuqGhWOUZOQNe1iTFM=; fh=EzbXZXxtvyI//EcET2BC5QoPkF7Xo+5nFoB5esxlfPk=; b=NpzBjDWzS3oEODs2lfQZzDT0+wNc9KQnAU6P2DYtMZQPdFlKGPyeV7JXl25FWH+RJz jnieJyjnOF3PybF+gQY9fom00ROMs/xiajxtMfIRm1zcbKMbD1lETUgngtlzS9iqBpEZ o4Il6COU7KVDo060cEhgKTLECN7Uh/oCXTKps5Z76waeXoEt+qWZBVfNt9Z2pfqBjyuo g/S7uVEVNJ5ZlyqN4ykgK8TykGp7CiWbZFdYY0Tvt+p1aM/YYpm2JyvIZ7HiO/vdSEB6 epGpTpsJzTgf6shgWU9hcjcP/2wHune831JeStdzAG6sxMiIW1NU9I6c8U4gzZLfywxs B98w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EPD9Z5A+; 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 j13-20020a170902da8d00b0019c354055d0si1364640plx.304.2023.07.11.03.00.32; Tue, 11 Jul 2023 03:00:45 -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=EPD9Z5A+; 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 S231545AbjGKJh0 (ORCPT + 99 others); Tue, 11 Jul 2023 05:37:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjGKJhK (ORCPT ); Tue, 11 Jul 2023 05:37:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F6B819B2; Tue, 11 Jul 2023 02:36:49 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36B6UfZT020716; Tue, 11 Jul 2023 09:36:25 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-type; s=qcppdkim1; bh=S4ApH6HgkIEC2TgJVd0arO8BvIuqGhWOUZOQNe1iTFM=; b=EPD9Z5A+26X3fhApA37MJnYUZM2GluW+1M66NVQ/v+vLwoZIuZUq3LAMWbqu4ajQRY4I O1fehN3nrwfAHBnlxxxcJCo1XwLt9nYJ81RUfKxw2c1ZEr+sUaZqObmZRuDYnS5A660w NznQzWQc5w6H+vkwiJtCHeG2Q3ro7+5jJB0JbXb92g9ZoxOGi5j/18+F9SFhEhUjDI/5 5f/mW90In3s3Mbdfwl31tkSm0kxvyquP42WzfjbnKrTaDReEK7QgAQdwIxXxx86Ko9Rc sB0FdnK/yyZM7qf0WrucHwZ/NiBk2rxM9Iaw1eYB2okOpIQSmtj80gQ1Exxb4CqniEsZ 7w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rs1e40ddb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 09:36:25 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36B9aOFY006073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 09:36:24 GMT Received: from devipriy-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.1118.30; Tue, 11 Jul 2023 02:36:17 -0700 From: Devi Priya To: , , , , , , , , , , , , , , , , , , , , , , CC: Subject: [PATCH 5/6] arm64: dts: qcom: ipq9574: Add support for nsscc node Date: Tue, 11 Jul 2023 15:05:28 +0530 Message-ID: <20230711093529.18355-6-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230711093529.18355-1-quic_devipriy@quicinc.com> References: <20230711093529.18355-1-quic_devipriy@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-GUID: KzX8Xmc643P3PVOS5AYAIdZN6GPTNLQk X-Proofpoint-ORIG-GUID: KzX8Xmc643P3PVOS5AYAIdZN6GPTNLQk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-11_04,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 clxscore=1015 mlxlogscore=999 mlxscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307110085 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: INBOX X-GMAIL-THRID: 1771117892648458084 X-GMAIL-MSGID: 1771117892648458084 Add a node for the nss clock controller found on ipq9574 based devices. Signed-off-by: Devi Priya --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index f120c7c52351..257ce4a5bfd5 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -10,6 +10,8 @@ #include #include #include +#include +#include / { interrupt-parent = <&intc>; @@ -17,6 +19,30 @@ #size-cells = <2>; clocks { + bias_pll_cc_clk: bias-pll-cc-clk { + compatible = "fixed-clock"; + clock-frequency = <1200000000>; + #clock-cells = <0>; + }; + + bias_pll_nss_noc_clk: bias-pll-nss-noc-clk { + compatible = "fixed-clock"; + clock-frequency = <461500000>; + #clock-cells = <0>; + }; + + bias_pll_ubi_nc_clk: bias-pll-ubi-nc-clk { + compatible = "fixed-clock"; + clock-frequency = <353000000>; + #clock-cells = <0>; + }; + + gcc_gpll0_out_aux: gcc-gpll0-out-aux { + compatible = "fixed-clock"; + clock-frequency = <800000000>; + #clock-cells = <0>; + }; + sleep_clk: sleep-clk { compatible = "fixed-clock"; #clock-cells = <0>; @@ -620,6 +646,24 @@ status = "disabled"; }; }; + + nsscc: nsscc@39b00000 { + compatible = "qcom,ipq9574-nsscc"; + reg = <0x39b00000 0x80000>; + clocks = <&bias_pll_cc_clk>, + <&bias_pll_nss_noc_clk>, + <&bias_pll_ubi_nc_clk>, + <&gcc_gpll0_out_aux>, + <0>, + <0>, + <0>, + <0>, + <0>, + <0>, + <&xo_board_clk>; + #clock-cells = <1>; + #reset-cells = <1>; + }; }; thermal-zones {