![Grant Likely](/assets/img/avatar_default.png)
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
Text
22 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
|