[PATCH 4/4] lib: utils/reset: Add generic da9063 reset driver

Nikita Shubin nikita.shubin at maquefel.me
Tue Sep 28 03:56:24 PDT 2021


Hello Alexander!

On Mon, 27 Sep 2021 17:42:24 +0200
Alexandre ghiti <alex at ghiti.fr> wrote:

> On 9/24/21 1:33 PM, Nikita Shubin wrote:
> > From: Nikita Shubin <n.shubin at yadro.com>
> >
> > da9063 PMIC can be used to reset/shutdown the
> > Sifive Unmatched board.
> >
> > shutdown is done simply by writing SHUDOWN bit to
> > DA9063_REG_CONTROL_F register.  
> 
> 
> s/SHUDOWN/SHUTDOWN
> 
> 
> >
> > reset via setting WAKEUP bit in DA9063_REG_CONTROL_F
> > register followed by masking POWER and POWER1 domains
> > and setting STANDBY bit in DA9063_REG_CONTROL_A,
> > originally discovered by Alexandre Ghiti on linux-riscv
> > maillists.  
> 
> 
> Someone from Dialog answered this patch and will get back to us after
> talking to the hardware team.

You mean Adam Thomson - right ? Looking forward to his answer. Anyway
it seems that reseting via watchdog is a more reliable way to him. May
this is really a better way.

Yours,
Nikita Shubin




More information about the opensbi mailing list