xref: /linux/drivers/of/Kconfig (revision 284b01897340974000bcc84de87a4e1becc8a83d)
1f85ff305SStephen Rothwellconfig OF_DEVICE
2f85ff305SStephen Rothwell	def_bool y
3f85ff305SStephen Rothwell	depends on OF && (SPARC || PPC_OF)
4863fbf49SAnton Vorontsov
5863fbf49SAnton Vorontsovconfig OF_GPIO
6863fbf49SAnton Vorontsov	def_bool y
77444a72eSMichael Buesch	depends on OF && PPC_OF && GPIOLIB
8863fbf49SAnton Vorontsov	help
9863fbf49SAnton Vorontsov	  OpenFirmware GPIO accessors
10612212a3SJochen Friedrich
11612212a3SJochen Friedrichconfig OF_I2C
12585468e5SJochen Friedrich	def_tristate I2C
13585468e5SJochen Friedrich	depends on PPC_OF && I2C
14612212a3SJochen Friedrich	help
15612212a3SJochen Friedrich	  OpenFirmware I2C accessors
16*284b0189SGrant Likely
17*284b0189SGrant Likelyconfig OF_SPI
18*284b0189SGrant Likely	def_tristate SPI
19*284b0189SGrant Likely	depends on OF && PPC_OF && SPI
20*284b0189SGrant Likely	help
21*284b0189SGrant Likely	  OpenFirmware SPI accessors
22