diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-05-16 13:37:09 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-07-25 22:34:40 -0400 |
commit | 284b01897340974000bcc84de87a4e1becc8a83d (patch) | |
tree | 9d2f38c9d2d39601d615f738c337c5af14a6b344 /drivers/of/Kconfig | |
parent | dc87c98e8f635a718f1abb2c3e15fc77c0001651 (diff) |
spi: Add OF binding support for SPI busses
This patch adds support for populating an SPI bus based on data in the
OF device tree. This is useful for powerpc platforms which use the
device tree instead of discrete code for describing platform layout.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r-- | drivers/of/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 1d7ec3129349..f821dbc952a4 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig | |||
@@ -13,3 +13,9 @@ config OF_I2C | |||
13 | depends on PPC_OF && I2C | 13 | depends on PPC_OF && I2C |
14 | help | 14 | help |
15 | OpenFirmware I2C accessors | 15 | OpenFirmware I2C accessors |
16 | |||
17 | config OF_SPI | ||
18 | def_tristate SPI | ||
19 | depends on OF && PPC_OF && SPI | ||
20 | help | ||
21 | OpenFirmware SPI accessors | ||