Files
linux/drivers
Hugo Villeneuve 2aa8ccab5a gpio: pca953x: use regmap_update_bits() to improve performance
Using regmap_update_bits() allows to reduce the number of I2C transfers
when updating bits that haven't changed on non-volatile registers.

For example on a PCAL6416, when changing a GPIO direction from input to
output, the number of I2C transfers can be reduced from 4 to just 1 if
the pull resistors configuration hasn't changed and the output value
is the same as before.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20250714133730.6353-1-hugo@hugovil.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-07-15 16:29:37 +02:00
..
2025-05-30 20:21:36 +02:00
2025-07-01 21:50:51 +01:00
2025-05-19 15:37:53 +05:30
2025-07-01 21:50:51 +01:00
2025-05-27 10:27:54 -04:00