summaryrefslogtreecommitdiff
path: root/rust/helpers/pwm.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2025-11-03 00:01:59 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-11-03 01:02:10 +0100
commit28124cc0fb8c7dc01a6834d227351e25d9a92c58 (patch)
treeda34c7e6e7b29335425fafd434010e858961abd6 /rust/helpers/pwm.c
parentbd44ea12919ac4e83c9f3997240fe58266aa8799 (diff)
driver: reset: spacemit-p1: add driver for poweroff/reboot
This driver implements poweroff/reboot support for the SpacemiT P1 PMIC chip, which is commonly paired with the SpacemiT K1 SoC. The SpacemiT P1 support is implemented as a MFD driver, so the access is done directly through the regmap interface. Reboot or poweroff is triggered by setting a specific bit in a control register, which is automatically cleared by the hardware afterwards. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Link: https://patch.msgid.link/20251102230352.914421-2-aurelien@aurel32.net Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'rust/helpers/pwm.c')
0 files changed, 0 insertions, 0 deletions