summaryrefslogtreecommitdiff
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-05-16 11:37:09 -0600
committerGrant Likely <grant.likely@secretlab.ca>2008-07-25 22:34:40 -0400
commit284b01897340974000bcc84de87a4e1becc8a83d (patch)
tree9d2f38c9d2d39601d615f738c337c5af14a6b344 /drivers/of/Kconfig
parentdc87c98e8f635a718f1abb2c3e15fc77c0001651 (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/Kconfig6
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
depends on PPC_OF && I2C
help
OpenFirmware I2C accessors
+
+config OF_SPI
+ def_tristate SPI
+ depends on OF && PPC_OF && SPI
+ help
+ OpenFirmware SPI accessors