
Hi,
Add driver for mcp230xx devices, which are quite common.
Changes since PATCHv1: * add new patch adding dm_i2c_reg_clrset() as suggested by Simon Glass * Use | instead of + to build device register (resulting number is the same) * Properly handle GPIOD_IS_OUT_ACTIVE flag * Use bool for local variables in mcp230xx_set_flags() * Add Reviewed-by from Simon Glass
-- Sebastian
Sebastian Reichel (2): i2c: add dm_i2c_reg_clrset gpio: mcp230xx: Introduce new driver
drivers/gpio/Kconfig | 10 ++ drivers/gpio/Makefile | 1 + drivers/gpio/mcp230xx_gpio.c | 235 +++++++++++++++++++++++++++++++++++ drivers/i2c/i2c-uclass.c | 15 +++ include/i2c.h | 14 +++ test/dm/i2c.c | 29 +++++ 6 files changed, 304 insertions(+) create mode 100644 drivers/gpio/mcp230xx_gpio.c