From patchwork Mon Jun 17 09:34:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13700409 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 3B00D1940A5; Mon, 17 Jun 2024 09:35:41 +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=1718616943; cv=none; b=XQAcu8kpYHfVEeflpE7Dq6+UH8BoJBTK+1q4gnSL1LmlFSwJqFV1E/UBG4ulFhlpeNZjcjFDNHbdwDXWwgN8B/5X/wKUG8ZLwB7rMdBg1g4oNOCPfzmi4uqiErxh1iIl3FXP3S6BjmajpwVapLgCREBQzAnlLJsgiW3mYqSDkRE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718616943; c=relaxed/simple; bh=LALBUUvW8Kse4AhvQYhuI96Q8Xbsr3W50ZfHimcXO+A=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jgSp1oWP8wEwE507xApayJN5P6IbsXJ9e7/+lJ9Mz5GQ/miw8hdWG/14AhhTREUdhQx3aWtvM0n5Y5zDspdoNBvFg534RIqayca3sOIEccqm6bDoGEOgymd0AhSo8vuKahNb+SeOeppimVu2NJZBdhyjOiL7htp5drrsp2m2FpY= 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=GKasLyQh; 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="GKasLyQh" 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 45H1U0IH022935; Mon, 17 Jun 2024 09:35:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= x+1LjJSyI+pTyeP5ZzKsfVjGJZOz9Q+/39izIqoC8ek=; b=GKasLyQh4Bz7a2BD xan6yGKkZmqg9Wdz1xg4pa+lnyV80VrZmvCB0VXoWmzBAr95uK53x1rCKdgX07xG PjXYQOYSOqlsbpY8RcZKTkmpsYyIf9T4oj3NQGlyJ1uZtP9bvvCpaVZvA6GmQ01c lA+GqMi3sUcpx/680mMNL2CIzicqacYN3WoxCwu/Su4NVFJJyKq6hRastMePHSIR g2JXBtMBBhMz0JJIwod0BjBl1icUaiDD3f4j4U80l5Nkj/fyMmQEK5aIbCxIZvW7 4DJgJBfMOIYEDylh4a9Ru2nknyOE7F6lelY07xj6/+rcqsP/fOmFnrZidrOSDo9o B35qEw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys1wr38v1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:39 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45H9Zc0s021033 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:38 GMT Received: from hu-nainmeht-hyd.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; Mon, 17 Jun 2024 02:35:34 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v2 1/5] dt-bindings: remoteproc: qcom,sm8550-pas: document the SDX75 PAS Date: Mon, 17 Jun 2024 15:04:24 +0530 Message-ID: <20240617093428.3616194-2-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> References: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-remoteproc@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: fHScYGxBslwZBNFIELgQaYFkzAmwrzuu X-Proofpoint-ORIG-GUID: fHScYGxBslwZBNFIELgQaYFkzAmwrzuu 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-17_08,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 spamscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 phishscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406170073 Document the MPSS Peripheral Authentication Service on SDX75 platform. Signed-off-by: Naina Mehta Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 73fda7565cd1..d7fad7b3c2c6 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 @@ -113,6 +114,7 @@ allOf: properties: compatible: enum: + - qcom,sdx75-mpss-pas - qcom,sm8650-mpss-pas then: properties: @@ -146,6 +148,7 @@ allOf: properties: compatible: enum: + - qcom,sdx75-mpss-pas - qcom,sm8550-mpss-pas - qcom,sm8650-mpss-pas then: From patchwork Mon Jun 17 09:34:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13700410 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 27458194A4C; Mon, 17 Jun 2024 09:35:48 +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=1718616950; cv=none; b=Aq/Obtcl8zV6WoHyUZ9JegpM4/t5PuP3L0NyskiDfgdNr7yvcyNZn9oAX+EzfdD2wLHYOpLHD1GkSPCVvdLE2YHBboKAPIaaBN8Zk97ekkhbvprlu1pD+if0ydJziz0VndTaw9HLbTr5ShN4hmz8XuOrmpzSZbQnv3Cw25Ywjns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718616950; c=relaxed/simple; bh=cYYQ/dhJwJSf1tQusmOZf285nbTXt11pvv+7Hyznpps=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FvTyRd2eM8U4zOls/T0OuJAp0Mi+JWYqKypJvjGbaPIfug4o3hQQm1Biu5s3/E6dNWu56GYbdVI3/uaNzRY2RLMm3MRAZum/LoH4VhldGK5kyf3T5FdJ9e/JRJ3YlI7awn+QsXVQgHa4ilIu87R/SmseubFswHkwZpKG9yNseMM= 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=Btomtvgm; 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="Btomtvgm" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45GNjkwM027199; Mon, 17 Jun 2024 09:35:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= aocojrgjsNTmcGYtIJ8TsxUnsP5ZRoQopj44zstKtB0=; b=BtomtvgmcLQPwS+Y 4IKLChitOI73ocvLC+vJzcPxkOxsyISAf1m5ZEKJeglblTTR0GgeSkB0GYtev5UV XStFITTVlj5cgggqIRnrJK48FgRIz2uMF5fPHJHI0cfJDJh7+jQaQcWwN6jaGYM0 ziLRATpRXz885zzKAYFIouvmrDdo+db1dk1aJAJv7MS31o0NdKLBhr/hBdqapinh 7BHQrAFmR93y7WZYiLZoc6H9JEmFzt0BBpbwAo91akK96srat0A5LVU1NunW23l6 zZyUePjS5d0Q/gFCP00o2oUstIXOVDyPyg9H5lsXG+0mq75WYIQO/KVG2DIxU+yP pFYlog== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys3b737nw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:45 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45H9ZiJY024573 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:44 GMT Received: from hu-nainmeht-hyd.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; Mon, 17 Jun 2024 02:35:40 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v2 2/5] remoteproc: qcom: pas: Add SDX75 remoteproc support Date: Mon, 17 Jun 2024 15:04:25 +0530 Message-ID: <20240617093428.3616194-3-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> References: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-remoteproc@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: aPC1bu-UB_GgaJ4SjXyFpS27NknZTY6x X-Proofpoint-ORIG-GUID: aPC1bu-UB_GgaJ4SjXyFpS27NknZTY6x 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-17_08,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 bulkscore=0 spamscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=999 adultscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406170073 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 Mon Jun 17 09:34:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13700411 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 B8AD2194A6F; Mon, 17 Jun 2024 09:35:53 +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=1718616955; cv=none; b=uEwPRiFEVdgMzboVk6hOsYlqRMgg8lcwu0H/7IOV4pv00NIZElXRD0Z+2C/jGYSk/Ho1eOmC7QbvvCIqvnRtQWJCKcDsmDvtiqKRhRD8tB1Ppe2zQQK7FzGil4aFe5PsMLHjYfFlYTjj55s7tNJk1LenWTsme+GFQYwpJGNbaKI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718616955; c=relaxed/simple; bh=NPvJgk5EfHx/zaUqx7H2TCltbnf/4Ie01oormdiJNp0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=m9Ore9wpMHWIfR+vZ75SU16Rckv5GJwvGQwpqUYCRimz5PJbY6iwGaCeWuoE6qPyWt8IWGtXLt1ISSHfh1nrbmEFrShWD6zdpPZwnmn8zY1xim/VT6LFlvXmU16Ohbgjqpu2hNrVhRqeMK/NbobiCtVIrSCogkgaUOoxCpwdmWM= 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=nKOFsrMf; 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="nKOFsrMf" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45GNm4QB005069; Mon, 17 Jun 2024 09:35:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= dBa49JkaIHkVwTxgGQ1xIxH2Adq5t3pCBcOVACDeArw=; b=nKOFsrMf+Zwvzj9D MDcQk5Vq5lb1xQEyWbmIY3S2spI5vA/bbWOb3rA/kNRzfEnXFLGHCcu6/0VrQQ94 O/yLt9XWBCEIewnUm66NEpSw4psSa9KRPLjreq4Eq5Ye1Zo32I7LLP5qqmIIImbj /vhdqEN3A3kHdZNB4razoox6VsUQG2gslLS414cPibwNWV7Zghm63fdsTeTdmxNY UZus8JrAoP7/q/Zjnk2L/b4Ad2jKQREU425TUlj3QxR5pITz+Rrp4NtEQRphTMdH Dwhyg32H3/j/3f9EEbzN5dB6B9mqsuaEA/jIbQ9SlqAZY6F9KgKoFzuWG2n0A/ba Awbdpg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys0nfbgxg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:50 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45H9Zn8Z014591 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:49 GMT Received: from hu-nainmeht-hyd.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; Mon, 17 Jun 2024 02:35:45 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v2 3/5] arm64: dts: qcom: sdx75: add missing qlink_logging reserved memory for mpss Date: Mon, 17 Jun 2024 15:04:26 +0530 Message-ID: <20240617093428.3616194-4-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> References: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-remoteproc@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: zslwgCz-xshEdQU023IUjQhQotG69Nl8 X-Proofpoint-ORIG-GUID: zslwgCz-xshEdQU023IUjQhQotG69Nl8 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-17_08,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 adultscore=0 clxscore=1015 suspectscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=864 impostorscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406170073 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..afe84270b84c 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -366,7 +366,12 @@ uefi_log_mem: uefi-log@87f75000 { 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 @@ audio_heap_mem: audio-heap@88b00000 { no-map; }; - mpss_dsmharq_mem: mpss-dsmharq@88f00000 { - reg = <0x0 0x88f00000 0x0 0x5080000>; + mpss_dsm_mem_2: mpss-dsm-2@88f00000 { + reg = <0x0 0x88f00000 0x0 0x2500000>; no-map; }; + mpss_dsm_mem: mpss-dsm@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 Mon Jun 17 09:34:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13700412 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 401301940B9; Mon, 17 Jun 2024 09:35:58 +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=1718616960; cv=none; b=oXOVPJmifOGHp09E84PcozAQP/Z4BOGGZLqYBq+BuDw5C+D3r4LgO4fizVWcTqvAHx+07lbX13SbSZ5fDtsnyfdIJ0vjOH+yeB0+xdotGlPN9QE7Nn9oB0Zk555A5Xuh5AtYze7TKMeQTp9nv5ztX1wEXWnG30AQ8CsvnB6nx+E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718616960; c=relaxed/simple; bh=ci2/fwb/ESVvkzh4G1Jj0Z+5xcYFSQ4vum1bYkwnW0E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KtM972i4vht7dobk7ma2LGbhANBVwtgKZqev5XSS8fNT9xz+FbjKk5A/Gn+QOfBbK5TvUeLPdo+GUa8OJEf9vVYTuECDYq2KwOyJI62rnmta9uLlXTLbpBkE4uvUzf5LNb0BgPJibYekKyCtseKgosJdGReE8WODAlNj3IdZ+Bw= 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=E9iVFzS6; 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="E9iVFzS6" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45H0kddE008599; Mon, 17 Jun 2024 09:35:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= VBmxvmcWo4A0c+cTMLkp/mM6HExYTUV2++NUJHhy6x8=; b=E9iVFzS65j5MJ++Z 2kGJVXc+btPOI25D5NHKpgfejl2cE4X2lyPVskwuIY+aX+tvUSnvj+cw0tgMVMQC 5bYVXMOAv5dfJII4ER/+vUrXlvJ3FF/wqtXIAwibISiMFdqL9NJ/6rnH15qVRytD 0Dn+y8gxQjcDN20e/hXPJhYyA89wHolQDDXcO7r2fPPgQejlei2048coI6Zd78++ v3WNJb3ZLgMPjbZLcPxQOw3etzKsZ1SWUiWt+/BMYt50A5utBzlyMHkTyO7Hbhbk yOUusB2xCaoS5yy9zUgZ6HG7BiXk20Zy/lSFvKeky+RWuMKQnMmv9FLrcHnJZt/q SyZG/g== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys1y6u99h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:55 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45H9Zs6H003088 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:54 GMT Received: from hu-nainmeht-hyd.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; Mon, 17 Jun 2024 02:35:50 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v2 4/5] arm64: dts: qcom: sdx75: Add remoteproc node Date: Mon, 17 Jun 2024 15:04:27 +0530 Message-ID: <20240617093428.3616194-5-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> References: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-remoteproc@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: iifP_49_xVWUu307k74eir_EWq_GdFvQ X-Proofpoint-ORIG-GUID: iifP_49_xVWUu307k74eir_EWq_GdFvQ 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-17_08,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 impostorscore=0 mlxscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 mlxlogscore=776 suspectscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406170072 Add MPSS remoteproc node for SDX75 SoC. Signed-off-by: Naina Mehta Reviewed-by: Dmitry Baryshkov --- 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 afe84270b84c..db042ec2640e 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -890,6 +890,53 @@ tcsr: syscon@1fc0000 { 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 Mon Jun 17 09:34:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13700413 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 C343A194AF9; Mon, 17 Jun 2024 09:36:03 +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=1718616965; cv=none; b=eX6Tp1QrY68hl0eMoVvNlHP/p3l82i8bLMqjRUafsL1l4EcTD3LVmnR7ZamI52cwKVL9spdvRIg+vBgVtcLl/Ut6TaOqV/qXvAbJ2yjYdoxa6t1RQoVCSnK4MbeQPTHgB/yYvE6a4hn/EZAvdv/MhvM2sc2GqzGllPVqRQnkDK0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718616965; c=relaxed/simple; bh=vQqTvbivMs+MNtHTioR/qckxEhiqb5TTenbL4zuI1zQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kBXyv4HcaqZ2WVrqlmB9xp03hsFLXTpAuliwsOVtfcKpHtsjk+j1hnV/RwtiE2JWpwkrPY/H6AqNoG9m0ndL/G5Vo89bRlqJGRfW79WP+obUjYrGzfNB3hv2oE7ke1J8Gyskaw/WnryvGeVZSlwKjh5SY6mGd+3G6wvylvF/Xmg= 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=RA9g7i2x; 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="RA9g7i2x" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45H0aCK0028294; Mon, 17 Jun 2024 09:36:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qlf8nNst8S52KWr/4lUQRbOdt7tnowKDVkaY8PGgG7A=; b=RA9g7i2xGIYeqcaw fiRuiq3a/ptDioN1hESxslZkEWBJg7p1kJ3t5ae3CrJp8Hg0WCh6W54h4bde9G/n jY242t1/cC/21u/aNDQxKpvBxmRgRwgpFGpPOnrSfMLLn44f9oVSDTOPPFX/2x77 vKDapd8/14Uz8b5rfMIWXBsnqMKf8YE28Ddg4GdPWWbjN3J05lTE6IF48Jw6PuWA fntSgWIhup7NLIVEwpg0UvAgsyXI3Hjlbc5OWxY53Ayxj+qHN4ReHwc1tJQ8lgv3 dSjHkxkomILD1wnLEW7gdx7dgZuuiVtTI0bVNwAJgPF7jRW6Z95Q3U51N2ezD9Fe FmJbsg== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ys2hxb8hr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:36:00 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45H9Zxgn003141 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2024 09:35:59 GMT Received: from hu-nainmeht-hyd.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; Mon, 17 Jun 2024 02:35:55 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v2 5/5] arm64: dts: qcom: sdx75-idp: enable MPSS remoteproc node Date: Mon, 17 Jun 2024 15:04:28 +0530 Message-ID: <20240617093428.3616194-6-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> References: <20240617093428.3616194-1-quic_nainmeht@quicinc.com> Precedence: bulk X-Mailing-List: linux-remoteproc@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: lEHMSu-eLMhLcOEggCjp1AIJpX6PKNyJ X-Proofpoint-ORIG-GUID: lEHMSu-eLMhLcOEggCjp1AIJpX6PKNyJ 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-17_08,2024-06-14_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=928 clxscore=1015 priorityscore=1501 bulkscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 mlxscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406170073 Enable MPSS remoteproc node on sdx75-idp platform. Signed-off-by: Naina Mehta Reviewed-by: Dmitry Baryshkov --- 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 @@ &qupv3_id_0 { 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>;