diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-06-19 06:50:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-24 08:53:47 +0200 |
commit | ad256e2499dbc2ec462318dfe9b30047f31db8bb (patch) | |
tree | 6dc342629feab1e5dafc39c0ce33e140f27f760f /common | |
parent | 9cb9eca7b84d633531e17aceeeaf25dff6b3e489 (diff) | |
download | barebox-ad256e2499dbc2ec462318dfe9b30047f31db8bb.tar.gz barebox-ad256e2499dbc2ec462318dfe9b30047f31db8bb.tar.xz |
misc: add power sequencing driver for initializing StarFive peripherals
There will likely not be a use case for having neural network
accelerator driver support within barebox. Still the driver requires a
reset sequence, which is not yet supported by vendor kernel's or known
forks. Until Linux can take care of this itself, add a simple driver
that gets some of the peripherals out of reset.
There also enables unconditionally some of the clocks that the vendor
kernel may depend on. Hopefully, in future, the whole driver can be
dropped when the kernel starts to do clock and reset control itself.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210619045055.779-29-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions