mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
284b018973
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>
21 lines
362 B
Text
21 lines
362 B
Text
config OF_DEVICE
|
|
def_bool y
|
|
depends on OF && (SPARC || PPC_OF)
|
|
|
|
config OF_GPIO
|
|
def_bool y
|
|
depends on OF && PPC_OF && GPIOLIB
|
|
help
|
|
OpenFirmware GPIO accessors
|
|
|
|
config OF_I2C
|
|
def_tristate 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
|