diff options
| author | Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org> | 2026-06-17 21:17:15 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-21 22:28:10 +0200 |
| commit | 380f91cdbd3b551ecb6c0b4759c7a1257b055049 (patch) | |
| tree | a2b980b0ba0e7e2d4a182955805f0e493751ae3a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 48355ce49359740f52e94d3623f6fc557ce341f0 (diff) | |
power: reset: add MCF5441x RCM power-on reason driver
Add a driver that decodes the Reset Status Register (RSR) of the
Freescale ColdFire MCF5441x Reset Controller Module at probe time
and exposes the cause via the power_on_reason sysfs ABI.
The RSR can latch several cause bits simultaneously (Reference
Manual chapter 12.3.2); the driver picks one cause per a priority
that favours the most explanatory diagnostic.
The register layout is described in the driver so it can be built
with COMPILE_TEST on any architecture.
Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>
Link: https://patch.msgid.link/20260617-coldfire-rcm-power-on-reason-v3-1-1a7c7b6b14e7@yoseli.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
