diff options
author | Anup Patel <anup.patel@wdc.com> | 2021-07-13 11:23:43 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-17 13:41:17 +0530 |
commit | c14f1fe0dfd96d7be1ed2abba0a873110cdbcc9d (patch) | |
tree | 2de83bb9c9ed98d47e0d3672535489b541a3044e /lib/utils/gpio/objects.mk | |
parent | 36b8effe4a07bbf476deca6c8769529c69078f08 (diff) |
lib: utils/gpio: Add simple FDT based GPIO framework
We add a simple FDT based GPIO framework which is built on top
of generic GPIO library. The phandle of FDT GPIO chip DT node
is treated as unique GPIO chip ID required by the generic GPIO
library. The FDT based GPIO chip drivers will be probed on-demand
from fdt_gpio_pin_get() called by the GPIO client drivers.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/utils/gpio/objects.mk')
-rw-r--r-- | lib/utils/gpio/objects.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/gpio/objects.mk b/lib/utils/gpio/objects.mk index e99a895..dade45e 100644 --- a/lib/utils/gpio/objects.mk +++ b/lib/utils/gpio/objects.mk @@ -7,4 +7,5 @@ # Anup Patel <anup.patel@wdc.com> # +libsbiutils-objs-y += gpio/fdt_gpio.o libsbiutils-objs-y += gpio/gpio.o |