[PATCH v2 0/2] Add pmic bootcount driver

Philip Oberfichtner pro at denx.de
Fri Mar 18 12:04:36 CET 2022


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

-- 
2.34.1



More information about the U-Boot mailing list