From patchwork Fri Aug 30 13:39:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 824420 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 F3BF61D1305; Fri, 30 Aug 2024 13:39:28 +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=1725025170; cv=none; b=CNunh4XsH9nXKI9of8WwOZPXUTuL1S+Rb/ilZwXJhN0ZCdp01MyBE//6224HH78MNYs5lSZZjeaQQvbf7x296DNA+xHXAOQXv6wougmHrxmvKlxsSXFjA4D6ACeQjnkFiSvUs/e2l2+qfC7ltW72ZggbTTfjpbUGErAoeHBqJn0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725025170; c=relaxed/simple; bh=uVq1JUP82sSYRL8HVnjc53Jwj+KQIHIMQcKZeNj96Mw=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=B0iV2tq/NNsd3ukD1uiV0iNjysbvaTnOwpByWmlplY4bszoPtBmJLcAY0vcADLxwAHDwX2c35MhI+10y0weHnXmn2VTYonPDM8Q+q4njm+RpF/ZBF8JQ4y4WBHMPFaq612Ys3uzf8BU69iNtjFYdzjDvotEAV9KegFSPaPxpGN0= 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=L7aY1pXW; 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="L7aY1pXW" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47U80BZI011434; Fri, 30 Aug 2024 13:39:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=CoOr2HN15nF8r7fQEfoG1Y 3ol5UgNAjHoywlmgPJch8=; b=L7aY1pXWoTJH4mJ0bRvvqODeFwkQfspQmFGhkY w/Q9YFlXddw6uxt7X3wJUTv6pCZye43U6R41EymhonkSn8CyfpVS2NFybX1ak4sn LjJ+CJakhISwcGzeXLH8EslWaIz45UCR3ct05kQs2IDvsS75HLBNc42YEI2bt/Qe K9uEvkXwBQsogSIETXHZ/NYsDBDEWqlsHox+JZX/qiT2scewUV9z4SHCwq7FJz3V 6oHa7tZMKTKQNi2cN8IrLR4IBqpobs6iu2rkXA1jqiL9Uiltn8k6yjsV+B839l/1 KoPMle5UfDhIl5MbcpctV7qEbz2QXbH94vpE5Cc+ayQ1ZUtA== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 419pv0s4d0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Aug 2024 13:39:25 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47UDdNpa011828 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Aug 2024 13:39:23 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 30 Aug 2024 06:39:20 -0700 From: Mukesh Ojha To: , , , , , CC: , , , Mukesh Ojha , "Elliot Berman" Subject: [PATCH v2 1/2] dt-bindings: mfd: qcom,tcsr: Add compatible for sa8775p Date: Fri, 30 Aug 2024 19:09:07 +0530 Message-ID: <20240830133908.2246139-1-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: e_ImQjHIbGK6EzfyfyQk0uuEYvUkIZa0 X-Proofpoint-ORIG-GUID: e_ImQjHIbGK6EzfyfyQk0uuEYvUkIZa0 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-08-30_08,2024-08-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=968 bulkscore=0 impostorscore=0 phishscore=0 clxscore=1011 mlxscore=0 spamscore=0 suspectscore=0 malwarescore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408300104 Document the compatible for sa8775p SoC. Reviewed-by: Elliot Berman Signed-off-by: Mukesh Ojha --- Changes in v2: - Added R-by tag and rebased it. Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml index c6bd14ec5aa0..7d0b0b403150 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -21,6 +21,7 @@ properties: - qcom,msm8998-tcsr - qcom,qcm2290-tcsr - qcom,qcs404-tcsr + - qcom,sa8775p-tcsr - qcom,sc7180-tcsr - qcom,sc7280-tcsr - qcom,sc8280xp-tcsr From patchwork Fri Aug 30 13:39:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 824046 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 6E3781AD417; Fri, 30 Aug 2024 13:39:34 +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=1725025175; cv=none; b=CpagKU9X9tMnqc1m+ycaIYOvTr/JdvvKPF90YXi+Ew4KE2K4ChGKI2z3ZC9TQ4CSFXYcLbBXWE5fsJP2BFD9jEqAGfWiqdRbNqq9aYHokBJuxG3GQ7Q4DyT2KEz0MW/VN1DmvZPYLYSqnxp8fAzBTd8L2whXS6U0MzOZ2ZYbm6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725025175; c=relaxed/simple; bh=0/U/Bu+zOnQLAhL/T7RnTo2korB4XLSYHTcuH5Wk9So=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pI1P/aRUW0RiDPWcSDueYNA5AVqKI/+HO0Ap1i3/dJOVkwFE8lUK72+Zm76/Lx4FqzHoAmK1fzBo3BrfJidSscxV5FcYg5xpcMlq2cy5yQoH0VqQ3KP44+T2ZCuV2X8ZOeANuo0CJK8959kHIo5si7YV4mu898554mMvpb+VdHw= 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=SPHrjCWS; 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="SPHrjCWS" 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 47UAACtp025957; Fri, 30 Aug 2024 13:39:31 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= FJMQAHkfajua+LW4bUHx/O3tHQ5nAUmKjgurZsgHtbQ=; b=SPHrjCWSpHXzjKMd RaMG1XvMELdvHLQximNTfa706zQjNkvLwFwnG514KD4zesTP8bfNBuFi3ZncJfWF M2Yfcni/uhcd0+ktFFsn/BVm5XxtWBRm1gOK1bSkaxCgS6ctGpNG7AYlZ14OhWxt xbcG4/f7VhTnqcFWeMqKu42yMSXN0hTwBPT6Gr6rytS7mFRGR3MXacLMzCXBz2Z4 X5YvLRRbA8RsObEW1sg77WVAFGmVE5G1LfSMvX3N3dQ0YUKspi4Vx0nGAE6Imsc0 syCGgTsGF3gkoATtZXTMxRhfQ4ncaUtfCzG0Y4ot4fQR9WeluBsC9fVqhgssBlfp 6bDYUg== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41arax3xm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Aug 2024 13:39:30 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47UDdT4A010457 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Aug 2024 13:39:29 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 30 Aug 2024 06:39:26 -0700 From: Mukesh Ojha To: , , , , , CC: , , , Mukesh Ojha , "Elliot Berman" Subject: [PATCH v2 2/2] arm64: dts: qcom: sa8775p: Add TCSR halt register space Date: Fri, 30 Aug 2024 19:09:08 +0530 Message-ID: <20240830133908.2246139-2-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240830133908.2246139-1-quic_mojha@quicinc.com> References: <20240830133908.2246139-1-quic_mojha@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: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: RvCTlc2o1J23cGKuIxHaH61_YytioJb_ X-Proofpoint-GUID: RvCTlc2o1J23cGKuIxHaH61_YytioJb_ 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-08-30_08,2024-08-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=789 malwarescore=0 impostorscore=0 priorityscore=1501 spamscore=0 clxscore=1015 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408300104 Enable download mode for sa8775p which can help collect ramdump for this SoC. Reviewed-by: Elliot Berman Signed-off-by: Mukesh Ojha --- Changes in v2: - Added R-by tag and rebased it. arch/arm64/boot/dts/qcom/sa8775p.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index e8dbc8d820a6..fa057073ee2d 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -281,6 +281,7 @@ eud_in: endpoint { firmware { scm { compatible = "qcom,scm-sa8775p", "qcom,scm"; + qcom,dload-mode = <&tcsr 0x13000>; memory-region = <&tz_ffi_mem>; }; }; @@ -3072,6 +3073,11 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + tcsr: syscon@1fc0000 { + compatible = "qcom,sa8775p-tcsr", "syscon"; + reg = <0x0 0x1fc0000 0x0 0x30000>; + }; + gpucc: clock-controller@3d90000 { compatible = "qcom,sa8775p-gpucc"; reg = <0x0 0x03d90000 0x0 0xa000>;