drivers: mmio32: update to use new GPIO API

As the mmio32 is more of a library than a proper driver, just implement
the new port functions and have pin_interrupt_configure marked pretty
much as not supported.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-10-02 21:19:41 -05:00 committed by Carles Cufí
commit 8f4da10356
2 changed files with 113 additions and 16 deletions

View file

@ -20,7 +20,6 @@ struct gpio_mmio32_context {
/* gpio_driver_data needs to be first */
struct gpio_driver_data common;
const struct gpio_mmio32_config *config;
u32_t invert; /* Mask of 'reg' bits that should be inverted */
};
int gpio_mmio32_init(struct device *dev);