Re: [PATCH v4 2/3] reboot-mode: read the boot mode from GPIOs status

2021-07-23 Thread Tom Rini
On Thu, Jun 10, 2021 at 04:56:44PM +0300, Nandor Han wrote: > A use case for controlling the boot mode is when the user wants > to control the device boot by pushing a button without needing to > go in user-space. > > Add a new backed for reboot mode where GPIOs are used to control the >

Re: [PATCH v4 2/3] reboot-mode: read the boot mode from GPIOs status

2021-06-26 Thread Simon Glass
On Thu, 10 Jun 2021 at 07:57, Nandor Han wrote: > > A use case for controlling the boot mode is when the user wants > to control the device boot by pushing a button without needing to > go in user-space. > > Add a new backed for reboot mode where GPIOs are used to control the > reboot-mode. The

[PATCH v4 2/3] reboot-mode: read the boot mode from GPIOs status

2021-06-10 Thread Nandor Han
A use case for controlling the boot mode is when the user wants to control the device boot by pushing a button without needing to go in user-space. Add a new backed for reboot mode where GPIOs are used to control the reboot-mode. The driver is able to scan a predefined list of GPIOs and return