[PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2008-01-08 Thread Anton Vorontsov
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. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton

[PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-21 Thread Anton Vorontsov
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. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton

[PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Anton Vorontsov
Also rename fsl_spi to fsl,spi. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8313erdb.dts|3 +-- arch/powerpc/boot/dts/mpc832x_mds.dts|6 ++

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Kumar Gala
On Dec 19, 2007, at 2:38 PM, Anton Vorontsov wrote: Also rename fsl_spi to fsl,spi. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8313erdb.dts|3 +--

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Anton Vorontsov
On Wed, Dec 19, 2007 at 02:54:09PM -0600, Kumar Gala wrote: On Dec 19, 2007, at 2:38 PM, Anton Vorontsov wrote: Also rename fsl_spi to fsl,spi. Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] ---

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Timur Tabi
Anton Vorontsov wrote: diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 3cf84d0..91bac51 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -1242,7 +1242,7 @@ int __init fsl_spi_init(struct spi_board_info *board_infos, }

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Anton Vorontsov
On Wed, Dec 19, 2007 at 03:04:51PM -0600, Timur Tabi wrote: Anton Vorontsov wrote: diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 3cf84d0..91bac51 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -1242,7 +1242,7 @@ int

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Timur Tabi
Anton Vorontsov wrote: I though about it. Is your device tree source out of tree? Otherwise it should be trivial to upgrade the dtb, instead of producing cruft in the kernel. I vote for less legacy code, but lets see what others will say. So far count is 1:1. ;-) I just want a transition

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Grant Likely
On 12/19/07, Anton Vorontsov [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 03:04:51PM -0600, Timur Tabi wrote: Anton Vorontsov wrote: diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 3cf84d0..91bac51 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++

Re: [PATCH 4/4] [POWERPC] fsl_spi_init and users: stop using device_type = spi

2007-12-19 Thread Olof Johansson
On Thu, Dec 20, 2007 at 12:12:50AM +0300, Anton Vorontsov wrote: I though about it. Is your device tree source out of tree? Otherwise it should be trivial to upgrade the dtb, instead of producing cruft in the kernel. I vote for less legacy code, but lets see what others will say. So far count