I think I've addressed all the comments I've received. This series adds OpenFirmware device tree bindings for SPI devices. SPI master drivers which make use of of_spi.c can retrieve the set of spi devices from the device tree and automatically create them.
This series depends on previously posted patch: "spi: Change modalias from a pointer to a character array" Documentation/powerpc/booting-without-of.txt | 60 +++ drivers/of/Kconfig | 6 + drivers/of/Makefile | 1 + drivers/of/of_spi.c | 88 ++++ drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/mpc52xx_spi.c | 595 ++++++++++++++++++++++++++ drivers/spi/spi.c | 141 +++++-- include/linux/of_spi.h | 18 + include/linux/spi/mpc52xx_spi.h | 10 + include/linux/spi/spi.h | 12 +- 11 files changed, 895 insertions(+), 45 deletions(-) -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev