I can’t find the usual GPIO API functions like gpio_request(...)
available for use within u-boot source code (e.g. in the board file board/toradex/apalis-tk1/apalis-tk1.c
for use in “board_init” function etc., the board file references #include <asm/gpio.h>
→ arch/arm/include/asm/gpio.h
→ arch/arm/include/asm/arch-tegra124/gpio.h
). Where can I find the header file which specifies the available API for the TK1?
Where can I find the header file which specifies the available API for the TK1?
U-Boot GPIO API is generic, have a look at this.