Commit graph android_kernel_sony_sdm845/include/linux/of_spi.h
Message SHA1
of/spi: call of_register_spi_devices() from spi core code
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>

Anatolij Gustschin   authored and   Grant Likely   commited 2010-07-30 00:03:59 -06:00
12b15e8328
spi: Add OF binding support for SPI busses
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>

Grant Likely   commited 2008-07-25 22:34:40 -04:00
284b018973