From patchwork Wed Jan 11 11:43:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 41939 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3272004wrt; Wed, 11 Jan 2023 03:48:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvCIf5EYl1JlKcLpeAxbSOAKL0ZgHdMCNPk9qDIznGMfVpMV1QeZFXAHOQq051patTZ/C2m X-Received: by 2002:a17:907:9c08:b0:78d:f454:ba4a with SMTP id ld8-20020a1709079c0800b0078df454ba4amr49832435ejc.73.1673437714643; Wed, 11 Jan 2023 03:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673437714; cv=none; d=google.com; s=arc-20160816; b=i+Mgpba7Qxe39lfMIo5piGUu7FCF+R8UCr6RgOfPai0BR4CoOD/An7FiyhqdaPGn5j 9OouSC27bxuz15xzUu36a7z8edqxuq+4AhfNofHyOKXKWedA/zMNkRzCWZ3hBib1eSpa diOvL7EmJ7YMknPnWQYbCMObm+5jEJKwYIB7edtmAEk6EUJ0qosT6Dcwr2B06GEp8npq 4x+qI/LwBclRFzJgXMx1xwu0eLfrE9pbelBZ6JEAJjsuAJU5m54L8kh5QyTYy7OKDCfn Dr25XGCGLTkEtabTDHE5qQL8RMV3DoSnDz2uA5X9QWxg+eFE4vWDo/EzL5cCCjXobdcv Kn6w== 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=/IJJnqCCeQTzO3/tnx62D2NGd+2w4ScRu7KPEDGUH4g=; b=lAdOZjtcmShliLfNl6Zjnv5KKf0/n3v7QAezAbsmJjqL1BvNLoX6Uu9WIoBYST4KkI 2cq102DX03sV2g1+mMyNY/lwKS3VV1dx1ARpSq8gyociI84ujPzC65X1EzHNHciNBfe7 gMnwIaqet8RXgEXzEQI3VzL/kfbM0zyrk5gnpRDpTlu785Qq7i2wJhvMi03AENw5+p8b 4SCut4DdLYIcCZLX4h5kVqVO5XBJGuKbeJwmNqIgicsgWUdZ47W1fO9KlgI8dLB+MIo5 DDVDCXddOhGW8mBi9PGesEyYxB2DnCqj8IOQ8Esc4Z8dfozi6X3JWphvWM21Qea8lxv6 CKvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=SBuBK+Ib; 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 ss2-20020a170907c00200b007c1600359d9si12647362ejc.451.2023.01.11.03.48.09; Wed, 11 Jan 2023 03:48:34 -0800 (PST) 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=SBuBK+Ib; 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 S238687AbjAKLrQ (ORCPT + 99 others); Wed, 11 Jan 2023 06:47:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236002AbjAKLqB (ORCPT ); Wed, 11 Jan 2023 06:46:01 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86E281B9C6; Wed, 11 Jan 2023 03:44:52 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30B8ww2n006816; Wed, 11 Jan 2023 11:44:41 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=/IJJnqCCeQTzO3/tnx62D2NGd+2w4ScRu7KPEDGUH4g=; b=SBuBK+IbX/cCUMELN2VG1HhrOtb2XjCzDbuQfu6zpTTfnpvb8rB3ntEegsdlSfOtVCQK 0ic8Mnbb1T25s+TPz4yAdKxpZvNBbjRjwNoFg/Ly3OQ/IwunVa1+vRqSCb25jkLKZqSC d29C2AqYdcJ+DmLvQjO+lFxm0eAXzWw4vyWH6DSaTOflay6hMLpw0/GBjZxYhQ8NKCVL oPxI9ypIlJHPPriaFqE5kE/eiW/G6npzIdo0hqJ9FgCRRgPOEH8/YDu3Y0OPnkNN3CJ9 z2UhEmPgzOLjjeCNHt7znxT+LZ31xy8TplSyCg6E+kIwGEeRPuM/Ln3OADVGH5nJHlJh Zg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n1k6a156y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 11:44:41 +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 30BBidcP026685 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 11:44:39 GMT Received: from blr-ubuntu-87.ap.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.36; Wed, 11 Jan 2023 03:44:35 -0800 From: Sibi Sankar To: , , CC: , , , , , , , , , , , , Sibi Sankar Subject: [PATCH V3 09/10] arm64: dts: qcom: sc7180: Add a carveout for modem metadata Date: Wed, 11 Jan 2023 17:13:36 +0530 Message-ID: <20230111114337.24782-10-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230111114337.24782-1-quic_sibis@quicinc.com> References: <20230111114337.24782-1-quic_sibis@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: F2DWW0gCSxWxFkQrqsm1JyxC5Oc5-68b X-Proofpoint-GUID: F2DWW0gCSxWxFkQrqsm1JyxC5Oc5-68b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-11_05,2023-01-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 clxscore=1015 malwarescore=0 mlxscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301110086 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 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?1754726625276332503?= X-GMAIL-MSGID: =?utf-8?q?1754726625276332503?= Add a new carveout for modem metadata on SC7180 SoCs. Signed-off-by: Sibi Sankar --- v2: * Split dt/bindings per SoC [Krzysztof] arch/arm64/boot/dts/qcom/sc7180-idp.dts | 7 ++++++- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index c7a22c7976b7..9b8b023577ca 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -80,6 +80,11 @@ reg = <0x0 0x94400000 0x0 0x200000>; no-map; }; + + mdata_mem: memory@94e00000 { + reg = <0x0 0x94e00000 0x0 0x4000>; + no-map; + }; }; }; @@ -382,7 +387,7 @@ clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo"; iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>; - memory-region = <&mba_mem &mpss_mem>; + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>; resets = <&aoss_reset AOSS_CC_MSS_RESTART>, <&pdc_reset PDC_MODEM_SYNC_RESET>; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index edb56c4d55a2..8b7652a94628 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -81,6 +81,11 @@ reg = <0x0 0x94400000 0x0 0x200000>; no-map; }; + + mdata_mem: memory@94e00000 { + reg = <0x0 0x94e00000 0x0 0x4000>; + no-map; + }; }; aliases { @@ -865,7 +870,7 @@ hp_i2c: &i2c9 { clock-names = "iface", "bus", "nav", "snoc_axi", "mnoc_axi", "xo"; iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>; - memory-region = <&mba_mem &mpss_mem>; + memory-region = <&mba_mem>, <&mpss_mem>, <&mdata_mem>; /* This gets overridden for SKUs with LTE support. */ firmware-name = "qcom/sc7180-trogdor/modem-nolte/mba.mbn",