summaryrefslogtreecommitdiff
path: root/include/linux/gpio/driver.h
diff options
context:
space:
mode:
authorRadu Rendec <radu.rendec@gmail.com>2023-01-06 19:04:19 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-01-30 17:55:29 +0300
commit64d2f4594e33b84d4e091efb8b2c3282fe82e72f (patch)
treef6e247bf417e97f31ec99b4f14a1f18d86913c5e /include/linux/gpio/driver.h
parent17a5f49b49fdd9a5b8b2ed6a30d0b8efc9b1e9b9 (diff)
downloadlinux-64d2f4594e33b84d4e091efb8b2c3282fe82e72f.tar.xz
gpio: pcf857x: Implement get_multiple/set_multiple methods
This change allows the GPIO core to read/change multiple pins in a single driver call and subsequent I2C transfer. It helps a lot with PCF857x devices, since their I2C protocol always reads/changes all existing pins anyway. Therefore, when the GPIO client code does a bulk operation on multiple pins, the driver makes a single I2C transfer. Signed-off-by: Radu Rendec <radu.rendec@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/linux/gpio/driver.h')
0 files changed, 0 insertions, 0 deletions