The STM32MP157C-DK2 has a PMIC on board. This series adds basic support for it as well as a watchdog driver to validate it's working. v1 -> v2: - replaced debug() with dev_dbg() - ceased modifying struct i2c_msg::buf and i2c_msg::len where noted - ported over i2c_parse_fw_timings helper All suggested by Sascha Ahmad Fatoum (4): i2c: port Linux i2c_parse_fw_timings i2c: add stm32f7 I2C adapter driver mfd: add support for STPMIC1 watchdog: add support for STPMIC1 integrated watchdog drivers/i2c/busses/Kconfig | 5 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-stm32.c | 863 +++++++++++++++++++++++++++++++++ drivers/i2c/i2c.c | 55 +++ drivers/mfd/Kconfig | 6 + drivers/mfd/Makefile | 1 + drivers/mfd/stpmic1.c | 99 ++++ drivers/watchdog/Kconfig | 7 + drivers/watchdog/Makefile | 1 + drivers/watchdog/stpmic1_wdt.c | 223 +++++++++ include/i2c/i2c.h | 20 + 11 files changed, 1281 insertions(+) create mode 100644 drivers/i2c/busses/i2c-stm32.c create mode 100644 drivers/mfd/stpmic1.c create mode 100644 drivers/watchdog/stpmic1_wdt.c -- 2.23.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox