xref: /openbmc/linux/drivers/of/Kconfig (revision 9fd04992)
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
96b884a8dSGrant Likelyconfig OF_ADDRESS
106b884a8dSGrant Likely	def_bool y
116b884a8dSGrant Likely	depends on OF && !SPARC
126b884a8dSGrant Likely
13e3873444SGrant Likelyconfig OF_IRQ
14e3873444SGrant Likely	def_bool y
15e3873444SGrant Likely	depends on OF && !SPARC
16e3873444SGrant Likely
17f85ff305SStephen Rothwellconfig OF_DEVICE
18f85ff305SStephen Rothwell	def_bool y
196fa612b5SMichal Simek	depends on OF && (SPARC || PPC_OF || MICROBLAZE)
20863fbf49SAnton Vorontsov
21863fbf49SAnton Vorontsovconfig OF_GPIO
22863fbf49SAnton Vorontsov	def_bool y
236fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && GPIOLIB
24863fbf49SAnton Vorontsov	help
25863fbf49SAnton Vorontsov	  OpenFirmware GPIO accessors
26612212a3SJochen Friedrich
27612212a3SJochen Friedrichconfig OF_I2C
28585468e5SJochen Friedrich	def_tristate I2C
299fd04992SGrant Likely	depends on OF && !SPARC && I2C
30612212a3SJochen Friedrich	help
31612212a3SJochen Friedrich	  OpenFirmware I2C accessors
32284b0189SGrant Likely
33284b0189SGrant Likelyconfig OF_SPI
34284b0189SGrant Likely	def_tristate SPI
356fa612b5SMichal Simek	depends on OF && (PPC_OF || MICROBLAZE) && SPI
36284b0189SGrant Likely	help
37284b0189SGrant Likely	  OpenFirmware SPI accessors
388bc487d1SGrant Likely
398bc487d1SGrant Likelyconfig OF_MDIO
408bc487d1SGrant Likely	def_tristate PHYLIB
418bc487d1SGrant Likely	depends on OF && PHYLIB
428bc487d1SGrant Likely	help
438bc487d1SGrant Likely	  OpenFirmware MDIO bus (Ethernet PHY) accessors
44