[POWERPC] fsl_spi: stop using device_type = "spi"

Also:
- rename "fsl_spi" to "fsl,spi";
- add and use cell-index property, if found;
- split probing code out of fsl_spi_init, thus we can call
  it for legacy device_type probing and new "compatible" probing.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
这个提交包含在:
Anton Vorontsov
2008-01-24 18:40:07 +03:00
提交者 Kumar Gala
父节点 59a0ea5091
当前提交 f3a2b29d93
修改 14 个文件,包含 96 行新增70 行删除

查看文件

@@ -80,8 +80,8 @@
};
spi@7000 {
device_type = "spi";
compatible = "fsl_spi";
cell-index = <0>;
compatible = "fsl,spi";
reg = <7000 1000>;
interrupts = <10 8>;
interrupt-parent = < &ipic >;