From patchwork Thu Jun 6 14:38:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 802051 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 231041ABE2A; Thu, 6 Jun 2024 14:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684823; cv=none; b=TpcwHvsVmQEpDjiZ2RLaJrNLzaXlx2OMpBoVJzn6zB/4/5OCEEPh7mcJuFOJ49+da34g8OurNk7jOeb9lyDIQB66B/0xaqr3RviY0EAb+g1RjXnzO/stpZfT0DJfNF2bXzzSUglD1MJ3oxc6N4dTHfDzXnafZZgTqhMi9ikglIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684823; c=relaxed/simple; bh=Yi8e6C06Z2hIN8SK8YDlnVlidHkQccKdpZguIQqa/sc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Eg+IuRu1gLP3ZLoeqNeg1ulWFRcDx7uQ7j0ZyIqviSbkW26AljJN+iwArq6agvvq6f0UzCScuWahs+d3DT0mTgepmIMw/gjOjYgD8t0rkrL2I2AYl2zGYtTt1FmwU8lH6PXxueqmh24hw63OOhvxsuQ9H88rKUvQnoLsLldSFEA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ZAKGlrDZ; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZAKGlrDZ" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 456AhSOW016673; Thu, 6 Jun 2024 14:40:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=Iqwn7RUBPS+VCI0b9QeDYJin oYGMvMqAN5xjaAaEMDA=; b=ZAKGlrDZ8lpo+O9djBdEZD/Kx3H3FsHK4sIpIyJ4 qLakEvXAgKmw8hK8eIKY5tMaWSoRJBBYYLNZ94/pQf5d9W9eM40U0h+4b/Z5XxXn rCyErBsQGQEuDZ/iO3WVXvNVoZjxSgSnWAsLqm/5kgTHF+gcO502vzY44esgo5oR +JgF11tO9cS8MbhGHOP6gRj9OBA4OTJVbzuZzC5FAo3FYCcKDZ1HLQIfcqypmXdr 1n/pHqV38Xk8YsB5dpMR6lkz9ksizV82lKoUkLr3EbzpeT86d+ZHso32nmjOWQGW lQyCZ1ztqH7nXsgBXw0csicWLWj+AW1gebDdc1kUvJY2/Q== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjan2mvdu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 14:40:18 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456EeHM0003408 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 14:40:17 GMT Received: from hyd-e160-a01-3-01.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 07:40:14 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH 1/5] dt-bindings: remoteproc: qcom,sm8550-pas: document the SDX75 PAS Date: Thu, 6 Jun 2024 20:08:54 +0530 Message-ID: <20240606143858.4026-2-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240606143858.4026-1-quic_nainmeht@quicinc.com> References: <20240606143858.4026-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IdI-LMgTFPtvDTo7TIg5Ymd6yrG6aYDH X-Proofpoint-ORIG-GUID: IdI-LMgTFPtvDTo7TIg5Ymd6yrG6aYDH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 mlxscore=0 malwarescore=0 impostorscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060106 Document the MPSS Peripheral Authentication Service on SDX75 platform. Signed-off-by: Naina Mehta --- .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 73fda7565cd1..02e15b1f78ab 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -16,6 +16,7 @@ description: properties: compatible: enum: + - qcom,sdx75-mpss-pas - qcom,sm8550-adsp-pas - qcom,sm8550-cdsp-pas - qcom,sm8550-mpss-pas From patchwork Thu Jun 6 14:38:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 802678 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1FE21B1516; Thu, 6 Jun 2024 14:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684831; cv=none; b=mX0UJXUzjbeMofDTt4QgWaMIhDqwi5B7NYP3ms1qlEy3kLbfO7BaZcE0wPtehGn+v3e2Stfra9Mc63sUunwLIze8m+GgzVIykeqLL+O9gU/SaVmvpLyXT4aX/yfeZzaVcMB118ecqdJEyLLV1K4hYUb+j23gu84N4IBgSnQOGoY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684831; c=relaxed/simple; bh=LFwELV9w/G9otWfx2kAUAGIkPgyj0NhOm8Q1i86BiRs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rWGkvIxLyqNM0Vcx5CNMb3QkTvfVNETLBZAvNxt/mf5X+ga6wG582DBy0gtoC/IK9zjMtw8a0UM6VrfwL490z3Ce14tWiYwuegV7vLkq1XaSH+veJ/Gflsdx4+SPyABOiFo2sGyH72HVTaeVx02TVSBPfpaFjCvMQrDjclwyh1Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ZjI9zw8u; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ZjI9zw8u" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 456ALK47027443; Thu, 6 Jun 2024 14:40:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=OTqhxUCL08AAvmj3iIFWNIvG 85mB0ebTfjFbMLge7vg=; b=ZjI9zw8uVB6N/IzoVTCAc5ccjkTEYUYKtXo6sAjj r1TZh+C9UWHSygIekLEKdb4C/OJ1ciS4sbhQ9ffvtPpGuLpA6bTgClnFNUi7ApHZ XSct+nhD78AoLAranRQsgldu2knj2+NpvNMGAtwysC6waga8YbnZ0o6NvcQ1QhHj zPMw/bSw2nuMW4Nsbdp850jau4PiQ1T9Ba+llMQNE/w+zgxOVvEP9ArJcKgCzxZu 4r+J484jtPRyw+ndkidO9Vvo4afy9goYQcx3DhqS63eh4sjhbFdRnfG5qgesSmi7 OYDOQ8S9YNJqlY+JCwxJMs7RjZ2hmA4RsCpTlScBWmSJHA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjq2tkanq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 14:40:26 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456EePd9010032 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 14:40:25 GMT Received: from hyd-e160-a01-3-01.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 07:40:21 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH 2/5] remoteproc: qcom: pas: Add SDX75 remoteproc support Date: Thu, 6 Jun 2024 20:08:55 +0530 Message-ID: <20240606143858.4026-3-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240606143858.4026-1-quic_nainmeht@quicinc.com> References: <20240606143858.4026-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: bTU3JuIDmXlhbFZ7Lkyqt7qcYUhuWqtb X-Proofpoint-ORIG-GUID: bTU3JuIDmXlhbFZ7Lkyqt7qcYUhuWqtb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 impostorscore=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060105 Add MPSS Peripheral Authentication Service support for SDX75 platform. Signed-off-by: Naina Mehta --- drivers/remoteproc/qcom_q6v5_pas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 8458bcfe9e19..833e2f9c2c5e 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1343,6 +1343,7 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init}, { .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init}, { .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource}, + { .compatible = "qcom,sdx75-mpss-pas", .data = &sm8650_mpss_resource}, { .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init}, { .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init}, { .compatible = "qcom,sm6115-mpss-pas", .data = &sc8180x_mpss_resource}, From patchwork Thu Jun 6 14:38:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 802050 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90D4719EEA5; Thu, 6 Jun 2024 14:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684836; cv=none; b=NnDc0TtGPMApgbNpUmhtzKhNuSzKA/0c7RS0nwTgCZDqVAseIRAAsYQVRFpTgPJsSa/go6TV4qeFa1SK43tlGG0COR5TEu+Lr5nZZ0ukjlWdUQRE6Tt+Yy/SgdnuIpV+0XQwlajsQf5qAU3wYKb4ZcY8XPUDUUt4ecoD+Ep8T6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684836; c=relaxed/simple; bh=YWMIwKvc7/j4kF8T7szEVtXoh1FH6L5bFnZ+Hm9S6Mc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mhe1CSC9UclGzsY5Yptk0Zevesa8N6sHjxSwaU/GMqs5HO3IYgYheMlFjC/LuFKwHVDZeMGVTYBPETD7UdiyZCiO23nBgquKkPfLu/IxuDq6aVMXi1B2iDDgpFcurIvRHhn1i+vG2I/XdQxQgY8gxsunDfy6xBW0DKdF4m45Y/c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=R2kcB2/e; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="R2kcB2/e" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 456AMtVO019470; Thu, 6 Jun 2024 14:40:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=DN+n1jW3RFfLMT8pryUrqVTW Qv7lfaCodyhv7x1Ejog=; b=R2kcB2/eWpNdrzop1jgNz7ZJEhjiUamEtlXo7FfJ iepGHmoOGvJN76YYWcIk30R3CH2aPYAoaUyP5fFKJAStPAhE58gdvnqTmHnGfEhD pi7IgSZo3D9py8fN/wHP1NNO48TRUD2cSKehJbhnO8/xsacJxE9HKr4eSF0ksEhH Ly7/uHLInRkzhSzy7ZjAUu/MlRrdtI3hQP0iNpgDJjqjpowiHkJ3clgXivUUZGq5 DpCL2vCnK+ZV5pKaWXnAaIJs/jjulUOBT7Nn4p69Qq9Nqx2JRERsg2MfUkFAnt2x 5HSX+577DwtewpQTr2dOsHcEkvuI5YANxSDex5pZHr6TRg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjan2mvfb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 14:40:32 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456EeVuj004012 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 14:40:31 GMT Received: from hyd-e160-a01-3-01.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 07:40:28 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH 3/5] arm64: dts: qcom: sdx75: add missing qlink_logging reserved memory for mpss Date: Thu, 6 Jun 2024 20:08:56 +0530 Message-ID: <20240606143858.4026-4-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240606143858.4026-1-quic_nainmeht@quicinc.com> References: <20240606143858.4026-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: smwD3TqyqYL3tc1YcZiYGPIGwu732wdd X-Proofpoint-ORIG-GUID: smwD3TqyqYL3tc1YcZiYGPIGwu732wdd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 mlxscore=0 malwarescore=0 impostorscore=0 mlxlogscore=946 bulkscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060106 The qlink_logging memory region is also used by the modem firmware, add it to reserved memory regions. Also split MPSS DSM region into 2 separate regions. Signed-off-by: Naina Mehta --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index 9b93f6501d55..9349b1c4e196 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -366,7 +366,12 @@ no-map; }; - qdss_mem: qdss@88800000 { + qdss_mem: qdss@88500000 { + reg = <0x0 0x88500000 0x0 0x300000>; + no-map; + }; + + qlink_logging_mem: qlink_logging@88800000 { reg = <0x0 0x88800000 0x0 0x300000>; no-map; }; @@ -377,18 +382,22 @@ no-map; }; - mpss_dsmharq_mem: mpss-dsmharq@88f00000 { - reg = <0x0 0x88f00000 0x0 0x5080000>; + mpss_dsm_mem_2: mpss-dsmharq-2@88f00000 { + reg = <0x0 0x88f00000 0x0 0x2500000>; no-map; }; + mpss_dsm_mem: mpss-dsmharq@8b400000 { + reg = <0x0 0x8b400000 0x0 0x2b80000>; + }; + q6_mpss_dtb_mem: q6-mpss-dtb@8df80000 { reg = <0x0 0x8df80000 0x0 0x80000>; no-map; }; mpssadsp_mem: mpssadsp@8e000000 { - reg = <0x0 0x8e000000 0x0 0xf400000>; + reg = <0x0 0x8e000000 0x0 0xf100000>; no-map; }; From patchwork Thu Jun 6 14:38:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 802049 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C245C196C75; Thu, 6 Jun 2024 14:40:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684856; cv=none; b=VQ0h17a/FIVs71vRTVDe0msPdRvIPJL3zrtjsmYqu2xDxLyCxm3++gWu8jfEVeFuhnTKkUjkRFvmGAERE+s5zC35XxddMTo6L5zcQaRYhyfsgpnFuHc0oZy0wd1bpUua3dK9Rtt59MQTjo9OUFJmE5gfJjoP86w8alhghCZhI9c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684856; c=relaxed/simple; bh=uc7VVWG9aVC2KKTrjHYKS8R9toqfqD1KtSeHw7AAq7E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DAqkDII58NIQv2udWrdacR4vTO+vs2SIcLFsqPgE+3y5ig1UoO2eeKti+W70tKQLGhkepZGbqR40jw44BWx/6thfmJWPqD6cKiJbP5sORSYPhNNF779Q0k3D0dwaNs7X0cD/WwErQUL4eo5jVQQN9HlaNNbvoOLzKJTB8GWplbU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=jwSBurQK; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jwSBurQK" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 456Ae2rR031662; Thu, 6 Jun 2024 14:40:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=2pAfR8ZGYLwY1Br/yLLG39A4 rMvj4vC+b+3cwrWKo4E=; b=jwSBurQK9bDHdIuitzZL311zBsXhd6Oy1Ch43g8H 4GQnQ1+9nrJpJ5EopiF6yJZ1kXFnD+kCai6CcNnFI37u8iqycXv8acRXLBmYy9cq cbpQrzsUwT1mSwEZ9xIGm5VhjBhEYy6KUrK5N7beaCwVS42jU3KSKFhxc96wKB3+ c/+rea5PLzwf/yqV0dFpNk+WXdSpU2uWQj5PFkjP+Wayza4hZ+9VsCZomaP9yJA6 IN8MmZF7oT6hCPKmo0G8wRJM77tmzzH4HMejLR1SzZjkfMSfuBLebt6tf4cwogD6 jVftHhSXpEjPXKCrEODU3UeFba1eXAm2MO22KhW8loRhHQ== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjk89by5m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 14:40:39 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456Eecjd010156 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 14:40:38 GMT Received: from hyd-e160-a01-3-01.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 07:40:34 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH 4/5] arm64: dts: qcom: sdx75: Add remoteproc node Date: Thu, 6 Jun 2024 20:08:57 +0530 Message-ID: <20240606143858.4026-5-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240606143858.4026-1-quic_nainmeht@quicinc.com> References: <20240606143858.4026-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: T1fcBqAY2GU6zMIZJ8JSjYTDtlan2fWu X-Proofpoint-ORIG-GUID: T1fcBqAY2GU6zMIZJ8JSjYTDtlan2fWu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 impostorscore=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxlogscore=776 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060106 Add MPSS remoteproc node for SDX75 SoC. Signed-off-by: Naina Mehta --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index 9349b1c4e196..25d3f110abe1 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -890,6 +890,53 @@ reg = <0x0 0x01fc0000 0x0 0x30000>; }; + remoteproc_mpss: remoteproc@4080000 { + compatible = "qcom,sdx75-mpss-pas"; + reg = <0 0x04080000 0 0x4040>; + + interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MSS>; + power-domain-names = "cx", + "mss"; + + memory-region = <&mpssadsp_mem>, <&q6_mpss_dtb_mem>, + <&mpss_dsm_mem>, <&mpss_dsm_mem_2>, + <&qlink_logging_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_modem_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_PING + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_PING>; + label = "mpss"; + qcom,remote-pid = <1>; + }; + }; + sdhc: mmc@8804000 { compatible = "qcom,sdx75-sdhci", "qcom,sdhci-msm-v5"; reg = <0x0 0x08804000 0x0 0x1000>; From patchwork Thu Jun 6 14:38:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 802677 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0566196C75; Thu, 6 Jun 2024 14:40:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684849; cv=none; b=BmLnZY4d5svDeO2jVCtDc7GyLuISdM2OY6JHfJZ7z3abNI4+MRGHKGCqIEWMZnG2HsJI8PyBKlkEZ7I1b22XXrCAoBTCak6XfrAfLpOiDmrUnKwzITzeQ+CGrkes8+y+HfARu4UgHSsbwJzJFqQkWcmd016k2snl7w0EqzwWp2Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684849; c=relaxed/simple; bh=SJ2SbVepOVSZTVKGpZ89FUkNLYbP1XaIie5uORXW7f0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UVn97dZ1jnuE3aIaHNdFxOSJe8hRDu7V0rSB9zeUvGzI46To9hm00nVi/rfeh4F2rxoGR1U8w+xtr5uutWcsGNNG88OfpwUg9XTaOxFsCaItsJ1KfS4rpBgJ7e/QwY+aARdM+SnaAt1mylnmGdVjwyihkeyunYD3Ip7VwqwFztQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=pnMQ/if2; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pnMQ/if2" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4569aRWa026822; Thu, 6 Jun 2024 14:40:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=1cFsOi6okyJVCSq0+vaaGwP+ ZMHpd08HnK0blr5U+nE=; b=pnMQ/if2wYvnHIMPRNJd/j0gA/0Xz838UBgXE7QD nWzEsTi/f3TyyYDzJ2zFp8CUXa9/EY9qpWo/KDtywqbrz0+5PUrd8DOAYAWsh0A8 I+6e9uGZUgjR8ebm/4J/qAp2S72ZjchZwEMvAdKEodQiC48PMmV5T9MFZgT8G2iy pnLzoxqM31r0JiO10k82a46RHTR8d5AEYyNwfTNomY5UjN5dtyMG//FKIcotkEmL 1B9y3IznY6nBIIKK1IT2cQTHd8DKfBQIPf3sgYbGwe3umWxDJyHKWS7rLBlvEfUN kPvdF7olySAQxTeb/KZgLv+380kR0p1MD9s6xmYewudClg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yjq2tkapc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Jun 2024 14:40:45 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 456Eeimo004147 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Jun 2024 14:40:44 GMT Received: from hyd-e160-a01-3-01.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 6 Jun 2024 07:40:40 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH 5/5] arm64: dts: qcom: sdx75-idp: enable MPSS remoteproc node Date: Thu, 6 Jun 2024 20:08:58 +0530 Message-ID: <20240606143858.4026-6-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240606143858.4026-1-quic_nainmeht@quicinc.com> References: <20240606143858.4026-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: _ya4LprysvCrrqiQaPtcboviSKhFGcxC X-Proofpoint-ORIG-GUID: _ya4LprysvCrrqiQaPtcboviSKhFGcxC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-06_01,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 impostorscore=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=928 mlxscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406060105 Enable MPSS remoteproc node on sdx75-idp platform. Signed-off-by: Naina Mehta --- arch/arm64/boot/dts/qcom/sdx75-idp.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75-idp.dts b/arch/arm64/boot/dts/qcom/sdx75-idp.dts index fde16308c7e2..f1bbe7ab01ab 100644 --- a/arch/arm64/boot/dts/qcom/sdx75-idp.dts +++ b/arch/arm64/boot/dts/qcom/sdx75-idp.dts @@ -282,6 +282,12 @@ status = "okay"; }; +&remoteproc_mpss { + firmware-name = "qcom/sdx75/modem.mbn", + "qcom/sdx75/modem_dtb.mbn"; + status = "okay"; +}; + &sdhc { cd-gpios = <&tlmm 103 GPIO_ACTIVE_LOW>; vmmc-supply = <®_2v95_vdd>;