patch #10031: linuxspi: Support GPIO uAPI v2

Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_reset_mcu, linuxspi_open): Since Linux
v5.10 GPIO ABI Version 1 is optional and depends on
CONFIG_GPIO_CDEV_V1.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1495 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2021-11-27 15:51:24 +00:00
parent bd4f46b1ff
commit 18fe8ef834
3 changed files with 40 additions and 2 deletions

1
NEWS
View File

@@ -121,6 +121,7 @@ Current:
patch #10028: linuxspi: close() only when necessary
patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
patch #10030: linuxspi: Support inverted GPIO pin
patch #10031: linuxspi: Support GPIO uAPI v2
* Internals:
- New avrdude.conf keyword "family_id", used to verify SIB attributes