Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp321672lqo; Wed, 15 May 2024 16:11:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkwBmsUYEoMFhjCPqbD4dPQVK9/m4b+nPwz6ev2UhyAae8GEuiGSswp/2A/6nPNtVO2NZViC1pMmImlLJ3IVH0dAyGOANdL1IGvAnTfA== X-Google-Smtp-Source: AGHT+IFzEuDt5q8uaBMWq8yLZw4XIMEsEFCAmaB93y4tEmpPKgwnVCswC+DDq0EgXZBK8IsWQ3KW X-Received: by 2002:a05:6a00:23d3:b0:6f3:ef3d:60f4 with SMTP id d2e1a72fcca58-6f4e03a2c5amr21020553b3a.33.1715814706364; Wed, 15 May 2024 16:11:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715814706; cv=pass; d=google.com; s=arc-20160816; b=l+25gBsEnNtD71+RlBKptzrKvkDA2TDYj2ucAflopO5eyp4vKp9ZkWBWzRGJW93/3k Z8T+/dke1tWJwKIHEABOb9krKvG0f0pZI4XDTRWHpdhVVQ4v/FWTsvUw21Gp13SlSbH3 2M8B8DGNfz0Xu1nvHBCoJNYSl0FM0DCNVfkjdWSaDkvFAxIwQ2WDPjzsOGulUGuET7vo TegG1w8L5ZMgMXY3qcHDDnkFDX8MyYeLN3++mXHPJQ5txTyqJp5LtrnUU2YW/KQXIjtQ BTlSU8gMgCtss8WTTOiK+JViuGgLKukGDQzmxhw5NIY61lT3jpHP1BmPx6/ZpLHjBjqO 8I6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=Zh7hRH/t/TFXOcDbW1kHqQU0HKEImm5ajDRSuU566vg=; fh=ix7oY1LSj/n36FUeysCayGOg+CG4pcJk9TDVV8Oeehg=; b=JkvFxQ2qB35oCcHsUpBSbcEMGzSlkJehySvmlBzGiBcaEG9z+03JdlvvZB/OZW/gX7 4QerbKNSjkyS3jvCVtZCXN5hAElhqcJcKGPpiA2C47uLRNn9UhjnTplJfFvcxOPm2AAn iKjyvPjnTfszfKApdPgaGDGNqbZ4lkA6Tjx1T56E3ohVdj/Vw8h4mVi6pv+xsQYsXZJV wYrg7UiEI9lBNpQwYhEf99K+pq+t/4h8ThaxXI6HheFThW5xmp4LVTs2DauwYFFyEfts GURcIoc+lLKjvPT/wAeRFsc/EGecVPxbz+6f4GtPr7bqWTXZEmJ8mWEdtZmjkGtonizp 8m6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MWESLMoE; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-180469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-64f0a8e4a08si3879201a12.534.2024.05.15.16.11.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 16:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MWESLMoE; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-180469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0464C28268C for ; Wed, 15 May 2024 23:11:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7319B50297; Wed, 15 May 2024 23:10:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="MWESLMoE" 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 377DE5025A; Wed, 15 May 2024 23:10:42 +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=1715814644; cv=none; b=HWbOHcWnCwp6MifFfi2UszV7ivtMpap9ll3Qpl8XxFgBtzeaS6YY2StpQGcupiwmVFCULsZl6PeODBzosszB8ZE7qGgbF4z6D6EXvSqRXbB8SxkHq57diShXanNkRLlPFuPZXMiCEE3QcHIFiuDrXuh861QBL/xUDSg9vQ/cLbg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715814644; c=relaxed/simple; bh=hnAvc10FT35qHL9JjkLYDA/CoQIaDGbohFelgn1Dq0Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=tC7W3BozopTIwDaKNvTW3cHO6LemD96ItFeshxmXV5Ykr0N+vXw/qsrir4dTS1KZMDFn8nPSUBaU8+5t8tCeE2SiRx0iKt8KgXQUKV/S5WEUr1If0+WNOwNvuEWL7y9SK96DuHIep5X0wT9M39XSBXd1bWH7UjLb7PuG+e8iz8Y= 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=MWESLMoE; 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 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 44FKd7xI021411; Wed, 15 May 2024 23:10:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=Zh7hRH/t/TFXOcDbW1kHqQU0HKEImm5ajDRSuU566vg =; b=MWESLMoEkgh2htwPw6xVXrEYECdCZTjz1izCN0Gqyrwc23OI8TvVjgErP5B RyrYchIFrI2E2zYfwKEfDSfkxPi/1jRNxiAmIZmXjX/F+gdKkjKdCPTjqfgef3P1 waJ7uedLL6Kl2BeP7U0Sw/BnpJwMNTIS2XS/jSSSF38ryLJcC31+9agwHJ1kQAqg liK/zdWeMk4qtSfmI7mgZhkT3JgSW4QM01NQ7oaaW91WidtmpOn0c4ewkmTFUeR1 7cgtTYVd5cL29dwvG/efyh6W7z2MWNWu2YYNV9VaXe3NwM26Nwa02SlG3wT7OO74 F8PKqLxOKNuuzf+OiaglU9SJD0w== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3y45vbca1a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 23:10:23 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 44FNA7lp030169 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 May 2024 23:10:07 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 15 May 2024 16:10:07 -0700 From: Elliot Berman Date: Wed, 15 May 2024 16:09:47 -0700 Subject: [PATCH v3 4/4] arm64: dts: qcom: Add PSCI SYSTEM_RESET2 types for qcm6490-idp Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240515-arm-psci-system_reset2-vendor-reboots-v3-4-16dd4f9c0ab4@quicinc.com> References: <20240515-arm-psci-system_reset2-vendor-reboots-v3-0-16dd4f9c0ab4@quicinc.com> In-Reply-To: <20240515-arm-psci-system_reset2-vendor-reboots-v3-0-16dd4f9c0ab4@quicinc.com> To: Bjorn Andersson , Konrad Dybcio , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andy Yan , Lorenzo Pieralisi , "Mark Rutland" , Bartosz Golaszewski CC: Satya Durga Srinivasu Prabhala , Melody Olvera , Shivendra Pratap , , , , Florian Fainelli , , , Elliot Berman X-Mailer: b4 0.13.0 X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: iCCFKI-M7e7DlI0MYqbJ5T0D4pcTArTp X-Proofpoint-ORIG-GUID: iCCFKI-M7e7DlI0MYqbJ5T0D4pcTArTp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-15_14,2024-05-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 suspectscore=0 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=793 phishscore=0 priorityscore=1501 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405010000 definitions=main-2405150164 Add nodes for the vendor-defined system resets. "bootloader" will cause device to reboot and stop in the bootloader's fastboot mode. "edl" will cause device to reboot into "emergency download mode", which permits loading images via the Firehose protocol. Co-developed-by: Shivendra Pratap Signed-off-by: Shivendra Pratap Signed-off-by: Elliot Berman --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 7 +++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index e4bfad50a669..fd0a7dd14483 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -448,6 +448,13 @@ led@3 { }; }; +&psci { + reset-types { + mode-bootloader = <0x10001 0x2>; + mode-edl = <0 0x1>; + }; +}; + &qupv3_id_0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 7e7f0f0fb41b..da25a3089419 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -848,7 +848,7 @@ pmu { interrupts = ; }; - psci { + psci: psci { compatible = "arm,psci-1.0"; method = "smc"; -- 2.34.1