From nobody Tue Feb 10 06:58:00 2026 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 511D233F363 for ; Tue, 23 Dec 2025 17:08:39 +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=1766509721; cv=none; b=QiaRlnXz+/QpZUSpio9yfLPj2KVLTddN8SqBh1rhdO4PFgfnz6NxpnzlAk8CWpzrUA5C/o6AJX2lYuMjpxlzJKcMRXr/Y5bB+3ojfYqOI1DA0zup7yhcWbeTjQnpLYp9mkunvKmZ7pLHKsyTNCN6cxPfNzqOQ5uKck98bpwdjPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766509721; c=relaxed/simple; bh=Uo7klXz4CKVLIAFhyMsmgHyzo6vZoHcxyIjPIsWKeLY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eFoKQENwzesuWQwvcO53GW21V3jiwJDj/laT90yH44INsoCT3sVS85GNXUx/atwdlkBfMZlw52u2COJ+BFwR2g49dNwukJj86TAsItn31Tak98bRLyooIfe2WMbdvcjqL+QVTz3lnT72QSQXIMcWtx62TLUs0vcucCK6u73hUmQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=PA6Q+Mgq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=W102x9Y/; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="PA6Q+Mgq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="W102x9Y/" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BNFvWAg2747756 for ; Tue, 23 Dec 2025 17:08:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ppJ9L8xk1apLAmwIJtT0Qc7Ciy7FBPgdY26Q+dCWm5A=; b=PA6Q+Mgqq3E6f5TB m3GVbyTcNZEGixMWmuAM88Q+QEo7u7GXc8/1pYrpj1jfhwu9AEnOgLHpgkcYzt3Q k/QzCw/EhZzROCe41uAclvRqbSE2ZWwCgsMBLw9Qwidk4hN/uP1pi4sN8OucuPeI P27Jl7L2LVV3/Imgr41xmgyS2AoPJaoRFyRVwfawWZg5/grnSUeeyXXP4vHNzbgb 6NahDkT6spxNz77gCKopEGPWvCoQ7r6KefQAqyrI5ZCAPqvhltSPZ1eYvMR1ZcSd j8T+a7V/0nJ81zjbFzQiG5Q3oI0+0Dj6EFZMDA15GB1r44x2CPNbWNF/dnOgTaIk Y+HDaQ== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b7h5ctvfj-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Dec 2025 17:08:38 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-7b90740249dso8967263b3a.0 for ; Tue, 23 Dec 2025 09:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766509718; x=1767114518; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ppJ9L8xk1apLAmwIJtT0Qc7Ciy7FBPgdY26Q+dCWm5A=; b=W102x9Y/DVRPMjI/ErDYknAeyVlpZ7yIPRa4FkyuGvAZZJt1zOeAgJoNzTjiYG5dwk LVB8fPioCD6M/KQ2tR870DUkQNx8/1Pmi1b7cmSWgK7vAWOwYC1U8UyL0W+UOjf67C65 sjyTgA7kb9VkK9s/izi0F+sLtaKw5/iSXa8l1yjJ10GrGBUwhei7g4NaenYxctyeiJq5 z7AV3nQRGEmCiRu+xvA/I0uwM5APq2Jhmrfn+xegwTYIEJ4T5ZhZ+FtYMdxs/cHzDU1x HIAZi7HCPm0iY4Dfau23RIM/gjB/K8mCuvHiay+LNKaJeK/U6Zv5P93+AltV6ZgL+9jO RVNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766509718; x=1767114518; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ppJ9L8xk1apLAmwIJtT0Qc7Ciy7FBPgdY26Q+dCWm5A=; b=Zof+bp5RD0IcJeoNUDUCOPuPMTaPUg9mm+XVpI5gE4lX8wnW25vu6O0ypu0eRBab6O XnlfXIa+2zg4e8BGrFLYO2oWW/XZUctHmwQ0L5tbvIzfsWMO3Pz5lqPp4PfCwParRjCE AJlnSNpbDGubH8hsaFN48Ww5VWA+LXpi/e3UdC041nWTeUB9Ksqp69x+uYJFKNwuRF2c jfLh4ZgICqBwehu2XD7NaO+/K2XxNE6idufM6VKu/pZvsWlilyw7nZl/mJMXtRsGHEBj GN+cIWEbMyarcASk2JfQgm3D23UzQfZXEGiulrtlH9+ut0nopBBFafjHS7VxC2jnqvCw /i7Q== X-Forwarded-Encrypted: i=1; AJvYcCVWK3DdZ1xUkJt5pHJbsFynZN1vtPQ+XgWTV/+wyPXcnhGEM3kqZPulBqUn2CaTfN9SITpkLeE9pQxuxz0=@vger.kernel.org X-Gm-Message-State: AOJu0YzUx74b+31yBrp0rO46FC+ejpSuKmoFBcMZGaG0v90tuBf9u98t 67Sp/BjlNC8uGw+NxJS2i0Rfhe/e+ZEnlHc4e2pVfbh6Wv/VhjYW+qYZupb6fbwy4Ra0WovXqkz iWoJxkWwx3mZBr87WpNIC8+5WhPRAONKY0/MyZ+KBd6jWPwD7T9qzqZ+pcci6kgJPND4= X-Gm-Gg: AY/fxX5DjugWpoEtocJgVuNP4Vfag50IqafVC0KgFBmoFGYMPTCy7Dx9wr9dOZhspcJ wRAjr7XVPCPFdhBRvVRdyMtBkYCHBTyUCw0R2+trPMt6QtxtQTbgP6qA4Chwyzj6HWqIXlUclhj ifg6UzzUEmK36tnCBoXvzYmo/w6T/frMKDOGzgb5AzbasOcUmSLcFDhhXb9ex5qes0UqfshOeOQ nlW+jGzSdxk84onqIgmaIo8Hw+q/1dLPLVQnOrmYIFlFjOQiiX34/TZ/cwArpNqCfu+hnk7tSX4 O3jU10VtDojxJWl/pyGTSJ9mQrftLai0GLtGnw6nUZ8VuBbMyJW70VTM9rI4rZiopWmJX3k3FW3 ASnsoIVJepU/u8tVOiOJDlbJqB/rGiI/pj3gNNt3yhSOBrA== X-Received: by 2002:a05:6a20:9392:b0:34e:be9b:b67f with SMTP id adf61e73a8af0-376a9eda02emr14169117637.49.1766509717741; Tue, 23 Dec 2025 09:08:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDPsmvLjxgTLHJmtjhdUkmH9fNkZmVphr+AfeK0f30Iygo4+BHC2YUjESeFt6TJsQwor0DGQ== X-Received: by 2002:a05:6a20:9392:b0:34e:be9b:b67f with SMTP id adf61e73a8af0-376a9eda02emr14169076637.49.1766509717256; Tue, 23 Dec 2025 09:08:37 -0800 (PST) Received: from hu-spratap-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a2f3d5d863sm130019325ad.80.2025.12.23.09.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 09:08:37 -0800 (PST) From: Shivendra Pratap Date: Tue, 23 Dec 2025 22:37:38 +0530 Subject: [PATCH v18 07/10] arm64: dts: qcom: qcm6490: Add psci reboot-modes 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: quoted-printable Message-Id: <20251223-arm-psci-system_reset2-vendor-reboots-v18-7-32fa9e76efc3@oss.qualcomm.com> References: <20251223-arm-psci-system_reset2-vendor-reboots-v18-0-32fa9e76efc3@oss.qualcomm.com> In-Reply-To: <20251223-arm-psci-system_reset2-vendor-reboots-v18-0-32fa9e76efc3@oss.qualcomm.com> To: Lorenzo Pieralisi , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Sudeep Holla , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Bartosz Golaszewski Cc: Florian Fainelli , Krzysztof Kozlowski , Dmitry Baryshkov , Mukesh Ojha , Andre Draszik , Kathiravan Thirumoorthy , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Shivendra Pratap , Srinivas Kandagatla X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766509672; l=2238; i=shivendra.pratap@oss.qualcomm.com; s=20250710; h=from:subject:message-id; bh=Uo7klXz4CKVLIAFhyMsmgHyzo6vZoHcxyIjPIsWKeLY=; b=UyCKsyR+zpqEekSnr5zk9LECTpKfqgJ2q0uGOYOICyyRGufhh9JWaPmDMoxP2tI3u/Pf5cG2o hK4Agq99Pi1AhS2aP3Nr7p9qo6s4YH4vVWalpNtExTQXArG5Yvl89zR X-Developer-Key: i=shivendra.pratap@oss.qualcomm.com; a=ed25519; pk=CpsuL7yZ8NReDPhGgq6Xn/SRoa59mAvzWOW0QZoo4gw= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIzMDE0MiBTYWx0ZWRfX/ZqOJad5DmdI qfgiayVVDyImMyhAiJgN5KphMHrpr1VkN+EdIFGP6rvEj44GPKaAJ+AdCRk+tKSGzYI87XwHAaC lgndeUmdbWmKDCDyRaBjCkhwGxax1KF3DCbuqIGXok0Z9KJaWg9+1wEC98cIPh2rKl5g0K8WDQ6 Lk+tCK3V3bIi1KNpRkpOOQ/ptvxJH1kqwJdXtE6Lwdr0svElsBpzguJATmZRyX9Krl9RpBuHxww yVd/hCYudaQZDb78tBx6m/5jK5rVDUVT6l5ocMFhEusnM8JfInZ2/dg5AajKZ5dTB6/15ffHznC IZpDqs10p+79ZW+2uN94xkY6exYhDEtMuw5O7MVs2mZcT/OyaP0o2e0+TLX+tOFKR0aO7eA+ZoO tDVBzBqulAwjWrRcFRT/+wewxZhGK1teMDcN3dq3WE3Vbr0Uk/Gxgq+0hnjpGTE5LiigOzws0B8 aB9H+7bemg405LXIWfg== X-Proofpoint-ORIG-GUID: TepaPWjTODxj7A1kE-05_7rnKYD12kkO X-Authority-Analysis: v=2.4 cv=LeUxKzfi c=1 sm=1 tr=0 ts=694acc96 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=t9IVmYW30V31rltyR78A:9 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-GUID: TepaPWjTODxj7A1kE-05_7rnKYD12kkO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-23_04,2025-12-22_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512230142 Add PSCI SYSTEM_RESET2 reboot-modes for qcm6490-idp and qcs6490-rb3gen2 for use by the psci_reboot_mode driver. The following modes are defined: - bootloader: reboot into fastboot mode for fastboot flashing. - edl: reboot into emergency download mode for image loading via the Firehose protocol. Support for these modes is firmware dependent and not available across all sc7280 based boards. Signed-off-by: Shivendra Pratap --- arch/arm64/boot/dts/qcom/kodiak.dtsi | 2 +- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 7 +++++++ arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/kodiak.dtsi b/arch/arm64/boot/dts/qco= m/kodiak.dtsi index c2ccbb67f800cb9927627f991e3d97174cc73c64..e319a1894901cc9c56a89cb8b8a= d0acb7a18dc99 100644 --- a/arch/arm64/boot/dts/qcom/kodiak.dtsi +++ b/arch/arm64/boot/dts/qcom/kodiak.dtsi @@ -858,7 +858,7 @@ pmu-a78 { interrupts =3D ; }; =20 - psci { + psci: psci { compatible =3D "arm,psci-1.0"; method =3D "smc"; =20 diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts= /qcom/qcm6490-idp.dts index 089a027c57d5caed103f41f20c01fe1294b4c950..5816cc1c033c396f49fddbbcd4b= 09e5a633bc804 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -695,6 +695,13 @@ &pon_resin { status =3D "okay"; }; =20 +&psci { + reboot-mode { + mode-bootloader =3D <0x80010001 0x2>; + mode-edl =3D <0x80000000 0x1>; + }; +}; + &qupv3_id_0 { status =3D "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot= /dts/qcom/qcs6490-rb3gen2.dts index f29a352b0288e9ef554ecfff59820ba39bf2cdb1..6e836e476d595b7e1b69a0859cf= 2f697c529cbfa 100644 --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts @@ -935,6 +935,13 @@ &pon_resin { status =3D "okay"; }; =20 +&psci { + reboot-mode { + mode-bootloader =3D <0x80010001 0x2>; + mode-edl =3D <0x80000000 0x1>; + }; +}; + &qup_uart7_cts { /* * Configure a bias-bus-hold on CTS to lower power --=20 2.34.1