Make TPS65219 poweroff handler conditional
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesApplied
- v22 patches 2 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Fixed minor formatting issues in PMIC driver
- Link to v2: https://lore.kernel.org/all/[email protected]/
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: dts: ti: k3-am62-lp-sk: Add system-power-controllerarch/ | +1 | 0 replies | |
| 2/2 | mfd: tps65219: Make poweroff handler conditional on system-power-controllerdrivers/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] Make TPS65219 poweroff handler conditional
This series makes the TPS65219 PMIC poweroff handler registration conditional based on device tree configuration, following standard kernel patterns.
Currently, the TPS65219 driver unconditionally registers as the system poweroff handler. This creates conflicts on platforms where alternative poweroff mechanisms (such as TF-A firmware or other power controllers) should handle system shutdown instead.
The standard kernel approach is to use the "system-power-controller" device tree property to explicitly designate which component is responsible for system poweroff operations.
Patch 1: Add "system-power-controller" property to AM62-LP-SK device
tree, explicitly designating the TPS65219 PMIC as the system power controller for this platform. This property was missing only on AM62-LP-SK among all in-tree TPS65219-based devices.
Patch 2: Update TPS65219 driver to only register poweroff handler when
"system-power-controller" property is present. This allows other systems using this PMIC to use alternative poweroff mechanisms.
Impact:
- AM62-LP-SK: No functional change (property added, handler still registers)
- Other TPS65219-based systems: Poweroff handler registration becomes opt-in via DT property
Tested on AM62-LP-SK - system poweroff works correctly.
Changes in v3:
- Fixed minor formatting issues in PMIC driver
- Link to v2: https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Addressed review feedback by removing comment on self explanatory code
- Link to v1: https://lore.kernel.org/all/[email protected]/
---
Akashdeep Kaur (2):
arm64: dts: ti: k3-am62-lp-sk: Add system-power-controller
mfd: tps65219: Make poweroff handler conditional on
system-power-controller
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 1 + drivers/mfd/tps65219.c | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1