summaryrefslogtreecommitdiffstats
path: root/include/linux/of_spi.h
Commit message (Collapse)AuthorAgeFilesLines
* spi/devicetree: Move devicetree support code into spi directoryGrant Likely2012-04-131-23/+0Star
| | | | | | | | | The SPI device tree support code isn't shared by any other subsystem. It can be moved into the core drivers/spi directory and the exported symbol can be removed. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com>
* of/spi: call of_register_spi_devices() from spi core codeAnatolij Gustschin2010-07-301-3/+8
| | | | | | | | | | Move of_register_spi_devices() call from drivers to spi_register_master(). Also change the function to use the struct device_node pointer from master spi device instead of passing it as function argument. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* spi: Add OF binding support for SPI bussesGrant Likely2008-07-261-0/+18
This patch adds support for populating an SPI bus based on data in the OF device tree. This is useful for powerpc platforms which use the device tree instead of discrete code for describing platform layout. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>