Commit 35b4b3c0 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Linus Torvalds

spi_mpc83xx: add OF platform driver bindings

Implement full support for OF SPI bindings.  Now the driver can manage its
own chip selects without any help from the board files and/or fsl_soc
constructors.

The "legacy" code is well isolated and could be removed as time goes by.
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 364fdbc0
This diff is collapsed.
...@@ -99,7 +99,7 @@ struct spi_device; ...@@ -99,7 +99,7 @@ struct spi_device;
struct fsl_spi_platform_data { struct fsl_spi_platform_data {
u32 initial_spmode; /* initial SPMODE value */ u32 initial_spmode; /* initial SPMODE value */
u16 bus_num; s16 bus_num;
bool qe_mode; bool qe_mode;
/* board specific information */ /* board specific information */
u16 max_chipselect; u16 max_chipselect;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment