85b2cbaca6
This patch allows user to simply select which GPIOs he wants to use and access them via /dev/gpio_a0 or similar device with standard gpio driver. By default gpio names match pin names printed on the board. So when enabling A3 pin, it will show as /dev/gpio_a3 in runtime. This name can be changed in kconfig. User can also select pin function (input, output, interrupt) as well as standard pin settings like, pull up/down, output type pushpull/open drain etc. All pins that are exposed via boards goldpins are listed in Kconfig. Extra pins that are supported by chiip but are not exposed for easy usage are not listed. To have this nice Kconfig configuration and for things to be easily debugable/understandable it requires code to have big Kconfig and header file with all possible definitions Because of file sizes I decided to split gpio related kconfig and header into separate files. Otherwise it would really make original files hard to read and find anything. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> |
||
---|---|---|
.. | ||
a1x/pcduino-a10 | ||
am335x/beaglebone-black | ||
at32/at32f437-mini | ||
c5471/c5471evm | ||
cxd56xx | ||
dm320/ntosd-dm320 | ||
efm32 | ||
eoss3/quickfeather | ||
fvp-v8r-aarch32/fvp-armv8r-aarch32 | ||
gd32f4 | ||
imx6/sabre-6quad | ||
imxrt | ||
kinetis | ||
kl | ||
lc823450/lc823450-xgevk | ||
lpc17xx_40xx | ||
lpc31xx | ||
lpc43xx | ||
lpc54xx/lpcxpresso-lpc54628 | ||
lpc214x | ||
lpc2378/olimex-lpc2378 | ||
max326xx/max32660-evsys | ||
moxart/moxa | ||
mx8mp/verdin-mx8mp | ||
nrf52 | ||
nrf53 | ||
nrf91 | ||
nuc1xx/nutiny-nuc120 | ||
phy62xx/phy6222 | ||
qemu/qemu-armv7a | ||
rp2040 | ||
s32k1xx | ||
s32k3xx | ||
sam34 | ||
sama5 | ||
samd2l2 | ||
samd5e5 | ||
samv7 | ||
stm32 | ||
stm32f0l0g0 | ||
stm32f7 | ||
stm32h7 | ||
stm32l4 | ||
stm32l5 | ||
stm32u5 | ||
stm32wb | ||
stm32wl5/nucleo-wl55jc | ||
str71x/olimex-strp711 | ||
tiva | ||
tlsr82/tlsr8278adk80d | ||
tms570 | ||
xmc4 |