Migrate the PCIe-IDIO-24 and WS16C48 GPIO drivers
authorMark Brown <broonie@kernel.org>
Wed, 5 Apr 2023 20:56:44 +0000 (21:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2023 20:56:44 +0000 (21:56 +0100)
commit383b3232732dca5b084a8f90b529d53c18b03e74
treed961c746a63e143cae930153f737757129923bbc
parentfac79bad889bb167a37492181646992c8c48903b
parent7697c64b9e4908196f0ae68aa6d423dd40607973
Migrate the PCIe-IDIO-24 and WS16C48 GPIO drivers

Merge series from William Breathitt Gray <william.gray@linaro.org>:

The regmap API supports IO port accessors so we can take advantage of
regmap abstractions rather than handling access to the device registers
directly in the driver.

A patch to pass irq_drv_data as a parameter for struct regmap_irq_chip
set_type_config() is included. This is needed by the
idio_24_set_type_config() and ws16c48_set_type_config() callbacks in
order to update the type configuration on their respective devices.
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h