mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] gpio: Add gpio latch driver
@ 2022-11-07 14:45 Sascha Hauer
  2022-11-07 14:45 ` [PATCH 1/4] bitmap: Implement bitmap_*zalloc() Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2022-11-07 14:45 UTC (permalink / raw)
  To: Barebox List

This adds a gpio-latch driver recently added to Linux, see
https://lore.kernel.org/lkml/20221007114647.2723457-2-s.hauer@pengutronix.de/T/

This is basically the same driver adjusted for barebox. As a preparation
we have to add some bitmap helpers needed for the driver.

Sascha Hauer (4):
  bitmap: Implement bitmap_*zalloc()
  bitops: include linux/types.h
  bitops: implement assign_bit()
  gpio: Add gpio latch driver

 drivers/gpio/Kconfig      |   6 ++
 drivers/gpio/Makefile     |   1 +
 drivers/gpio/gpio-latch.c | 195 ++++++++++++++++++++++++++++++++++++++
 include/linux/bitmap.h    |   7 ++
 include/linux/bitops.h    |  16 +++-
 lib/bitmap.c              |  10 ++
 6 files changed, 234 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpio/gpio-latch.c

-- 
2.30.2




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

end of thread, other threads:[~2022-11-07 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 14:45 [PATCH 0/4] gpio: Add gpio latch driver Sascha Hauer
2022-11-07 14:45 ` [PATCH 1/4] bitmap: Implement bitmap_*zalloc() Sascha Hauer
2022-11-07 14:45 ` [PATCH 2/4] bitops: include linux/types.h Sascha Hauer
2022-11-07 14:45 ` [PATCH 3/4] bitops: implement assign_bit() Sascha Hauer
2022-11-07 14:45 ` [PATCH 4/4] gpio: Add gpio latch driver Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox