Re: [PATCH 0/7] Device table matching for SPI subsystem

2009-08-04 Thread Anton Vorontsov
On Mon, Aug 03, 2009 at 07:16:02PM -0700, David Brownell wrote: > On Wednesday 29 July 2009, Anton Vorontsov wrote: > > platform_data is overkill for m25p80 chips, the > > driver only needs to know exact chip model, and that's what device > > tables are for. > > To be fair, the platform_data a

Re: [PATCH 0/7] Device table matching for SPI subsystem

2009-08-04 Thread David Brownell
On Wednesday 29 July 2009, Anton Vorontsov wrote: > platform_data is overkill for m25p80 chips, the > driver only needs to know exact chip model, and that's what device > tables are for. To be fair, the platform_data also supports partitioning and labeling e.g. for cmdlinepart ... though I'd

[PATCH 0/7] Device table matching for SPI subsystem

2009-07-29 Thread Anton Vorontsov
Hi all, This patch set implements standard device table matching mechanism for SPI subsystem, the same device id tables as we use in I2C drivers. I started this work because m25p80 driver misdetects non-JEDEC chips when it is used on OpenFirmware platforms (cause we don't pass platform_data). pla