Hi Philip,

On Fri, 25 Feb 2022 at 06:56, Philip Oberfichtner <[email protected]> wrote:
>
> Use the MEMA - MEMD registers on the PFUZE100 as bootcount
> registers.
>
> Based on work from Heiko Schocher <[email protected]>.
> Signed-off-by: Philip Oberfichtner <[email protected]>
>
> ---
>
>  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

Reply via email to