From patchwork Tue Jun 18 13:13:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13702219 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 5BB311A3BCD; Tue, 18 Jun 2024 13:14:18 +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=1718716459; cv=none; b=Hw9iffidnKhQHrfQBF37ux2qeFMguicXjxLRk/7fi/2/WqZz0O8fQeuJv3jPpFxpNP1t31NuEA9aLIOKmQbgdlZFszCJVxrjR2xcQSLcWJRdNZJLMX98TWrpfsh05tmH7FltrQGXIuruoN3Uu1NP9XgKRs0yMULXfJ5bNNJSUZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718716459; c=relaxed/simple; bh=c8rTXqmcbWsQc3zgc8HOKAreLwLlfOo4qcuvd8YOLNo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mRr+1iA3/HIrtR0fRVd44lnelIzsx3g2ueBKWXmB4DWOMfMm1gyJzqndtRpINN8VFThadNZBHjM+Q8aUO8ksm2BGE/5LubYIuDNHTNMRONhxRt+m1RxbQ3WLMxjwRAut8SC1AJfYuv1PTI0cDzBZG4+elQNkkJdahslbXTWl1D4= 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=nZnO/hJL; 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="nZnO/hJL" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45I9FwgL030550; Tue, 18 Jun 2024 13:14:14 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= sPep6Y3ytgYw45bHh8wJzu8HusFCdCOaHUwFfmVAAeI=; b=nZnO/hJLdrj8eMTr poGCFYh97bkMel2EFlr9FRlrCOGxW0bcQCcu/qF9KNeGiYxmnzqk6IWNSWlZvRoC T9jNleqPavlJXig+GajIHMthjEUKAe6LEGJy3BIvaCtX6X7KoFtG7c0LrBTcd3Y0 LNt0TTghfkQKRMcGS34hNoahVjEU54f0LqspJ5eE7HV75vJVyWbvPvrWSad4jYwq t4SYpwu3K6m/8UgOxSEPWi1Tus6ah5l1wYg/rTLYpBB903zh9W8ijz4zUGFFo9Un lWS4pYnXP5pVvkIoAkvcT8JN2Cat55x6UPCwscKyyaNP7ur+9SVrAKQWL/RejRw0 Uv+10Q== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ytwa2hthe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:14 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45IDEDHv013458 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:13 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; Tue, 18 Jun 2024 06:14:09 -0700 From: Naina Mehta To: , , , , , , CC: , , , , , Krzysztof Kozlowski Subject: [PATCH v3 1/5] dt-bindings: remoteproc: qcom,sm8550-pas: document the SDX75 PAS Date: Tue, 18 Jun 2024 18:43:38 +0530 Message-ID: <20240618131342.103995-2-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618131342.103995-1-quic_nainmeht@quicinc.com> References: <20240618131342.103995-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: wlacJrl4FGrrrhyv0MjCxoJI1qwrkIA8 X-Proofpoint-ORIG-GUID: wlacJrl4FGrrrhyv0MjCxoJI1qwrkIA8 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-18_02,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 impostorscore=0 priorityscore=1501 spamscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406180098 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 Tue Jun 18 13:13:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13702220 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 D33FE1A4F03; Tue, 18 Jun 2024 13:14:20 +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=1718716462; cv=none; b=NfZlJWm1rXFi1pH1XS3T0twjjfS3yyqF4VfnvsjXyhjxGS+2BJVLXRt8NoP5CXm6cB6DmacvZsz/mvB7RAkhM9fmbTcENVMRftHxSVsQ4KItoXWEukcO2S66e2WTy3sQwGRNeC7F8ixhTNGKZF+TtQ/wDORWIWj6BLn5irkTrC8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718716462; c=relaxed/simple; bh=cYYQ/dhJwJSf1tQusmOZf285nbTXt11pvv+7Hyznpps=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QmM4aupY6qdf8O/FON0MXeBqbaqXuiKfZel8nuFnE6pWBEzvQYfZp+oGqjkjXfHSYb9ih12U9sv4haGDfKt67wFie7TJCIqC2ELGW8YdaVpputiq+TMruBik9pArIH/MITDiKboSDRgJysDOsdwbpDTL2GtfKf16virwaz3FbuY= 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=ovY3l73i; 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="ovY3l73i" 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 45I8J3aK009645; Tue, 18 Jun 2024 13:14:17 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=ovY3l73ifXY151z5 5IfSx9pt2otBnC8MfHlKxABBt60+4d2uLeWBbSMF9SxAdNVvyE5b7XIlY7uUwmwa hpmpFLGfLCNOhM2Cihp6/IGDIFvMvYHgZGbkEoL9xK/diKPP0valnLtFHnY415xs geDC1IMRVwCLpLMVLYdZV4i7bYL8pYOKoAXkkLgPxXbgsV33qYXaFripyIk5nbli 8r5HJaPsVq6Z+oGQ/nnx+LTiVSXDjh9dYTq45rB3rUwHFQAEIh9/oofyLqNv8fPa eJ1qPcdSM0pUEjCancmjftfkBwAJyhFHOHV4LMIEtRNIVGAyz0mrmGGs+dMmddg6 xFf09A== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ytuava518-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:17 +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 45IDEHwK031084 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:17 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; Tue, 18 Jun 2024 06:14:13 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v3 2/5] remoteproc: qcom: pas: Add SDX75 remoteproc support Date: Tue, 18 Jun 2024 18:43:39 +0530 Message-ID: <20240618131342.103995-3-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618131342.103995-1-quic_nainmeht@quicinc.com> References: <20240618131342.103995-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: VEdItDTEU2LR6uYsoSpPyBIxURVMFFdL X-Proofpoint-ORIG-GUID: VEdItDTEU2LR6uYsoSpPyBIxURVMFFdL 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-18_02,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 suspectscore=0 mlxscore=0 phishscore=0 adultscore=0 clxscore=1015 spamscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406180098 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 Tue Jun 18 13:13:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13702221 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 ADF921A3BCD; Tue, 18 Jun 2024 13:14:25 +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=1718716468; cv=none; b=c7S84UgxTPpz+H8slJIvEKb2W1Ue6n4lxkYaWmRFxRD3PKSo87XKJtxcaf1HzMqLVzshLJhlL10o5AGW1Mxlar8/Szw/nnxV8uIecAFkg63nkLCOrd3lm0pF39uA6Qk96NQeKcjPx8N18FA9xLaCd9cI6sGA0m4eAI9vPLK+rCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718716468; c=relaxed/simple; bh=M4xmosgTfz8zdoraDQ1gP4020ci+6plRwc2Mfcd9LEs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Bz6vYEYlq4Tzc4ebtVvhUxDMo4EPYyKy12o8kJsKiOHHuIro/g8MG6GUcUemdIVwO9iQwBb06HZkgvOWoEfTJT848FIjjpgLiUSBGw1Ld3+c9w6se0fa3cR3ee5JzRZm3rQ62PL8itsJkkDOSyQiUbmAms9v+X2Ap1lwQ1Kw0L8= 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=btVJjodj; 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="btVJjodj" 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 45IBCp8q005307; Tue, 18 Jun 2024 13:14:22 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= yP+Rkh8oIUkD3aQv9OQvTfDSvqES14aO9Uxg/NuzVR4=; b=btVJjodj/RWJ3Toe JPx5Ojr0zoCZREKret+bexdWxiZbvKCEOyXM4WXiLBAlrKJVbuBdBeg4Tt83tSnQ 6GNbQw5Ujco0zjJPwywNE28aON8/jOzgk4sDPpY8fL8fnMMWvYok39dKGR+woVeX Tou2juUij/UVuh0Nycu+05/L8HhE+RHArCwXpBVFoLSIJwCsrz2HW3Krc05+RoLa 8WIu1KnURMvMjTJWqcoxaACAcKH3A7XiNQ2ZrQADG2wjIXktZU/GUji91wQ2Zhzj ftXuuj5GIE9YoVrH1DHG1X579eXR1jwIRbpBygyUZvvZuW+ANX31qc0lhhPVlnsf RYNZWQ== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yu95rgbrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:21 +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 45IDEKDg011833 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:20 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; Tue, 18 Jun 2024 06:14:17 -0700 From: Naina Mehta To: , , , , , , CC: , , , , Subject: [PATCH v3 3/5] arm64: dts: qcom: sdx75: update reserved memory regions for mpss Date: Tue, 18 Jun 2024 18:43:40 +0530 Message-ID: <20240618131342.103995-4-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618131342.103995-1-quic_nainmeht@quicinc.com> References: <20240618131342.103995-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: 0_vGxwMk5yObvCGvqjB8JO8FbZiNFA3Q X-Proofpoint-ORIG-GUID: 0_vGxwMk5yObvCGvqjB8JO8FbZiNFA3Q 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-18_02,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 mlxscore=0 adultscore=0 clxscore=1015 priorityscore=1501 spamscore=0 phishscore=0 mlxlogscore=746 suspectscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406180098 Rename qdss@88800000 memory region as qlink_logging memory region and add qdss_mem memory region at address of 0x88500000. Split mpss_dsmharq_mem region into 2 separate regions and reduce the size of mpssadsp_mem region. Signed-off-by: Naina Mehta --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index 9b93f6501d55..6f0abcc87a3b 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,8 +382,13 @@ 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>; no-map; }; @@ -388,7 +398,7 @@ q6_mpss_dtb_mem: q6-mpss-dtb@8df80000 { }; mpssadsp_mem: mpssadsp@8e000000 { - reg = <0x0 0x8e000000 0x0 0xf400000>; + reg = <0x0 0x8e000000 0x0 0xf100000>; no-map; }; From patchwork Tue Jun 18 13:13:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13702222 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 68CD41A8C14; Tue, 18 Jun 2024 13:14:30 +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=1718716471; cv=none; b=FNhgBae3SOBTBaKaFWQEd4CXOL6HHR6A+rkEMGXLkXoMaGF0g0ENKgeYNDNEkpT/BbMm/Ngh5TI2Ad32gt5nVsvr6gMo8gXIGAu6JFYYeE2vvbza8nxdpYkoxme73ea1E1ZjvCXIzTseMmMqHF0QScMIBX9MVlkQbbuWjnLfAdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718716471; c=relaxed/simple; bh=rQ45R40Q/tP3pVEmqPDyvimUehcLvc1cf0FLREkKPUY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LatM9BjbD4K7a25Zvs1VyHcTlAdkfW4Elqijd5dKHELgXKkzFjJlJY3H946YUb4kwlmXdkSXjGY7iJEbXCK3UJEWlEJriLUiHrQoCQLlNJ40U+x0oVuMhy9U3Aack34lqqbsD0DXJGYG6fajlmpwfgRL51Bn2EtrZJ3ipmGrxEI= 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=HRGBEhiK; 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="HRGBEhiK" 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 45ICqh7L006193; Tue, 18 Jun 2024 13:14:26 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= JjL+uHYXvPVI9mRc2N+tjJ8g+OpcBS4wx9qxecS0gGQ=; b=HRGBEhiKilpxS0y7 gaAMlKTKnlYZ5Gw1G2GNLp8gjN6pYvmbL9Ib00zPjMOol3aRLXb1/Lv+g347Kqig 3xoZB5bWW7anTG25i9y/qEiw2r+uRSlfo8hTnCTPoB67ANnLjtpSJEadYPM69cSv ove3tweBIgFhblZLemI1RFHmGlgnqEkFCEJop4aNNXcOAGtDYik5MZdH2042bqDA K2xWJUuACsrVMBugS/sbAK84W1xiroX5u1mMQcgXYCDPDgTm09x/nHPTuXwq3T3V WS2qouJq93CiThmJ162az90bOIR9CDcjYByPvZ3Hs/baT5vLAbvaCAcb9hekBBo4 1fpYmg== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yuamp027n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:26 +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 45IDEOBd018342 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:25 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; Tue, 18 Jun 2024 06:14:21 -0700 From: Naina Mehta To: , , , , , , CC: , , , , , Dmitry Baryshkov Subject: [PATCH v3 4/5] arm64: dts: qcom: sdx75: Add remoteproc node Date: Tue, 18 Jun 2024 18:43:41 +0530 Message-ID: <20240618131342.103995-5-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618131342.103995-1-quic_nainmeht@quicinc.com> References: <20240618131342.103995-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-ORIG-GUID: 1Q0qhOWwtvBm_dOUyoMkCGDQvUNahG9A X-Proofpoint-GUID: 1Q0qhOWwtvBm_dOUyoMkCGDQvUNahG9A 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-18_02,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1011 malwarescore=0 spamscore=0 bulkscore=0 mlxlogscore=800 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406180098 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 6f0abcc87a3b..7cf3fcb469a8 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -891,6 +891,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 Tue Jun 18 13:13:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naina Mehta X-Patchwork-Id: 13702223 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 854061A8C35; Tue, 18 Jun 2024 13:14:33 +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=1718716475; cv=none; b=EOfcoOCeKdNxl2agA2kfT8V7Jqz8Zu8py/TrlvVjQ1wNNj4UZ4WAi83Yir9pQvSmxw7lrPQ2kFk9AU1BsqP64cNZwl0CjrhfccKjA8z8lpIeMq05j0kRu4oibDxWRJVT7NbilD5RPfOCU+p945mYa6ANLGuFMLRnLNS5wpLHwdA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718716475; c=relaxed/simple; bh=BC53NUr5S1tyon6u7PNyp0ncpVxZDaFWVQC6lOvIsPs=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hPaZypEGh3jNajjpcOrDbc/2H15p/cz3bRZQCODgZrBq/bQsHqndY43+gsLgU3PuIhUg3/QKhTZH6HhEIkG9LE0pPqFiTd1DAwBkvLH71WnvcvNfIpAGh1zS0dErd9dxVC3NSi5SsLCz7oSuWzX7KYn8QJ4oN2pASMFW24OCPWU= 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=ZK8I5vg5; 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="ZK8I5vg5" 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 45ICqk3F006324; Tue, 18 Jun 2024 13:14:30 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= 8AXDN2cjC6HX8I8LZqU07wi/8NyC63TdGCzNBVTdp1s=; b=ZK8I5vg58V0vpFMo S5Ow2t6OyniZdrZgZXpTnwk55v/JZc2XC8B4M7QcTEovtSuL1ruCuxizDSskpg8v VZOAvCnRyHrOC4uecJpUD7Ko7TFSvLgR9V1ESaRWV/ID4VXsijNNtBS0GdmP8bQD UmfO3kZskB1X7J48kUp6pxXJmMGFhIv10HJdvvmWkws+yqYinj7qAdE61ZYgh4eh bCwaFGQD1NvitBYS2VwX+dObKAMrBnH9mO0eVeBGVWg6bvJsP4JELVzrZPIR7m3i qylxp2ad1Q+TZc8HjBZlV3G2SIqHzsGQcl2t3gbeuXrkXaS1K+z23b1zntiDRW8R Kg2ZjA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yuamp027t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:30 +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 45IDETUx011985 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jun 2024 13:14:29 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; Tue, 18 Jun 2024 06:14:25 -0700 From: Naina Mehta To: , , , , , , CC: , , , , , Dmitry Baryshkov Subject: [PATCH v3 5/5] arm64: dts: qcom: sdx75-idp: enable MPSS remoteproc node Date: Tue, 18 Jun 2024 18:43:42 +0530 Message-ID: <20240618131342.103995-6-quic_nainmeht@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240618131342.103995-1-quic_nainmeht@quicinc.com> References: <20240618131342.103995-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-ORIG-GUID: YqdEQoviqlzHPjIV-l5s8QIuooM5FSL0 X-Proofpoint-GUID: YqdEQoviqlzHPjIV-l5s8QIuooM5FSL0 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-18_02,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 malwarescore=0 spamscore=0 bulkscore=0 mlxlogscore=955 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406180098 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>;