Skip to content

serial/gpio: exar: Fixes and support for IOT2000

Jan Kiszka linux-gpio linux-serial lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest10 patches 18 repliesIn review
  2. v511 patches 6 repliesSuperseded
  3. v49 patches 6 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v310 patches18 repliesSuperseded
v26 patches18 repliesSuperseded
v18 patches21 repliesSuperseded

Changes in v6 from the cover letter

- addressed Andy's remarks on "Make set of exported GPIOs configurable"
- dropped "Leave MPIOs as output for Commtech adapters" - merged by Greg

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10gpio-exar/8250-exar: Do not even instantiate a GPIO device for Commtech cardsdrivers/gpio/gpio-exar.c drivers/tty/serial/8250/8250_exar.c+3 -41 reply
2/10gpio-exar/8250-exar: Fix passing in of parent PCI devicedrivers/gpio/gpio-exar.c drivers/tty/serial/8250/8250_exar.c+3 -21 reply
3/10gpio: exar: Allocate resources on behalf of the platform devicedrivers/gpio/gpio-exar.c+2 -21 reply
4/10gpio: exar: Fix iomap requestdrivers/gpio/gpio-exar.c+3 -71 reply
5/10gpio: exar: Fix reading of directions and valuesdrivers/gpio/gpio-exar.c+4 -41 reply
6/10gpio-exar/8250-exar: Rearrange gpiochip parenthooddrivers/gpio/gpio-exar.c drivers/tty/serial/8250/8250_exar.c+3 -10 replies
7/10serial: exar: Factor out platform hooksdrivers/tty/serial/8250/8250_exar.c+27 -51 reply
8/10platform: Accept const propertiesdrivers/base/platform.c include/linux/platform_device.h+2 -20 replies
9/10gpio-exar/8250-exar: Make set of exported GPIOs configurabledrivers/gpio/gpio-exar.c drivers/tty/serial/8250/8250_exar.c+45 -260 replies
10/10serial: exar: Add support for IOT2040 devicedrivers/tty/serial/8250/8250_exar.c+128 -11 reply

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoLinus WalleijGreg Kroah-Hartman
SeriesR-b
1/10R-b A-b A-b
2/10R-b A-b A-b
3/10R-b A-b
4/10R-b A-b
5/10R-b A-b
6/10R-b A-b
7/10R-b A-b
8/10
9/10R-b
10/10R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 00/10] serial/gpio: exar: Fixes and support for IOT2000

This makes the gpio-exar driver usable, which was prevented by a number of fatal bugs, and adds support for the SIMATIC IOT2040 to the 8250-exar driver and, indirectly, to gpio-exar as well. It's a cross-subsystem series, so I'm also cross-posting to the serial and gpio lists.

Changes in v6:
- addressed Andy's remarks on "Make set of exported GPIOs configurable"
- dropped "Leave MPIOs as output for Commtech adapters" - merged by Greg

Jan

Jan Kiszka (10):
gpio-exar/8250-exar: Do not even instantiate a GPIO device for
Commtech cards
gpio-exar/8250-exar: Fix passing in of parent PCI device
gpio: exar: Allocate resources on behalf of the platform device
gpio: exar: Fix iomap request
gpio: exar: Fix reading of directions and values gpio-exar/8250-exar: Rearrange gpiochip parenthood
serial: exar: Factor out platform hooks
platform: Accept const properties gpio-exar/8250-exar: Make set of exported GPIOs configurable
serial: exar: Add support for IOT2040 device

 drivers/base/platform.c             |   2 +-
 drivers/gpio/gpio-exar.c            |  79 ++++++++--------
 drivers/tty/serial/8250/8250_exar.c | 173 ++++++++++++++++++++++++++++++++++--
 include/linux/platform_device.h     |   2 +-
 4 files changed, 211 insertions(+), 45 deletions(-)
Signature · 1 line
2.12.3