[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250520-linux-stable-tps6594-pwrbutton-v1-0-0cc5c6e0415c@criticallink.com>
Date: Tue, 20 May 2025 13:43:35 -0400
From: Job Sava <jsava@...ticallink.com>
To: Lee Jones <lee@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Julien Panis <jpanis@...libre.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org, jcormier@...ticallink.com,
Job Sava <jsava@...ticallink.com>
Subject: [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
jsava@...ticallink.com
Critical Link LLC
Signed-off-by: Job Sava <jsava@...ticallink.com>
---
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,
--
Job Sava <jsava@...ticallink.com>
Powered by blists - more mailing lists