lib: utils/gpio: Add minimal SiFive GPIO driver

We add a minimal SiFive GPIO driver so that we can do GPIO based
system power-off and reset.

Signed-off-by: Green Wan <green.wan@sifive.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Green Wan
2021-07-13 11:23:44 +08:00
committed by Anup Patel
parent c14f1fe0df
commit 4c3df2ab96
3 changed files with 109 additions and 0 deletions

View File

@@ -8,4 +8,5 @@
#
libsbiutils-objs-y += gpio/fdt_gpio.o
libsbiutils-objs-y += gpio/fdt_gpio_sifive.o
libsbiutils-objs-y += gpio/gpio.o