Files
Karl Mehltretter 270437f3fe gpio: tps65219: Fix TPS65214 GPIO direction programming
GPIO_LINE_DIRECTION_OUT and GPIO_LINE_DIRECTION_IN have the values 0
and 1, respectively, while the TPS65214 GPIO_CONFIG field is BIT(1).
regmap_update_bits() masks the supplied value, so passing either
direction value clears the field and selects input mode.

Translate the GPIO direction to the register encoding used by
tps65214_gpio_get_direction(), setting GPIO_CONFIG for output and
clearing it for input.

Fixes: 1b6ab07c0c ("gpio: tps65219: Add support for TI TPS65214 PMIC")
Cc: [email protected]
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
2026-09-23 16:42:01 +02:00
..
…
2026-08-10 12:55:34 +02:00
2026-08-10 12:55:34 +02:00
2026-08-10 12:55:34 +02:00
2026-08-10 12:55:34 +02:00
2025-11-25 14:10:07 +01:00
2026-03-16 09:51:05 +01:00