OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nikita Shubin <nikita.shubin@maquefel.me>
To: opensbi@lists.infradead.org
Subject: [PATCH 0/4] reboot SiFive Unmatched via PMIC
Date: Tue, 28 Sep 2021 13:32:50 +0300	[thread overview]
Message-ID: <20210928133250.086db2c4@redslave.neermore.group> (raw)
In-Reply-To: <05f7cf09-a0a4-0f53-6e82-5d0873cf430f@canonical.com>

Hello Heinrich,

On Sat, 25 Sep 2021 10:11:29 +0200
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> wrote:

> At some point we will have to decide on a configuration system to
> enable only those drivers that are needed for the current hardware. 
> Unfortunately we cannot reuse Linux Kconfig as our license is BSD-2.
> 

Actually KConfig license does not apply to the code it is building and
configuring. 


> Currently if a reset driver fails it simply ends up hanging in an 
> endless loop.
> 
> The SiFive Unmatched will use GPIO for poweroff and I2C for reset.
> 
> We need the ability to iterate through multiple reset drivers. If 
> resetting is not possible, we should return to the caller with an
> error code.

How it is supposed to return to Linux kernel reset handler for example
and for what ? Could you please explain in detail ?

Yours,
Nikita Shubin



  reply	other threads:[~2021-09-28 10:32 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 11:33 [PATCH 0/4] reboot SiFive Unmatched via PMIC Nikita Shubin
2021-09-24 11:33 ` [PATCH 1/4] lib: utils/i2c: Add generic I2C configuration library Nikita Shubin
2021-09-25  4:19   ` Xiang W
2021-09-28 11:07     ` Nikita Shubin
2021-09-27 15:41   ` Alexandre ghiti
2021-09-28 10:51     ` Nikita Shubin
2021-09-28 11:43       ` Alexandre Ghiti
2021-09-24 11:33 ` [PATCH 2/4] lib: utils/gpio: Add simple FDT based I2C framework Nikita Shubin
2021-09-25  4:39   ` Xiang W
2021-09-27 15:42   ` Alexandre ghiti
2021-09-24 11:33 ` [PATCH 3/4] lib: utils/gpio: Add minimal SiFive I2C driver Nikita Shubin
2021-09-27 15:42   ` Alexandre ghiti
2021-09-24 11:33 ` [PATCH 4/4] lib: utils/reset: Add generic da9063 reset driver Nikita Shubin
2021-09-27 15:42   ` Alexandre ghiti
2021-09-28 10:56     ` Nikita Shubin
2021-09-24 15:54 ` [PATCH 0/4] reboot SiFive Unmatched via PMIC Jessica Clarke
2021-09-24 16:02   ` Anup Patel
2021-09-24 16:06     ` Nikita Shubin
2021-09-24 16:09       ` Anup Patel
2021-09-24 16:20         ` Nikita Shubin
2021-09-24 16:36         ` Nikita Shubin
2021-09-25  1:10 ` Bin Meng
2021-09-25  3:56   ` Anup Patel
2021-09-25  4:45     ` Bin Meng
2021-09-25  6:34       ` Anup Patel
2021-09-25  8:11   ` Heinrich Schuchardt
2021-09-28 10:32     ` Nikita Shubin [this message]
2021-09-29 12:46     ` Anup Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210928133250.086db2c4@redslave.neermore.group \
    --to=nikita.shubin@maquefel.me \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox