linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] gpio: pcf857x: Implement get_multiple/set_multiple methods
@ 2023-01-06 16:04 Radu Rendec
  2023-01-06 16:04 ` [PATCH v2 1/3] gpio: pcf857x: Replace 'unsigned' with 'unsigned int' Radu Rendec
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Radu Rendec @ 2023-01-06 16:04 UTC (permalink / raw)
  To: linux-gpio; +Cc: Linus Walleij, Bartosz Golaszewski

The first two patches are just cosmetic changes. The actual changes are
in the third patch. They are all bundled together in a patch series just
because the third patch doesn't apply cleanly without the other two.

Change description from the third patch:

  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.

Radu Rendec (3):
  gpio: pcf857x: Replace 'unsigned' with 'unsigned int'
  gpio: pcf857x: Fix indentation of variable declarations
  gpio: pcf857x: Implement get_multiple/set_multiple methods

 drivers/gpio/gpio-pcf857x.c | 79 +++++++++++++++++++++++++------------
 1 file changed, 54 insertions(+), 25 deletions(-)

-- 
2.39.0


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

end of thread, other threads:[~2023-01-11 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 16:04 [PATCH v2 0/3] gpio: pcf857x: Implement get_multiple/set_multiple methods Radu Rendec
2023-01-06 16:04 ` [PATCH v2 1/3] gpio: pcf857x: Replace 'unsigned' with 'unsigned int' Radu Rendec
2023-01-06 16:04 ` [PATCH v2 2/3] gpio: pcf857x: Fix indentation of variable declarations Radu Rendec
2023-01-06 16:04 ` [PATCH v2 3/3] gpio: pcf857x: Implement get_multiple/set_multiple methods Radu Rendec
2023-01-11  9:58 ` [PATCH v2 0/3] " Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).