From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.171.202.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793957470; b=aTfKFb+NjGbKWuHJn0oaJWI4c7YM4BYSIXRBLzPT1TiyvPc/h1EOVa2lpP5wK2aM2OIe U35Bj1K8S3grFr32jB8DJwjg0BoB0duKnAlmBJ5zHTOX6sKSugYmQAcBvQgJoLG/K0KOJ WvBBXagQBW0jMK3R+Q95505DlYMLLCUvP8KvQe/gm/rBU78afN8/dsoJeBZr0BVqoNNbI Z++Ts9hjGNyKYnBHK/O4ga/VmiA1sUUxf2D44IkbpR1EqFRaCecQDlyBQA3/+rYwzwqep n/Tk5yHhVtqEsvNbiaUzm6oZH3RQmoqLWyYuTx3PUWXlEB/xn6YBZ/yA64Uu4Jnq6GQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793957470; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Last-TLS-Session-Version; bh=FEY+pNQv3raFD6ItQ5TruQMpIhIehZiBlMa2MptY0Ko=; b=zt2Aey9KmcR2dFQIMzotJBgQ6qIsfGjVXFmyqDmiM3vKigUVC9URZEoh8aGMXp4AHhPq sfHue4jwydha1zDbKsP7ljnBW5/T1Jos6EOGCacppKGRecYN+ze2fImqfWYoSasvrXQZC jIbh+ZtvACI+FdLRaqlJb0viHDpYdBXQo+MLRh/WANn4/1+6raIC4RLERUy9hcQN/8DXV PkaCJ6mah0rh5VoKYapdYC9oFWYAb0G2Zk/89Vl5JsN7L5S4nc7gJDTFpHWgKmEx8Pufe a5KfWjhYgqz52RvtHV/y6m1Gwg95kmigrxLFCWEmc9FW/k4nuIloHjwDrfitZpRpiqA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=IL80sULf; arc=none smtp.remote-ip=185.171.202.116 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 505AD606EE8C; Fri, 6 Nov 2026 09:31:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 505AD606EE8C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=IL80sULf Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 2DBACC69166; Fri, 6 Nov 2026 09:31:07 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id A565E5FFBC; Fri, 6 Nov 2026 09:31:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BEC47103292D3; Fri, 6 Nov 2026 10:30:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1793957463; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=FEY+pNQv3raFD6ItQ5TruQMpIhIehZiBlMa2MptY0Ko=; b=IL80sULffVhHJjUPB6lq/meZSVUj5X67ZG4gALd59IoF1PC+QcnS+ZtkR41hdmJaMtm+E5 DgOFn5AYSlbgiiercLioIm6i38rNtfjIKd/icYFG85nDE7/Nf0/t0FD4hjG5jv+CEKh4m9 r1HoesTUtas6qvAbxoRtPS+7mivpPruzXbIMxstzFue5GFKHwYX1HiKcKLZVh4YOs3J3Xb iYJDxrPYo1r2EOllL694SVGgrxYw2gQHpgIDloPEfR8G/UVTFpPl418WOI91Wb8HddFiH9 pqNCxMwN7mTFZjyS1p+hSAYTIOPu0ZtKl6DfoNTL52GoCbGBR+BEgXR/YoCD1Q== From: =?utf-8?q?Beno=C3=AEt_Monin?= Date: Fri, 06 Nov 2026 10:30:01 +0100 Subject: [PATCH 04/25] dt-bindings: power: reset: add Metanoia MT2824 reboot X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20261106-mt2824-v1-4-86087eaf5af4@bootlin.com> References: <20261106-mt2824-v1-0-86087eaf5af4@bootlin.com> In-Reply-To: <20261106-mt2824-v1-0-86087eaf5af4@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jun Chang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Philipp Zabel , Sebastian Reichel , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Conor Dooley , Jonathan Cameron , Lad Prabhakar , Thomas Gleixner , Radu Rendec , Samuel Holland , Ben Zong-You Xie , Daniel Lezcano , Ulf Hansson , Jisheng Zhang , CL Wang , Mark Brown , Greg Kroah-Hartman , Wim Van Sebroeck , Guenter Roeck , Adrian Hunter , Minas Harutyunyan Cc: Thomas Petazzoni , =?utf-8?q?Randolph_Sheng-Kai_Lin=28=E6=9E=97=E8=81=96=E5=87=B1=29?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org, linux-phy@lists.infradead.org, Paul Walmsley , linux-mmc@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, =?utf-8?q?Beno=C3=AEt_Monin?= X-Mailer: b4 0.16.0 X-Last-TLS-Session-Version: TLSv1.3 Document the Metanoia MT2824 reboot register, which the firmware writes in machine mode to perform a warm system reboot. OpenSBI has a system reset driver for it. Originally-by: Jun Chang Signed-off-by: BenoƮt Monin --- .../bindings/power/reset/metanoia,reboot.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/metanoia,reboot.yaml b/Documentation/devicetree/bindings/power/reset/metanoia,reboot.yaml new file mode 100644 index 000000000000..2670fe7ab93f --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/metanoia,reboot.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/metanoia,reboot.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Metanoia MT2824 Reboot Controller + +maintainers: + - Jun Chang + +description: + The Metanoia MT2824 reboot controller provides a system warm reboot through + a memory-mapped register. It is used by the firmware in machine mode. + +properties: + compatible: + const: metanoia,mt2824-reboot + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + reboot: reboot@10000004 { + compatible = "metanoia,mt2824-reboot"; + reg = <0x10000004 0x8>; + }; -- 2.56.0