From patchwork Tue Mar 28 10:20:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Poovendhan Selvaraj X-Patchwork-Id: 13190876 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFC14C76196 for ; Tue, 28 Mar 2023 10:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K/0uCnkxFPG5i7DjB88+wFTMUYIhF+enO6mqlP/nnjw=; b=WOsTpmdHL7O9rH RZ3Jq8FmJtApC6K3QrOOzMnw6AGNaL014QVSEOhce3TuQREc1jJiTfM1dxhCH899/36V2fwh+LRgB 6mkziBSfzeIRIaW9jJmW9ebzLHSBdRR0KQWEZeJqnJl/9RpJ7WmzKkbynybJ/8MGosq/0OonW/Lf6 l0OBsZilnHnCs9EiZzgcZEIfsq8d7sf/vNaQ0O1KF8z6nqzaY8BH7c64IMylb6ViWOT5exTqQ23XH g0NtHYfBN9l9hBw+Ef9wo3UC4fse9mKCz+rloDL6TEC/3ghBSAqppOYdY1dth9scr7I08gz2TNhkV HBm0EPnlYQRA9NsZeIiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ph6Rj-00DvEV-2r; Tue, 28 Mar 2023 10:20:55 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ph6Rc-00DvCr-0i for linux-arm-kernel@lists.infradead.org; Tue, 28 Mar 2023 10:20:49 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32S6WhKG024481; Tue, 28 Mar 2023 10:20:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=Bx3vU3oLlqRRG8aYWK7Po3UY7rjnId/JOR9XG1pdoXc=; b=pdyqoGDrTJTxOhT6CKKxOv9q+aiaKS6HHyl2wsYOFxvt6A148dZF9e9r5FSacv84bOjx TT4n6HgsW1ShsUad/Utq/01exmgl5OvhnxTXhiUNosS+IKe4OOuzO/fDQvV7I6VHFDLg G9ox1P6r3mA8ETCyoxiYjfZ9OUU+NlMRjo/7DMH//kYKzMpPDiHckN5U0uIt71AEJ/5v e0E0Tb+jIYYkeSIqWqFIWkJWkQhb7OZm8tBW721NC7gY+wYY6Q3L8p7nNuy6lDX4n5xJ dDtFwo1uYOBIUwzi0c9gkE/g8To9URGxb7p7uZ30MSoaDr5Yx2YHrDm6D5WEPvUg5O+e mw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pkbywap14-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:44 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32SAKhGi028962 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:43 GMT Received: from poovendh-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 28 Mar 2023 03:20:37 -0700 From: Poovendhan Selvaraj To: , , , , , , , , , CC: , , , , , , Subject: [PATCH V6 1/2] arm64: dts: qcom: ipq9574: Enable the download mode support Date: Tue, 28 Mar 2023 15:50:12 +0530 Message-ID: <20230328102013.21361-2-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230328102013.21361-1-quic_poovendh@quicinc.com> References: <20230328102013.21361-1-quic_poovendh@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: abwH8kX732TR9mFfxJXnYcPAygaprGYI X-Proofpoint-ORIG-GUID: abwH8kX732TR9mFfxJXnYcPAygaprGYI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-28_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 adultscore=0 priorityscore=1501 mlxlogscore=827 spamscore=0 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303280086 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230328_032048_273167_AA1F6EF7 X-CRM114-Status: GOOD ( 16.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the support for download mode to collect the crashdumps if system crashes, to debug crashes extensively. Signed-off-by: Poovendhan Selvaraj --- Changes in V6: - No changes Changes in V5: - No changes Changes in V4: - Dropped smem related nodes from this patch - Mapped the entire TCSR_REGS region and updated the offset in qcom,dload-mode property - updated the commit message Changes in V3: - No changes arch/arm64/boot/dts/qcom/ipq9574.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 3bb7435f5e7f..099948f36efc 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -81,6 +81,13 @@ reg = <0x0 0x40000000 0x0 0x0>; }; + firmware { + scm { + compatible = "qcom,scm-ipq9574", "qcom,scm"; + qcom,dload-mode = <&tcsr 0x6100>; + }; + }; + pmu { compatible = "arm,cortex-a73-pmu"; interrupts = ; @@ -142,6 +149,11 @@ #power-domain-cells = <1>; }; + tcsr: syscon@1937000 { + compatible = "qcom,tcsr-ipq9574", "syscon"; + reg = <0x01937000 0x21000>; + }; + sdhc_1: mmc@7804000 { compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5"; reg = <0x07804000 0x1000>, <0x07805000 0x1000>;