From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Shubin Date: Fri, 24 Sep 2021 19:36:26 +0300 Subject: [PATCH 0/4] reboot SiFive Unmatched via PMIC In-Reply-To: References: <20210924113347.3576-1-nikita.shubin@maquefel.me> <20210924190641.0da298f4@redslave.neermore.group> Message-ID: <20210924193626.3058099c@redslave.neermore.group> List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, 24 Sep 2021 21:39:09 +0530 Anup Patel wrote: > On Fri, Sep 24, 2021 at 9:36 PM Nikita Shubin > wrote: > > > > On Fri, 24 Sep 2021 16:02:07 +0000 > > Anup Patel 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