android_kernel_xiaomi_sm8350/drivers/of/Kconfig
Grant Likely 284b018973 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>
2008-07-25 22:34:40 -04:00

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