diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2022-12-27 15:09:43 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-01-30 15:55:28 +0100 |
commit | 0b7c490d7de3255ad1db82000b42f3f021f6dbf0 (patch) | |
tree | dc56d7f84a121be95d2a249c1cd8ae4b9f96bf1d /drivers/irqchip | |
parent | gpio: 104-idi-48: Migrate to gpio-regmap API (diff) | |
download | linux-0b7c490d7de3255ad1db82000b42f3f021f6dbf0.tar.xz linux-0b7c490d7de3255ad1db82000b42f3f021f6dbf0.zip |
gpio: i8255: Migrate to gpio-regmap API
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.
By leveraging the gpio-regmap API, the i8255 library is reduced to
simply a devm_i8255_regmap_register() function, a configuration
structure struct i8255_regmap_config, and a helper macro
i8255_volatile_regmap_range() provided to simplify volatile PPI register
hinting for the regmap.
Legacy functions and code will be removed once all consumers have
migrated to the new i8255 library interface.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/irqchip')
0 files changed, 0 insertions, 0 deletions