Re: [RFC PATCH v2 2/3] regmap: mmio: allow reset control in a MMIO regmap
From: Jeremy Kerr
Date: Sat Dec 10 2022 - 21:23:46 EST
Hi Mark,
> > A syscon device may need to be taken out of reset before functioning
> > - this change adds a facility to attach a reset control to a mmio
> > regmap, and performs the necessary deassert/assert operations on the
> > reset controller on attach/detach.
>
> Managment of reset feels like something that should be done at a
> higher level - typically reset also implies losing all the register
> contents which means it should be somewhere above the cache layer.
Yep, that makes sense. I'll rework to do the reset controller handling
in the syscon layer instead - unless there are any objections to that?
Cheers,
Jeremy