All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] board: sifive: unmatched: reset multiple devices in SPL
@ 2021-07-08  1:08 Vincent Chen
  2021-07-08  1:08 ` [PATCH 1/2] board: sifive: unmatched: refine GEMGXL initialized function " Vincent Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vincent Chen @ 2021-07-08  1:08 UTC (permalink / raw)
  To: green.wan, rick, bmeng.cn, ycliang, u-boot; +Cc: vincent.chen

In SiFive unmatched board, the reset of the USB hub, PCIe-USB bridge, and
ULPI rely on the power-cycling. However, sometimes the rebooting is without
power-cycling. To ensure these devices will be reset in each rebooting,
here always reset these devices in the spl_board_init_f().

In addition, because the reset pint of these four devices incluing GEMGXL
connects to the GPIO, the 1st patch creates a new wrapper,
spl_reset_device_by_gpio(), to address the GPIO operation during the reset.

Vincent Chen (2):
  board: sifive: unmatched: refine GEMGXL initialized function in SPL
  board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI
    device in SPL

 board/sifive/unmatched/spl.c | 90 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 73 insertions(+), 17 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-21 14:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  1:08 [PATCH 0/2] board: sifive: unmatched: reset multiple devices in SPL Vincent Chen
2021-07-08  1:08 ` [PATCH 1/2] board: sifive: unmatched: refine GEMGXL initialized function " Vincent Chen
2021-07-21 14:23   ` Leo Liang
2021-07-08  1:08 ` [PATCH 2/2] board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI device " Vincent Chen
2021-07-21 14:24   ` Leo Liang
2021-07-20  7:57 ` [PATCH 0/2] board: sifive: unmatched: reset multiple devices " Vincent Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.