xref: /openbmc/linux/drivers/of/Kconfig (revision b6dcefde)
1config OF_DEVICE
2	def_bool y
3	depends on OF && (SPARC || PPC_OF || MICROBLAZE)
4
5config OF_GPIO
6	def_bool y
7	depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
8	help
9	  OpenFirmware GPIO accessors
10
11config OF_I2C
12	def_tristate I2C
13	depends on (PPC_OF || MICROBLAZE) && I2C
14	help
15	  OpenFirmware I2C accessors
16
17config OF_SPI
18	def_tristate SPI
19	depends on OF && (PPC_OF || MICROBLAZE) && SPI
20	help
21	  OpenFirmware SPI accessors
22
23config OF_MDIO
24	def_tristate PHYLIB
25	depends on OF && PHYLIB
26	help
27	  OpenFirmware MDIO bus (Ethernet PHY) accessors
28