From nobody Fri Apr 10 02:40:04 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 C85A83E123B for ; Wed, 4 Mar 2026 18:04:10 +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=1772647451; cv=none; b=eEEsjW/XUKijVdJpw6lXWArPekh4nl2RZkSOzj7Qsgc9wi+oYK1OMMjWABzH/QyLCqXBdM9jd7y7bPCYNuVhb1qqYFVg1gIDxNxKtyAZY1Z219RHQRuZjFDJdH4Gd6L3NuOj4FQv8JYdD0glot6e4u9cOIN4Vka4tpGHdMmLuJI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772647451; c=relaxed/simple; bh=yBVN4FEHADdTSQ++LEmhmTEyByZ3pz1DEJtf2+BqO1w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tcGpAYkoVuBfbC6IlZxnA9dapxyHu+pAIWQObM4wacHcFu0HcRtLXz+L2oqkhDjGwFbGKKTS631kShrH04cnHya8FVnqZD3ozmjN+mv/S5zAQIt4AUD1pjR2UWksHuRjhvHYC2o9hmuMpMSusG4xqGMhK0/TD4tzSFnh1nKgLZY= 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=Da9I29IV; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=c2xediIL; 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="Da9I29IV"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="c2xediIL" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 624HH9pN3837917 for ; Wed, 4 Mar 2026 18:04:10 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= PO6gg0/IWEmCTv8xrfB/fKl5SzRNa5BhzNOETtSDJoo=; b=Da9I29IVMwGbl9Ea c72WmDPOX5rt5CF0pF7Ff1EjoIZ/RQpe64bonHHhQxHdNQx4ThPTmq/Xx8Wi5DjI KOQXKwbU/zqDIn/38cd1q8wOH8y4BXd4xTrdBbUrnpb55XHTrYfdFZcfaN+K7LLO L6ShCmfOASQeQh3/Kn2fZRVsnSq11UOOuGhOZXOP9+D9E7nHZ7ApV1dagKXA010a Vv4j+MV9m9sTQRbP4aU2HzO2wqO0TICpddRZ5oDruTm60HgT2fdgnko9uROAaSIF U/dgSDQU4ZKesjhP43MSM+lKVyO+us1TWWRzxy5xENAQn+x5qp5NOrqO9cMrVCDc Wyvqmg== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cps0m04rd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Mar 2026 18:04:10 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-359918118ebso8786694a91.2 for ; Wed, 04 Mar 2026 10:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772647449; x=1773252249; 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=PO6gg0/IWEmCTv8xrfB/fKl5SzRNa5BhzNOETtSDJoo=; b=c2xediILSvnAdd0GcM9ISUl2p5iVmQxeTBHGiNiftBfrXiJqEm0hEE3uCbNfvNPZnh 4LGr0FEuTTgW+Hkfccxl+X2t6dU7iu4xd9o0pWsp4D4LgVk5ULZcma1xlvn+kdL5Uav7 oFrw3Z15AUzuGBTj+nPMlsi06MqUwDL8qBENWhY+hizJrYcVW3Xm1ROlRInBpQwuHFvE aGscM31tOY3CuZJx6qpm1w3f8SdGoMqxbxTSQjUw2gTOy/CGBMjcKb39c9MJWHjNMnOX avhnsBoQ2teNAKcFDZJvSuT1e0YTa4mCY2ohVzsozhHSSMNXxqe6bLzDuROLC+SuUk5T JsjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772647449; x=1773252249; 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=PO6gg0/IWEmCTv8xrfB/fKl5SzRNa5BhzNOETtSDJoo=; b=DNOIW9MMt41Ih15QS5vOI1weGfM28dD1Gu6pXblHtw+tl8UEtJ9shQcUTm/EO3t/Cb BLqE04zzNq/vyePfW17ji2ERHZS/m3hZrtvXzrTnbpnDo+3j7mklHITbkibXEbpPMqpT AkD2q5pje4fQKuLLHYWBeu/8ldtHKNDNsDG4/HnCO43YEneNKqWTOBchnEjsFq/gIMmJ O4kd71V8qmG71PeIjaNs8hEJolT0q959aAzoyChSIGPlAZSWNakIc7bfY+e+jE4xgzyb 7hC9cRxfS1QHF7hYOcvts05YQJ3TjHiv8oOG+d8K+quM6fNYRKQBpmFrDfj/n8mdZVTR hZVw== X-Forwarded-Encrypted: i=1; AJvYcCUThEcHmBfVpT7ufGmh+8IwpBkN4LT5l57F4tgU6+b8VrxD4dKNtc5v0NnCg52xIIZ4Q0NKlHxoATRaJmw=@vger.kernel.org X-Gm-Message-State: AOJu0YwVk68QzE/k7QT4NnzKRScciq678Kq9s0W8s+outce3qs+AxCjK bI5hIO+bVDzz7sbVOkfevXbSj2nkfrka2RPFkishD76AoyWiH9t8QrzdMTa4hI8i5yVUxBdPO52 WUivFbDgE2Boml2wr2kSOK6LPty7En36NiRiNsx1X0+mX6e3eWfAQ3+ClLbd3x7jdDj8= X-Gm-Gg: ATEYQzwoakJlmne8DIw4E6mrPokAvYjAjau6w8sJdEePWOYuPl1mhb7EMxCc1U9bWX+ T9BT+UwgGFq/3Hd/2b9WsstxJiD8vuNZaU8/Whr1rF7hpwUZr+PG12gCu22fkk+yU53GJCTHQNt fp5cF7CIdYa+XDntZTmj4TgXGwEDK5aa9JnfW92FsSeoNIZecriIcPXDiyeQS2k+wU40HT0Yn4y OBtwfz29xULi8ZKDQGusADdh/VknvzIEzLD2DtafQe2OKSJbbL1YEoVDxF+gYkBgZtsgSQLuP2B n82fv4K0Fp7hU++nAy3BKUKwv7Wn1NfNyhSxa2sR8mdbcINXX/GgD6jek0wU/fTcZeJhmy1CrbO xMBcaEUHLSsyf3YV14IN/6mZOwUbfoP6daSPhLojmaaJICPq4UNsCqG1oyA== X-Received: by 2002:a17:90a:d604:b0:356:2c7b:c026 with SMTP id 98e67ed59e1d1-359a6a661c2mr2569406a91.23.1772647449520; Wed, 04 Mar 2026 10:04:09 -0800 (PST) X-Received: by 2002:a17:90a:d604:b0:356:2c7b:c026 with SMTP id 98e67ed59e1d1-359a6a661c2mr2569368a91.23.1772647449023; Wed, 04 Mar 2026 10:04:09 -0800 (PST) Received: from hu-spratap-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-359a8f22062sm1080606a91.1.2026.03.04.10.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 10:04:08 -0800 (PST) From: Shivendra Pratap Date: Wed, 04 Mar 2026 23:33:05 +0530 Subject: [PATCH v20 05/10] dt-bindings: arm: Document reboot mode magic 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: <20260304-arm-psci-system_reset2-vendor-reboots-v20-5-cf7d346b8372@oss.qualcomm.com> References: <20260304-arm-psci-system_reset2-vendor-reboots-v20-0-cf7d346b8372@oss.qualcomm.com> In-Reply-To: <20260304-arm-psci-system_reset2-vendor-reboots-v20-0-cf7d346b8372@oss.qualcomm.com> To: Lorenzo Pieralisi , Arnd Bergmann , Bjorn Andersson , Sebastian Reichel , Rob Herring , Souvik Chakravarty , Krzysztof Kozlowski , Andy Yan , Matthias Brugger , Mark Rutland , Conor Dooley , Konrad Dybcio , John Stultz , Moritz Fischer , Bartosz Golaszewski , Sudeep Holla 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, devicetree@vger.kernel.org, Shivendra Pratap , Srinivas Kandagatla X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772647398; l=2477; i=shivendra.pratap@oss.qualcomm.com; s=20250710; h=from:subject:message-id; bh=yBVN4FEHADdTSQ++LEmhmTEyByZ3pz1DEJtf2+BqO1w=; b=OZx6ByiWkGv3E+6If5hWQp0cKX8PXq1wNtaOeIuzjnr5JeFhAImHn/a0+xFkU8UG/ps5TFj2n 9Jc3aA3+ZH0BjMvyvVjj4Darm9xBnR8dtDsVx+MXkx4rc34mEfbRabt X-Developer-Key: i=shivendra.pratap@oss.qualcomm.com; a=ed25519; pk=CpsuL7yZ8NReDPhGgq6Xn/SRoa59mAvzWOW0QZoo4gw= X-Authority-Analysis: v=2.4 cv=e6wLiKp/ c=1 sm=1 tr=0 ts=69a8741a cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Z1E3qa2j_4PWJv3PNLYA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-ORIG-GUID: nFRfq0ixxHl1XiejigysMwRaTOkPlSno X-Proofpoint-GUID: nFRfq0ixxHl1XiejigysMwRaTOkPlSno X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA0MDE0NyBTYWx0ZWRfX/HcchZ2co8s8 I6ZnZwLFmL6OzHR6SPTjDZfGe+Lxp4TiKWkHStZL/u8cwL5Y29kdH1kPsC1MHhJu1aJaLmMLEgP 48OwQFLiteO0kQypNxYmmFwUoNSrA2U+tDTYQz1Hx2rvNOgZHp1dofkCkzQifWg4NCpk6Kkg9Qr ExRVwQTb3xsum1Y+YukzVIOyva79X2jNFQhdL2pQzO2Fz5xFAWr6gkyF3IqwuanNUMdsqEb/NDC JGoobBPB3X0IvE8zePLUkA7TC2s6TYM2JjbzeSrDHfwVIVm5etlNPmJ7YtOj1d9zDk3DM8qJWwb 9rk/F/QSKwR/ccreOP7s68IrK3oMfBQcD0YISFpYqOf+mPsR5zZaT3JlCysIDUlhHnaHzlLNku1 OUairuo/QUgHjpxEHI2vzYFPxJ8+wsu1yh/4XDGStAomp56c8cTaW3qTgJfqnS9/o4Vv9JxXpDO ugjGq47txstGwaTqF3Q== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-04_07,2026-03-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 adultscore=0 impostorscore=0 suspectscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603040147 Add bindings to describe vendor-specific reboot modes. Values here correspond to valid parameters to vendor-specific reset types in PSCI SYSTEM_RESET2 call. Reviewed-by: Rob Herring (Arm) Signed-off-by: Shivendra Pratap --- Documentation/devicetree/bindings/arm/psci.yaml | 42 +++++++++++++++++++++= ++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/psci.yaml b/Documentatio= n/devicetree/bindings/arm/psci.yaml index 6e2e0c551841111fbb0aa8c0951dca411b94035c..5fdcbf331ea5620363638feb6f8= 105427a87c00f 100644 --- a/Documentation/devicetree/bindings/arm/psci.yaml +++ b/Documentation/devicetree/bindings/arm/psci.yaml @@ -98,6 +98,26 @@ properties: [1] Kernel documentation - ARM idle states bindings Documentation/devicetree/bindings/cpu/idle-states.yaml =20 + reboot-mode: + type: object + $ref: /schemas/power/reset/reboot-mode.yaml# + unevaluatedProperties: false + properties: + # "mode-normal" is just SYSTEM_RESET + mode-normal: false + patternProperties: + "^mode-.*$": + minItems: 1 + maxItems: 2 + description: | + Describes a vendor-specific reset type. The string after "mode-" + maps a reboot mode to the parameters in the PSCI SYSTEM_RESET2 c= all. + + Parameters are named mode-xxx =3D , where xxx is= the + name of the magic reboot mode, type corresponds to the reset_type + and the values should be provided as per the PSCI SYSTEM_RESET2 + specs. The cookie value is optional and defaulted to zero. + patternProperties: "^power-domain-": $ref: /schemas/power/power-domain.yaml# @@ -137,6 +157,15 @@ allOf: required: - cpu_off - cpu_on + - if: + not: + properties: + compatible: + contains: + const: arm,psci-1.0 + then: + properties: + reboot-mode: false =20 additionalProperties: false =20 @@ -260,4 +289,17 @@ examples: domain-idle-states =3D <&cluster_ret>, <&cluster_pwrdn>; }; }; + + - |+ + + // Case 5: SYSTEM_RESET2 vendor resets + psci { + compatible =3D "arm,psci-1.0"; + method =3D "smc"; + + reboot-mode { + mode-edl =3D <0x80000000 1>; + mode-bootloader =3D <0x80010001 2>; + }; + }; ... --=20 2.34.1