From c14f1fe0dfd96d7be1ed2abba0a873110cdbcc9d Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Tue, 13 Jul 2021 11:23:43 +0800 Subject: 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 Reviewed-by: Atish Patra --- lib/utils/gpio/objects.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/utils/gpio/objects.mk') diff --git a/lib/utils/gpio/objects.mk b/lib/utils/gpio/objects.mk index e99a895c..dade45e8 100644 --- a/lib/utils/gpio/objects.mk +++ b/lib/utils/gpio/objects.mk @@ -7,4 +7,5 @@ # Anup Patel # +libsbiutils-objs-y += gpio/fdt_gpio.o libsbiutils-objs-y += gpio/gpio.o -- cgit v1.3.1