Searched hist:"0 b7c490d7de3255ad1db82000b42f3f021f6dbf0" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpio-i8255.h | diff 0b7c490d7de3255ad1db82000b42f3f021f6dbf0 Tue Dec 27 15:09:43 CET 2022 William Breathitt Gray <william.gray@linaro.org> 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>
|
H A D | gpio-i8255.c | diff 0b7c490d7de3255ad1db82000b42f3f021f6dbf0 Tue Dec 27 15:09:43 CET 2022 William Breathitt Gray <william.gray@linaro.org> 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>
|
H A D | Kconfig | diff 0b7c490d7de3255ad1db82000b42f3f021f6dbf0 Tue Dec 27 15:09:43 CET 2022 William Breathitt Gray <william.gray@linaro.org> 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>
|