xref: /linux/drivers/fsi/Kconfig (revision 64999fa7aa2c076ec6d05aee481f11f5296ceb8c)
10508ad1fSJeremy Kerr#
20508ad1fSJeremy Kerr# FSI subsystem
30508ad1fSJeremy Kerr#
40508ad1fSJeremy Kerr
5baa8b941SVincent Legollmenuconfig FSI
60508ad1fSJeremy Kerr	tristate "FSI support"
7f6a2f8ebSJeremy Kerr	depends on OF
82b545cd8SJeremy Kerr	select CRC4
90508ad1fSJeremy Kerr	---help---
100508ad1fSJeremy Kerr	  FSI - the FRU Support Interface - is a simple bus for low-level
110508ad1fSJeremy Kerr	  access to POWER-based hardware.
12ac0385d9SChristopher Bostic
13ac0385d9SChristopher Bosticif FSI
14ac0385d9SChristopher Bostic
150ab5fe53SBenjamin Herrenschmidtconfig FSI_NEW_DEV_NODE
160ab5fe53SBenjamin Herrenschmidt	bool "Create '/dev/fsi' directory for char devices"
170ab5fe53SBenjamin Herrenschmidt	default n
180ab5fe53SBenjamin Herrenschmidt	---help---
190ab5fe53SBenjamin Herrenschmidt	This option causes char devices created for FSI devices to be
200ab5fe53SBenjamin Herrenschmidt	located under a common /dev/fsi/ directory. Set to N unless your
210ab5fe53SBenjamin Herrenschmidt	userspace has been updated to handle the new location.
220ab5fe53SBenjamin Herrenschmidt
230ab5fe53SBenjamin Herrenschmidt	Additionally, it also causes the char device names to be offset
240ab5fe53SBenjamin Herrenschmidt	by one so that chip 0 will have /dev/scom1 and chip1 /dev/scom2
250ab5fe53SBenjamin Herrenschmidt	to match old userspace expectations.
260ab5fe53SBenjamin Herrenschmidt
270ab5fe53SBenjamin Herrenschmidt	New userspace will use udev rules to generate predictable access
280ab5fe53SBenjamin Herrenschmidt	symlinks in /dev/fsi/by-path when this option is enabled.
290ab5fe53SBenjamin Herrenschmidt
30ac0385d9SChristopher Bosticconfig FSI_MASTER_GPIO
31ac0385d9SChristopher Bostic	tristate "GPIO-based FSI master"
32ac0385d9SChristopher Bostic	depends on GPIOLIB
33ac0385d9SChristopher Bostic	select CRC4
34ac0385d9SChristopher Bostic	---help---
35ac0385d9SChristopher Bostic	This option enables a FSI master driver using GPIO lines.
36ac0385d9SChristopher Bostic
377f9e8f76SChristopher Bosticconfig FSI_MASTER_HUB
387f9e8f76SChristopher Bostic	tristate "FSI hub master"
397f9e8f76SChristopher Bostic	---help---
407f9e8f76SChristopher Bostic	This option enables a FSI hub master driver.  Hub is a type of FSI
417f9e8f76SChristopher Bostic	master that is connected to the upstream master via a slave.  Hubs
427f9e8f76SChristopher Bostic	allow chaining of FSI links to an arbitrary depth.  This allows for
437f9e8f76SChristopher Bostic	a high target device fanout.
447f9e8f76SChristopher Bostic
456a794a27SBenjamin Herrenschmidtconfig FSI_MASTER_AST_CF
466a794a27SBenjamin Herrenschmidt	tristate "FSI master based on Aspeed ColdFire coprocessor"
476a794a27SBenjamin Herrenschmidt	depends on GPIOLIB
486a794a27SBenjamin Herrenschmidt	depends on GPIO_ASPEED
49*64999fa7SArnd Bergmann	select GENERIC_ALLOCATOR
506a794a27SBenjamin Herrenschmidt	---help---
516a794a27SBenjamin Herrenschmidt	This option enables a FSI master using the AST2400 and AST2500 GPIO
526a794a27SBenjamin Herrenschmidt	lines driven by the internal ColdFire coprocessor. This requires
536a794a27SBenjamin Herrenschmidt	the corresponding machine specific ColdFire firmware to be available.
546a794a27SBenjamin Herrenschmidt
55680ca6dcSChristopher Bosticconfig FSI_SCOM
56680ca6dcSChristopher Bostic	tristate "SCOM FSI client device driver"
57680ca6dcSChristopher Bostic	---help---
58680ca6dcSChristopher Bostic	This option enables an FSI based SCOM device driver.
59680ca6dcSChristopher Bostic
609f4a8a2dSBenjamin Herrenschmidtconfig FSI_SBEFIFO
619f4a8a2dSBenjamin Herrenschmidt	tristate "SBEFIFO FSI client device driver"
6232f7f89dSGuenter Roeck	depends on OF_ADDRESS
639f4a8a2dSBenjamin Herrenschmidt	---help---
649f4a8a2dSBenjamin Herrenschmidt	This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
659f4a8a2dSBenjamin Herrenschmidt	a pipe-like FSI device for communicating with the self boot engine
669f4a8a2dSBenjamin Herrenschmidt	(SBE) on POWER processors.
679f4a8a2dSBenjamin Herrenschmidt
68ac0385d9SChristopher Bosticendif
69