URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [spi/] [Kconfig] - Rev 62
Compare with Previous | Blame | View Log
## SPI driver configuration## NOTE: the reason this doesn't show SPI slave support is mostly that# nobody's needed a slave side API yet. The master-role API is not# fully appropriate there, so it'd need some thought to do well.#menu "SPI support"depends on HAS_IOMEMconfig SPIbool "SPI support"helpThe "Serial Peripheral Interface" is a low level synchronousprotocol. Chips that support SPI can have data transfer ratesup to several tens of Mbit/sec. Chips are addressed with acontroller and a chipselect. Most SPI slaves don't supportdynamic device discovery; some are even write-only or read-only.SPI is widely used by microcontrollers to talk with sensors,eeprom and flash memory, codecs and various other controllerchips, analog to digital (and d-to-a) converters, and more.MMC and SD cards can be accessed using SPI protocol; and forDataFlash cards used in MMC sockets, SPI must always be used.SPI is one of a family of similar protocols using a four wireinterface (select, clock, data in, data out) including Microwire(half duplex), SSP, SSI, and PSP. This driver framework shouldwork with most such devices and controllers.config SPI_DEBUGboolean "Debug support for SPI drivers"depends on SPI && DEBUG_KERNELhelpSay "yes" to enable debug messaging (like dev_dbg and pr_debug),sysfs, and debugfs support in SPI controller and protocol drivers.## MASTER side ... talking to discrete SPI slave chips including microcontrollers#config SPI_MASTER# boolean "SPI Master Support"booleandefault SPIhelpIf your system has an master-capable SPI controller (whichprovides the clock and chipselect), you can enable thatcontroller and the protocol drivers for the SPI slave chipsthat are connected.comment "SPI Master Controller Drivers"depends on SPI_MASTERconfig SPI_ATMELtristate "Atmel SPI Controller"depends on (ARCH_AT91 || AVR32) && SPI_MASTERhelpThis selects a driver for the Atmel SPI Controller, present onmany AT32 (AVR32) and AT91 (ARM) chips.config SPI_BFINtristate "SPI controller driver for ADI Blackfin5xx"depends on SPI_MASTER && BLACKFINhelpThis is the SPI controller master driver for Blackfin 5xx processor.config SPI_AU1550tristate "Au1550/Au12x0 SPI Controller"depends on SPI_MASTER && (SOC_AU1550 || SOC_AU1200) && EXPERIMENTALselect SPI_BITBANGhelpIf you say yes to this option, support will be included for theAu1550 SPI controller (may also work with Au1200,Au1210,Au1250).This driver can also be built as a module. If so, the modulewill be called au1550_spi.config SPI_BITBANGtristate "Bitbanging SPI master"depends on SPI_MASTER && EXPERIMENTALhelpWith a few GPIO pins, your system can bitbang the SPI protocol.Select this to get SPI support through I/O pins (GPIO, parallelport, etc). Or, some systems' SPI master controller drivers usethis code to manage the per-word or per-transfer accesses to thehardware shift registers.This is library code, and is automatically selected by drivers thatneed it. You only need to select this explicitly to support drivermodules that aren't part of this kernel tree.config SPI_BUTTERFLYtristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"depends on SPI_MASTER && PARPORT && EXPERIMENTALselect SPI_BITBANGhelpThis uses a custom parallel port cable to connect to an AVRButterfly <http://www.atmel.com/products/avr/butterfly>, aninexpensive battery powered microcontroller evaluation board.This same cable can be used to flash new firmware.config SPI_IMXtristate "Freescale iMX SPI controller"depends on SPI_MASTER && ARCH_IMX && EXPERIMENTALhelpThis enables using the Freescale iMX SPI controller in mastermode.config SPI_LM70_LLPtristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"depends on SPI_MASTER && PARPORT && EXPERIMENTALselect SPI_BITBANGhelpThis driver supports the NS LM70 LLP Evaluation Board,which interfaces to an LM70 temperature sensor usinga parallel port.config SPI_MPC52xx_PSCtristate "Freescale MPC52xx PSC SPI controller"depends on SPI_MASTER && PPC_MPC52xx && EXPERIMENTALhelpThis enables using the Freescale MPC52xx Programmable SerialController in master SPI mode.config SPI_MPC83xxtristate "Freescale MPC83xx/QUICC Engine SPI controller"depends on SPI_MASTER && (PPC_83xx || QUICC_ENGINE) && EXPERIMENTALselect SPI_BITBANGhelpThis enables using the Freescale MPC83xx and QUICC Engine SPIcontrollers in master mode.Note, this driver uniquely supports the SPI controller on the MPC83xxfamily of PowerPC processors, plus processors with QUICC Enginetechnology. This driver uses a simple set of shift registers for data(opposed to the CPM based descriptor model).config SPI_OMAP_UWIREtristate "OMAP1 MicroWire"depends on SPI_MASTER && ARCH_OMAP1select SPI_BITBANGhelpThis hooks up to the MicroWire controller on OMAP1 chips.config SPI_OMAP24XXtristate "McSPI driver for OMAP24xx"depends on SPI_MASTER && ARCH_OMAP24XXhelpSPI master controller for OMAP24xx Multichannel SPI(McSPI) modules.config SPI_PXA2XXtristate "PXA2xx SSP SPI master"depends on SPI_MASTER && ARCH_PXA && EXPERIMENTALhelpThis enables using a PXA2xx SSP port as a SPI master controller.The driver can be configured to use any SSP port and additionaldocumentation can be found a Documentation/spi/pxa2xx.config SPI_S3C24XXtristate "Samsung S3C24XX series SPI"depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTALselect SPI_BITBANGhelpSPI driver for Samsung S3C24XX series ARM SoCsconfig SPI_S3C24XX_GPIOtristate "Samsung S3C24XX series SPI by GPIO"depends on SPI_MASTER && ARCH_S3C2410 && EXPERIMENTALselect SPI_BITBANGhelpSPI driver for Samsung S3C24XX series ARM SoCs usingGPIO lines to provide the SPI bus. This can be used wherethe inbuilt hardware cannot provide the transfer mode, orwhere the board is using non hardware connected pins.config SPI_TXX9tristate "Toshiba TXx9 SPI controller"depends on SPI_MASTER && GENERIC_GPIO && CPU_TX49XXhelpSPI driver for Toshiba TXx9 MIPS SoCsconfig SPI_XILINXtristate "Xilinx SPI controller"depends on SPI_MASTER && XILINX_VIRTEX && EXPERIMENTALselect SPI_BITBANGhelpThis exposes the SPI controller IP from the Xilinx EDK.See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"Product Specification document (DS464) for hardware details.## Add new SPI master controllers in alphabetical order above this line### There are lots of SPI device types, with sensors and memory# being probably the most widely used ones.#comment "SPI Protocol Masters"depends on SPI_MASTERconfig SPI_AT25tristate "SPI EEPROMs from most vendors"depends on SPI_MASTER && SYSFShelpEnable this driver to get read/write support to most SPI EEPROMs,after you configure the board init code to know about each eepromon your target board.This driver can also be built as a module. If so, the modulewill be called at25.config SPI_SPIDEVtristate "User mode SPI device driver support"depends on SPI_MASTER && EXPERIMENTALhelpThis supports user mode SPI protocol drivers.Note that this application programming interface is EXPERIMENTALand hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.config SPI_TLE62X0tristate "Infineon TLE62X0 (for power switching)"depends on SPI_MASTER && SYSFShelpSPI driver for Infineon TLE62X0 series line driver chips,such as the TLE6220, TLE6230 and TLE6240. This provides asysfs interface, with each line presented as a kind of GPIOexposing both switch control and diagnostic feedback.## Add new SPI protocol masters in alphabetical order above this line## (slave support would go here)endmenu # "SPI support"
