xref: /openbmc/linux/drivers/of/Kconfig (revision fcdeb7fe)
1e169cfbeSGrant Likelyconfig OF_FLATTREE
2e169cfbeSGrant Likely	bool
3e169cfbeSGrant Likely	depends on OF
4e169cfbeSGrant Likely
5fcdeb7feSGrant Likelyconfig OF_DYNAMIC
6fcdeb7feSGrant Likely	def_bool y
7fcdeb7feSGrant Likely	depends on OF && PPC_OF
8fcdeb7feSGrant Likely
9f85ff305SStephen Rothwellconfig OF_DEVICE
10f85ff305SStephen Rothwell	def_bool y
116fa612b5SMichal Simek	depends on OF && (SPARC || PPC_OF || MICROBLAZE)
12863fbf49SAnton Vorontsov
13863fbf49SAnton Vorontsovconfig OF_GPIO
14863fbf49SAnton Vorontsov	def_bool y
156fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
16863fbf49SAnton Vorontsov	help
17863fbf49SAnton Vorontsov	  OpenFirmware GPIO accessors
18612212a3SJochen Friedrich
19612212a3SJochen Friedrichconfig OF_I2C
20585468e5SJochen Friedrich	def_tristate I2C
216fa612b5SMichal Simek	depends on (PPC_OF || MICROBLAZE) && I2C
22612212a3SJochen Friedrich	help
23612212a3SJochen Friedrich	  OpenFirmware I2C accessors
24284b0189SGrant Likely
25284b0189SGrant Likelyconfig OF_SPI
26284b0189SGrant Likely	def_tristate SPI
276fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && SPI
28284b0189SGrant Likely	help
29284b0189SGrant Likely	  OpenFirmware SPI accessors
308bc487d1SGrant Likely
318bc487d1SGrant Likelyconfig OF_MDIO
328bc487d1SGrant Likely	def_tristate PHYLIB
338bc487d1SGrant Likely	depends on OF && PHYLIB
348bc487d1SGrant Likely	help
358bc487d1SGrant Likely	  OpenFirmware MDIO bus (Ethernet PHY) accessors
36