From nobody Tue Feb 10 03:55:39 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 728BB2D0C8F for ; Tue, 23 Dec 2025 17:08:28 +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=1766509710; cv=none; b=B9jMCwCwZUiTX3OJD9mDXg0rGULD51CviKEHVL1Uh8WTzikxWwfW48G5zkWeMqkRY3xZU9RmmcAg+u1sDOgmjZWJ7w1Ap5mCNC9MnO+yAPtrs/BWEdI93SX+bZsFlJ3szfZ5ucmoYUC0nJErCdG6WLabAUcnoOfHMqV+jGULwro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766509710; c=relaxed/simple; bh=yBVN4FEHADdTSQ++LEmhmTEyByZ3pz1DEJtf2+BqO1w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fKSt1OqQkgk91HoQtbuQ3LkLhMJyoQy7p6e9K039IN2Dt5UkXcgyKEgxRTPYib2QbuQag0rLq4eDB1ooRJ8n9ogTBEXFc1zAsm1cfkzJR8d3LSDnN4E4j/EJTv/RcubX6pVc2+v0rFbLmX3Bg6XhLfSur6MqD+guXEm6uqlb7n0= 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=IFTHkIP4; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=GFfSsI1K; 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="IFTHkIP4"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="GFfSsI1K" 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 5BNFR9hO4044571 for ; Tue, 23 Dec 2025 17:08:27 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=IFTHkIP4gCO+iCZQ esD2VfxvcdCzb0Qo5iM8UyRDdyoZs5+2GRuA21JG5HRUvPRNFUCI7J2bWmmteioc 5CcLxPYMbE8vra3Mb7UQehJGpwqOMto2u8YdVEzlle0KubBRzhaxnBSYrcZgcDc7 qJCniMtQBqM10SdehfWMGBSdRlOLfzMn9sZzJeBfJi1f7Uv1YlLKFL5lMNmq6XuU GlY3Mg5F7/PaWcQLntvnuOSms+13/j+K5s2yEBqzW9GJMW55t5IkHx5yQsMVGkpo 4FsMqd4Z1uIeJ2byNmX3ghxw/a6M5F+I9A6Bb5S1hpUlx3mZKHsbwVUJzrMHrFGr OFtroQ== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b7cuhbeaf-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Dec 2025 17:08:27 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-29f177f4d02so115501155ad.2 for ; Tue, 23 Dec 2025 09:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766509707; x=1767114507; 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=GFfSsI1KrnPGeLPuth9IVgzvZ0hmDOjWG49Z2FecQ58NAYwde9/nAuIdnFqfren4NJ Aq3BYqQwV25bb0ros4kYQjBvnbKNbraeBMh7U7bHvX60N3I3y/aX+xENZ0tSUVTzRCn1 sG0IcUzZVuyZTfy8ibHXPuJbCL6ND+yVOhzJdwsXguoI4hrSTLb5K/Ag50ArARlOZiYQ LXF1VRh3JavPCcn8P/4mH6+kkTSz2nOW6QY1vRTvXM/uVk5drQScTema7g2s0S+NlX2M /OmGt1Lds7s8UcheE2KmBiQyZ8blJ+2d6Z+sVEX2kOau0O0ZtB/lJXIwXDYUy866ylgf Bsbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766509707; x=1767114507; 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=mawilaxCvikA0fsJw41mVFflDFPMVWCHu8iC/73FO1+b2IxHVLV2n0jwNImblEb82r xFfrm2POA98ujp2GuDG77KBWH4HQQMtRz5fnc7CxBOJWHZyR72Z4xkidpB/rhFH/dqAg 5WvDV7Ux+fvGh9J5uy8BHq9FJu0vXT/MGLFMzeOKmjjstit4ErxhqGAcW0UZGAaLXboy lYWtM8oX5LMxDeIm55Mt7uMYwH3kkxq7dpBsmECIM3Oz7CIzRjD37/nJzv50dIIcFbNV dHSpSWDM5YFgW4NFvYC7EQXNteJIovqWhiESZ7L4cAK0Z+y+zLFel5aep9nRVHZeFK8o lPiw== X-Forwarded-Encrypted: i=1; AJvYcCVj4PPvMecN88fJkgt/3DtEcnkIywnXkHeK+iJBE2DWTd04d7by44Me5tL6pB0tCbRdIIKuPZz2+W08DB0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy3QC7uYiWg7kg4v3aUykxNGJ3YmRqjJ0Jut6Nci2DJStakMjpf 4fn5Zes4bXvVZiN5Fh8+Y29mhOy+42wIrFOVZvZW1nux56KxK7F9JzInszYdY0G3tjsoEcIekVo Nq3ah1c3M02FgxBxelHL5k7vlZp3L8DIZp0kOlxOEW1UeJXIWvuB7wg2T2WDeOd8TTks= X-Gm-Gg: AY/fxX7vJJO70uqFhl6UrbqmMFwn8WgWvdGmsHcVIji7qung4ixevsnFXl4jmMvedop r9EGLLd7Mg+L2R7lnFqk7d54vRe5HchUxPIo05gKlfVQ1CFCs3hmDlTylsDniMZV5835wBnac/1 jTMzVIivBZ80z0F+2ELjzshontvZtFMMIiZ8gMJphtnBYr3lqsb4Eb/syOsuL+jXoY3bzHMk+iK Xep/hG+4Z7iROj6nqwS3eEM+yD7Ib6Kbn++P4LaX8Fd0ur1Oy4DKELNIY26Xe3u2u9ctLoZQ8i8 dA/owf9vamWrcVlU22Gc3bCryZLYfFcDA3ZmnGswiLtd/gynFgVr2jvBaJgRZtkQiXkC489gyYQ BDIhx3C9G2ofr3MhP9oQRVtiQAM2hduGBOcdbvl8t86PuCQ== X-Received: by 2002:a17:902:d547:b0:2a2:acc5:7a42 with SMTP id d9443c01a7336-2a2f2833082mr153857825ad.48.1766509706778; Tue, 23 Dec 2025 09:08:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzbQHGQiGNm8TT1s7wytBJ19OTYg4PZTrG+p6fVpioUAHdizIi5FXebJN3u7utRL4JFRecTg== X-Received: by 2002:a17:902:d547:b0:2a2:acc5:7a42 with SMTP id d9443c01a7336-2a2f2833082mr153857415ad.48.1766509706317; Tue, 23 Dec 2025 09:08:26 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Dec 2025 09:08:26 -0800 (PST) From: Shivendra Pratap Date: Tue, 23 Dec 2025 22:37:36 +0530 Subject: [PATCH v18 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: <20251223-arm-psci-system_reset2-vendor-reboots-v18-5-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=2477; i=shivendra.pratap@oss.qualcomm.com; s=20250710; h=from:subject:message-id; bh=yBVN4FEHADdTSQ++LEmhmTEyByZ3pz1DEJtf2+BqO1w=; b=q8FNumK28qbLcXa8ZM4rvWLCTPDJr/novRp+CoyeNvg8BIzOUYt8Xni8SOmjIpKt2fOpnc3Hp D1GAhEWVvrcBDsBp7kMNU46hERQA9K1RY55AeSGyg60UWowaC1sAFLB X-Developer-Key: i=shivendra.pratap@oss.qualcomm.com; a=ed25519; pk=CpsuL7yZ8NReDPhGgq6Xn/SRoa59mAvzWOW0QZoo4gw= X-Proofpoint-ORIG-GUID: yJ5KyVS0DogM8v8pGmfsiHLvFwVoaNW1 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIzMDE0MiBTYWx0ZWRfX8AYhTdbTHoV9 DKmd1BMECF2fGeAGYeCvaA9sb3QewLf5TBnWJ3XCmu76d7vVweG1smJmPL0JQtlH+liQ7JHRnMg tt+nHS7nQ5Sp/cBnHoXT84M5y2Qzaxsru/MM5XRDUYxlWzDrynpX3hxhaU8B8CyDeJMVdxUAmHR rdt87x8Aju+7eQK8LjofFTo6y3EODmldI2MPlTNW7AxD5Ej/oaAZ9rxf7nSLWCcQij5I48V+INW A+jHCYG39CjE4SuVifKR80XWuMquhvXRF5NFS2cEhP7gWb7s0n+FR8OQagk+eSEMEEoTkYmN7W8 Us16l5qA9iWe/jnckdjWqMc+wAP0BizI3J9bgrIKW3TGVdpEpg8fGfgK6J4VyDnjIXuu4CFhrMu uw96g5Dr8txfvyKBvCJOcPGpsUS8Tkoa7w68O8L02GJYkxMIsIEJsvQSiJsGnqC9NS91kBgAXwF kcyKyunW/GpsCwocpsw== X-Proofpoint-GUID: yJ5KyVS0DogM8v8pGmfsiHLvFwVoaNW1 X-Authority-Analysis: v=2.4 cv=NZDrFmD4 c=1 sm=1 tr=0 ts=694acc8b cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Z1E3qa2j_4PWJv3PNLYA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 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 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512230142 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