Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] gpio: tps65219: Fix TPS6521x GPIO handling
@ 2026-09-19 17:10 Karl Mehltretter
  2026-09-19 17:10 ` [PATCH 1/3] gpio: tps65219: Fix GPIO input value reads Karl Mehltretter
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Karl Mehltretter @ 2026-09-19 17:10 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: Karl Mehltretter, Jerome Neanne, Jonathan Cormier,
	Andy Shevchenko, Shree Ramamoorthy, Aaro Koskinen,
	Andreas Kemnade, Kevin Hilman, Roger Quadros, Tony Lindgren,
	linux-omap, linux-gpio, linux-kernel

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
-- 
2.53.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-24 18:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19 17:10 [PATCH 0/3] gpio: tps65219: Fix TPS6521x GPIO handling Karl Mehltretter
2026-09-19 17:10 ` [PATCH 1/3] gpio: tps65219: Fix GPIO input value reads Karl Mehltretter
2026-09-21 15:15   ` Jon Cormier
2026-09-19 17:10 ` [PATCH 2/3] gpio: tps65219: Use the variant-specific direction callback Karl Mehltretter
2026-09-19 17:11 ` [PATCH 3/3] gpio: tps65219: Fix TPS65214 GPIO direction programming Karl Mehltretter
2026-09-24 15:46   ` Andy Shevchenko
2026-09-24 18:03     ` Jon Cormier
2026-09-23 14:42 ` [PATCH 0/3] gpio: tps65219: Fix TPS6521x GPIO handling Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox