Skip to content

Utilize iomap interface for PC104 and friends

William Breathitt Gray linux-gpio linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8counter: 104-quad-8: Utilize iomap interfacedrivers/counter/104-quad-8.c+89 -800 replies
2/8gpio: 104-dio-48e: Utilize iomap interfacedrivers/gpio/gpio-104-dio-48e.c+33 -300 replies
3/8gpio: 104-idi-48: Utilize iomap interfacedrivers/gpio/gpio-104-idi-48.c+15 -120 replies
4/8gpio: 104-idio-16: Utilize iomap interfacedrivers/gpio/gpio-104-idio-16.c+18 -150 replies
5/8gpio: gpio-mm: Utilize iomap interfacedrivers/gpio/gpio-gpio-mm.c+22 -210 replies
6/8gpio: ws16c48: Utilize iomap interfacedrivers/gpio/gpio-ws16c48.c+34 -310 replies
7/8iio: adc: stx104: Utilize iomap interfacedrivers/iio/adc/stx104.c+29 -270 replies
8/8iio: dac: cio-dac: Utilize iomap interfacedrivers/iio/dac/cio-dac.c+8 -60 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Utilize iomap interface for PC104 and friends

PC104 cards and similar devices do not need to access I/O ports directly via inb()/outb() and can instead use the more typical I/O memory ioread8()/iowrite8() accessor calls by first calling ioport_map(). This patchset converts the relevant PC104/ISA card drivers to do such. With these drivers now utilizing I/O memory accessor calls, work can be done to consolidate some similar devices (e.g. 104-idio-16, pci-idio-16, etc.) into a unified driver in a future patchset.

This patchset spawned from a suggestion made in another thread titled "gpio: add HAS_IOPORT dependencies":
https://lore.kernel.org/all/[email protected]/

William Breathitt Gray (8):
counter: 104-quad-8: Utilize iomap interface
gpio: 104-dio-48e: Utilize iomap interface
gpio: 104-idi-48: Utilize iomap interface
gpio: 104-idio-16: Utilize iomap interface
gpio: gpio-mm: Utilize iomap interface
gpio: ws16c48: Utilize iomap interface
iio: adc: stx104: Utilize iomap interface
iio: dac: cio-dac: Utilize iomap interface

 drivers/counter/104-quad-8.c    | 169 +++++++++++++++++---------------
 drivers/gpio/gpio-104-dio-48e.c |  63 ++++++------
 drivers/gpio/gpio-104-idi-48.c  |  27 ++---
 drivers/gpio/gpio-104-idio-16.c |  33 ++++---
 drivers/gpio/gpio-gpio-mm.c     |  43 ++++----
 drivers/gpio/gpio-ws16c48.c     |  65 ++++++------
 drivers/iio/adc/stx104.c        |  56 ++++++-----
 drivers/iio/dac/cio-dac.c       |  14 +--
 8 files changed, 248 insertions(+), 222 deletions(-)

base-commit: ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e

Signature · 1 line
2.35.3