On Fri, 2022-03-11 at 19:25 -0700, Simon Glass wrote: > Hi Philip, > > On Fri, 25 Feb 2022 at 06:56, Philip Oberfichtner <p...@denx.de> > wrote: > > Use the MEMA - MEMD registers on the PFUZE100 as bootcount > > registers. > > > > Based on work from Heiko Schocher <h...@denx.de>. > > Signed-off-by: Philip Oberfichtner <p...@denx.de> > > > > --- > > > > drivers/bootcount/Kconfig | 7 ++ > > drivers/bootcount/Makefile | 1 + > > drivers/bootcount/bootcount_pmic_pfuze100.c | 83 > > +++++++++++++++++++++ > > 3 files changed, 91 insertions(+) > > create mode 100644 drivers/bootcount/bootcount_pmic_pfuze100.c > > This should use driver model (DM_PMIC). Please don't add new features > to unmigrated code. > > Regards, > Simon
Hi Simon, thanks for the feedback. I sent a V2 using DM. Best regardsPhilip