gpio: tps65219: Fix TPS6521x GPIO handling
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gpio: tps65219: Fix GPIO input value readsdrivers/ | +1 | 1 reply | |
| 2/3 | gpio: tps65219: Use the variant-specific direction callbackdrivers/ | +3 | 0 replies | |
| 3/3 | gpio: tps65219: Fix TPS65214 GPIO direction programmingdrivers/ | +3 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Jonathan Cormier |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 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] gpio: tps65219: Fix TPS6521x GPIO handling
I found patch 1 while looking through the tree for code that mixes up bit numbers and bit masks. Patches 2 and 3 turned up while checking the nearby TPS65214 code.
Patch 1 fixes TPS65219 input reads. Patches 2 and 3 fix TPS65214 direction handling.
I tested the series under x86_64 QEMU 10.2.1 with a temporary KUnit suite and a RAM-backed regmap. Both tests failed on the base commit. The TPS65219 input-high test returned low, and the TPS65214 direction-output test left GPIO_CONFIG clear. Both tests pass with this series. A W=1 build of drivers/gpio/gpio-tps65219.o also passes.
The KUnit suite is not included. It tests the driver logic, not real PMIC hardware. I have not tested this on real hardware. Testing on affected hardware is welcome.
Karl Mehltretter (3):
gpio: tps65219: Fix GPIO input value reads
gpio: tps65219: Use the variant-specific direction callback
gpio: tps65219: Fix TPS65214 GPIO direction programming
drivers/gpio/gpio-tps65219.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
base-commit: 40288c9206c17eb66a603262e06a58d300d0f279
Signature · 1 line
2.53.0