aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of_spi.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-07-30of/spi: call of_register_spi_devices() from spi core codeAnatolij Gustschin1-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>
2008-07-25spi: Add OF binding support for SPI bussesGrant Likely1-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>