Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - S index
The Linux kernel configuration item CONFIG_SPI_GPIO
:
CONFIG_GPIOLIB || CONFIG_COMPILE_TEST
spi-gpio
, spi_gpio
This simple GPIO bitbanging SPI master uses the arch-neutral GPIO interface to manage MOSI, MISO, SCK, and chipselect signals. SPI slaves connected to a bus using this driver are configured as usual, except that the spi_board_info.controller_data holds the GPIO number for the chipselect used by this controller driver.
Note that this driver often won't achieve even 1 Mbit/sec speeds, making it unusually slow for SPI. If your platform can inline GPIO operations, you should be able to leverage that for better speed with a custom version of this driver; see the source code.
Raw data from LKDDb:
lkddb module spi-gpio CONFIG_SPI_GPIO : drivers/spi/Kconfig : "GPIO-based bitbanging SPI Master" # in 3.1–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.12, 6.13-rc+HEAD
lkddb module spi_gpio CONFIG_SPI_GPIO : drivers/spi/Kconfig : "GPIO-based bitbanging SPI Master" # in 2.6.29–2.6.39, 3.0
lkddb of "" "" "spi-gpio" : CONFIG_SPI CONFIG_SPI_GPIO : drivers/spi/spi-gpio.c # in 3.7–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.12, 6.13-rc+HEAD
lkddb platform "" : CONFIG_SPI CONFIG_SPI_GPIO : drivers/spi/spi-gpio.c # in 3.1–3.6
lkddb platform "" : CONFIG_SPI CONFIG_SPI_GPIO : drivers/spi/spi_gpio.c # in 2.6.29–2.6.39, 3.0
lkddb platform "spi_gpio" : CONFIG_SPI CONFIG_SPI_GPIO : drivers/spi/spi-gpio.c # in 3.7–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.12, 6.13-rc+HEAD
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - S index
Automatically generated (in year 2024). See also LKDDb sources on GitLab