summaryrefslogtreecommitdiff
path: root/lib/utils/gpio/fdt_gpio_drivers.carray
AgeCommit message (Collapse)AuthorFilesLines
2024-11-28lib: utils/gpio: Use fdt_driver for initializationSamuel Holland1-1/+3
FDT gpio drivers have an extra .xlate operation, so they need to embed the `struct fdt_driver` inside the subsystem-specific type. The gpio subsystem always initializes the driver for a specific DT node. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
2022-05-13lib: utils/gpio: Generate FDT gpio driver list at compile-timeAnup Patel1-0/+3
Instead of having FDT gpio driver list hard-coded in the C source, we generate it using carray.sh at compile-time. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>