mbox series

[v2,0/2] Add pmic bootcount driver

Message ID 20220318110438.2863532-1-pro@denx.de
Headers show
Series Add pmic bootcount driver | expand

Message

Philip Oberfichtner March 18, 2022, 11:04 a.m. UTC
This series adds a new bootcount driver. The required register definitions
and the actual driver are separated in two patches.

Changes in v2:
- Migrated bootcount driver to driver model
- Introduced error handling. Previously errors were ignored.

Philip Oberfichtner (2):
  power: pfuze100: Add MEMx register definitions
  bootcount: Add pmic pfuze100 bootcount driver

 drivers/bootcount/Kconfig         |   7 ++
 drivers/bootcount/Makefile        |   1 +
 drivers/bootcount/pmic_pfuze100.c | 161 ++++++++++++++++++++++++++++++
 include/power/pfuze100_pmic.h     |   5 +
 4 files changed, 174 insertions(+)
 create mode 100644 drivers/bootcount/pmic_pfuze100.c