Powerbutton driver and powerdown request for TPS65224 PMIC
Get series with b4
b4 am 20250520-linux-stable-tps6594-pwrbutton-v1-0-0cc5c6e0415c@criticallink.com change-id 20250403-linux-stable-tps6594-pwrbutton-e056dccc6be5Versions newest first
- v1 Latest3 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: mfd: Add power-button option for TI TPS6594 PMICDocumentation/ | +15 | 10 replies | |
| 2/3 | mfd: tps6594-pwrbutton: Add powerbutton functionalitydrivers/ drivers/ drivers/ +1 more | +160 | 3 replies | |
| 3/3 | mfd: tps6594: Adds support for powering off the PMICdrivers/ | +24 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Torokhov |
|---|---|
| 1/3 | |
| 2/3 | A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Powerbutton driver and powerdown request for TPS65224 PMIC
Hello all,
The following patches were created to get the tps65224 PMIC powerbutton driver and power off request working on the MitySOM-AM62PX. The patches are as follows:
1-Powerbutton:
Full implementation
TPS659224 pmic push and release interrupts are now handled by the powerbutton driver. These events now issue a power off request that puts the PMIC into STANDBY mode. tps6594-pwrbutton.c is modeled off the tps65219-pwrbutton.c driver.
2-OFF-request:
The PMIC will now respond to a power off request. This is done by sending the PMIC a command to enter STANDBY mode. The PMIC will then turn off the power to the system.
3-Device tree bindings:
The device tree binding for the TPS65224 PMIC has been updated to include a proper description of the power button functionality.
4-Impact:
Button presses will now be detected reliably by the newly added powerbutton driver. The tps6594-pfsm.c file will no longer handle push and release pushbutton interrupts. This is because the powerbutton driver now manages these interrupts, as intended, which ensures the powerbutton functionality operates independently and correctly.
Regards,
Job Sava
[email protected]
Critical Link LLC
---
Job Sava (3):
dt-bindings: mfd: Add power-button option for TI TPS6594 PMIC
mfd: tps6594-pwrbutton: Add powerbutton functionality
mfd: tps6594: Adds support for powering off the PMIC
.../devicetree/bindings/mfd/ti,tps6594.yaml | 15 +++ drivers/input/misc/Kconfig | 10 ++ drivers/input/misc/Makefile | 1 + drivers/input/misc/tps6594-pwrbutton.c | 126 +++++++++++++++++++++ drivers/mfd/tps6594-core.c | 49 +++++++- 5 files changed, 199 insertions(+), 2 deletions(-)
---
base-commit: a5806cd506af5a7c19bcd596e4708b5c464bfd21
change-id: 20250403-linux-stable-tps6594-pwrbutton-e056dccc6be5
Best regards,
Signature · 1 line
Job Sava <[email protected]>