mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +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>
22 lines
362 B
Plaintext
22 lines
362 B
Plaintext
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
|