Skip to content
Commit 64d2f459 authored by Radu Rendec's avatar Radu Rendec Committed by Bartosz Golaszewski
Browse files

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: default avatarRadu Rendec <radu.rendec@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 17a5f49b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment