[PATCH 0/4] reboot SiFive Unmatched via PMIC

Nikita Shubin nikita.shubin at maquefel.me
Fri Sep 24 09:36:26 PDT 2021


On Fri, 24 Sep 2021 21:39:09 +0530
Anup Patel <anup at brainfault.org> wrote:

> On Fri, Sep 24, 2021 at 9:36 PM Nikita Shubin
> <nikita.shubin at maquefel.me> wrote:
> >
> > On Fri, 24 Sep 2021 16:02:07 +0000
> > Anup Patel <Anup.Patel at wdc.com> wrote:
> >  
> > > We need to improve sbi_system.h APIs so that platform/drivers can
> > > register callback for particular reset types. This will help reset
> > > types provided different reset drivers and we can use GPIO (for
> > > poweroff)
> > > + DA9063 (for reset) on SiFive Unmatched.  
> >
> > It's hard to disagree with this. With no one objecting - i am eager
> > to look into this.  
> 
> Sure, go ahead and include this as separate patches in your next
> revision. You will have to update existing reset drivers as well.
> 
> >
> > Moreover i noticed that with no reset available at all the boot
> > fails with no visible objections.  
> 
> Can you elaborate further ?

I noticed that if no reset driver is present at all the board won't
boot, but looking into the code - may be it's just in case drv->init
return an error, i will look further into it.

Yours,
Nikita Shubin

> 
> >
> > Yours,
> > Nikita Shubin
> >
> >
> > --
> > opensbi mailing list
> > opensbi at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/opensbi  
> 
> Regards,
> Anup




More information about the opensbi mailing list