From patchwork Thu Apr 6 07:00:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 80094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp826307vqo; Thu, 6 Apr 2023 00:05:04 -0700 (PDT) X-Google-Smtp-Source: AKy350a8MTBHjC/qIwESWXsZ9LzMzhJOlkYYVVB5rmNYCq0lquXUKkVeRlJBDOUPbE07MquDXJBP X-Received: by 2002:a17:90b:33cc:b0:237:40a5:7cb9 with SMTP id lk12-20020a17090b33cc00b0023740a57cb9mr10020737pjb.5.1680764704234; Thu, 06 Apr 2023 00:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680764704; cv=none; d=google.com; s=arc-20160816; b=O+F+hj8bSfpXD7UhRWm/fa3JxZtm+lkeIcw5lHyloxJlMSTHUV7X52V4hu40eiNnna pbtSyNGiGr3a4kovGSQzdFYyVMOz4nw3rtoLWuMVkjggFkH4/upNp99JGmpg3/XIC9ik rZ5hWI4jDGZRytct1xdi9bbVOfXFwxWmAHKPe7remqZtN+fAC6IdQi9TOR11gXBUSTCT O4MrPcVA5MYOE/D2Kix3g08RdRo74rvuX5JI412E/X148Ye0deKdYkow64iSrz5lGU9D 6ewLJCxIfMTV4UB8HKY30d9CkFJJ9JH2o5e0f6w8y/a8j9m3kKjG3OOKQ4J5/4kDINp5 vBeQ== 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=MJTnvT4dZT7GqFxblF5CDsTiIHcOdefKF4YqXGgrW7g=; b=bZC8/2/YtYKGjdoOZdgNiKqeSOhYspiBUrkFbnc2d2JUe/9SAwJIU9RgSziPyHLEzK 89lDk9hnDAI7XFE1+8Jm/8EZT8cLKEZ0xVRRC3qQMW+cXRUtuYKW60Z0ZGyOpIpk9S7k Qy6dnOH8DN3cubqVvn6KR/B53KyTfTnbM0tF9Z/u6Syuz3/0Wz5LjAM/Yzik4go7tlV7 w1ly9ZGIp0azqPAhuOg6zcD1XZmvgErRabvKu++UgNLeiCFI3xRfSIrXWhPIAzMz++r0 k9MV7QQ6oeGc/lzDN+ro1TBn1uki4eBbO2RYZrh1+FwNy1o0C7jCAMXAEHZyWQmCmjbM JKfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nQswFuCK; 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 v14-20020a17090a898e00b0022bf20fc05esi3219052pjn.43.2023.04.06.00.04.51; Thu, 06 Apr 2023 00:05:04 -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=nQswFuCK; 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 S235933AbjDFHCl (ORCPT + 99 others); Thu, 6 Apr 2023 03:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235890AbjDFHCB (ORCPT ); Thu, 6 Apr 2023 03:02:01 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C18D9EFB; Thu, 6 Apr 2023 00:01:15 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3365hpZF031840; Thu, 6 Apr 2023 07:01: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-type; s=qcppdkim1; bh=MJTnvT4dZT7GqFxblF5CDsTiIHcOdefKF4YqXGgrW7g=; b=nQswFuCKiImZCG0v8r8iz9s7kV+9DtHlPjbp/ZWwLVWZcMEaeVhwRNjNGm05046u/v96 poYXhJtODwCYqaOgZphaG9ctWsNxo4UT9aE3e8yi1sryv72GAPNn3EE5Nx/HuMo9yTfv xBydzios7oWeWXHAWvHzY+nZ3fDknocWJG5/chUPOQLBlv9cNmbBVGOY83SMPCrREvmv Qg9f9zogDTmJTkRfGg73VkQMgrpDnhzwyYIzRXxroba3/+DGpZbcFOLf8UOXfx9nvrYU 0VFu7J1bIfyr4O5PDo0BKsyS4lFc0c9LeDzbVdWdCZqo52WwHqjvB9h0hQnV2EVVcJqk FA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3psgehh24j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Apr 2023 07:01:11 +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 336719C6028669 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Apr 2023 07:01:09 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.986.42; Thu, 6 Apr 2023 00:01:03 -0700 From: Devi Priya To: , , , , , , , , , CC: , , , , , Subject: [PATCH V3 3/5] arm64: dts: qcom: ipq9574: Add RPM related nodes Date: Thu, 6 Apr 2023 12:30:30 +0530 Message-ID: <20230406070032.22243-4-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230406070032.22243-1-quic_devipriy@quicinc.com> References: <20230406070032.22243-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 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) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Y0jwOiC_nEFHOKj7D8Tg1Xrz0ZzsIrZq X-Proofpoint-ORIG-GUID: Y0jwOiC_nEFHOKj7D8Tg1Xrz0ZzsIrZq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-06_02,2023-04-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 spamscore=0 mlxlogscore=773 phishscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304060061 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1762409530477965081?= X-GMAIL-MSGID: =?utf-8?q?1762409530477965081?= Add RPM Glink & RPM message RAM nodes to support frequency scaling on IPQ9574. Co-developed-by: Praveenkumar I Signed-off-by: Praveenkumar I Signed-off-by: Devi Priya Reviewed-by: Konrad Dybcio --- Changes in V3: - Moved rpm_msg_ram node under /soc and updated the node name to sram@ - Moved rpm-glink node such that the nodes are sorted alphabetically arch/arm64/boot/dts/qcom/ipq9574.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 7c820463a79d..1f9b7529e7ed 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -110,12 +110,29 @@ }; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + + rpm_requests: rpm-requests { + compatible = "qcom,rpm-ipq9574"; + qcom,glink-channels = "rpm_requests"; + }; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; + rpm_msg_ram: sram@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x00060000 0x6000>; + }; + pcie0_phy: phy@84000 { compatible = "qcom,ipq9574-qmp-gen3x1-pcie-phy"; reg = <0x00084000 0x1000>;