mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/4] stm32mp: add support for STPMIC1
@ 2019-09-09  9:15 Ahmad Fatoum
  2019-09-09  9:15 ` [PATCH v2 1/4] i2c: port Linux i2c_parse_fw_timings Ahmad Fatoum
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2019-09-09  9:15 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-09 13:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09  9:15 [PATCH v2 0/4] stm32mp: add support for STPMIC1 Ahmad Fatoum
2019-09-09  9:15 ` [PATCH v2 1/4] i2c: port Linux i2c_parse_fw_timings Ahmad Fatoum
2019-09-09 13:26   ` [PATCH] fixup! " Ahmad Fatoum
2019-09-09  9:15 ` [PATCH v2 2/4] i2c: add stm32f7 I2C adapter driver Ahmad Fatoum
2019-09-09  9:15 ` [PATCH v2 3/4] mfd: add support for STPMIC1 Ahmad Fatoum
2019-09-09  9:15 ` [PATCH v2 4/4] watchdog: add support for STPMIC1 integrated watchdog Ahmad Fatoum
2019-09-09 13:44 ` [PATCH v2 0/4] stm32mp: add support for STPMIC1 Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox