linux: Support spidev4 through spidev7
The rpi4 has additional spi devices. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
c84956befe
commit
8cf1b51223
|
@ -23,6 +23,10 @@ DECL_ENUMERATION_RANGE("spi_bus", "spidev0.0", SPIBUS(0, 0), 16);
|
||||||
DECL_ENUMERATION_RANGE("spi_bus", "spidev1.0", SPIBUS(1, 0), 16);
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev1.0", SPIBUS(1, 0), 16);
|
||||||
DECL_ENUMERATION_RANGE("spi_bus", "spidev2.0", SPIBUS(2, 0), 16);
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev2.0", SPIBUS(2, 0), 16);
|
||||||
DECL_ENUMERATION_RANGE("spi_bus", "spidev3.0", SPIBUS(3, 0), 16);
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev3.0", SPIBUS(3, 0), 16);
|
||||||
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev4.0", SPIBUS(4, 0), 16);
|
||||||
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev5.0", SPIBUS(5, 0), 16);
|
||||||
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev6.0", SPIBUS(6, 0), 16);
|
||||||
|
DECL_ENUMERATION_RANGE("spi_bus", "spidev7.0", SPIBUS(7, 0), 16);
|
||||||
|
|
||||||
struct spi_s {
|
struct spi_s {
|
||||||
uint32_t bus, dev;
|
uint32_t bus, dev;
|
||||||
|
|
Loading…
Reference in New Issue