xref: /linux/drivers/fsi/Kconfig (revision 0ab5fe5374743d5a279b1ff6297ef2c54d06cd5f)
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
15*0ab5fe53SBenjamin Herrenschmidtconfig FSI_NEW_DEV_NODE
16*0ab5fe53SBenjamin Herrenschmidt	bool "Create '/dev/fsi' directory for char devices"
17*0ab5fe53SBenjamin Herrenschmidt	default n
18*0ab5fe53SBenjamin Herrenschmidt	---help---
19*0ab5fe53SBenjamin Herrenschmidt	This option causes char devices created for FSI devices to be
20*0ab5fe53SBenjamin Herrenschmidt	located under a common /dev/fsi/ directory. Set to N unless your
21*0ab5fe53SBenjamin Herrenschmidt	userspace has been updated to handle the new location.
22*0ab5fe53SBenjamin Herrenschmidt
23*0ab5fe53SBenjamin Herrenschmidt	Additionally, it also causes the char device names to be offset
24*0ab5fe53SBenjamin Herrenschmidt	by one so that chip 0 will have /dev/scom1 and chip1 /dev/scom2
25*0ab5fe53SBenjamin Herrenschmidt	to match old userspace expectations.
26*0ab5fe53SBenjamin Herrenschmidt
27*0ab5fe53SBenjamin Herrenschmidt	New userspace will use udev rules to generate predictable access
28*0ab5fe53SBenjamin Herrenschmidt	symlinks in /dev/fsi/by-path when this option is enabled.
29*0ab5fe53SBenjamin 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
496a794a27SBenjamin Herrenschmidt	---help---
506a794a27SBenjamin Herrenschmidt	This option enables a FSI master using the AST2400 and AST2500 GPIO
516a794a27SBenjamin Herrenschmidt	lines driven by the internal ColdFire coprocessor. This requires
526a794a27SBenjamin Herrenschmidt	the corresponding machine specific ColdFire firmware to be available.
536a794a27SBenjamin Herrenschmidt
54680ca6dcSChristopher Bosticconfig FSI_SCOM
55680ca6dcSChristopher Bostic	tristate "SCOM FSI client device driver"
56680ca6dcSChristopher Bostic	---help---
57680ca6dcSChristopher Bostic	This option enables an FSI based SCOM device driver.
58680ca6dcSChristopher Bostic
599f4a8a2dSBenjamin Herrenschmidtconfig FSI_SBEFIFO
609f4a8a2dSBenjamin Herrenschmidt	tristate "SBEFIFO FSI client device driver"
6132f7f89dSGuenter Roeck	depends on OF_ADDRESS
629f4a8a2dSBenjamin Herrenschmidt	---help---
639f4a8a2dSBenjamin Herrenschmidt	This option enables an FSI based SBEFIFO device driver. The SBEFIFO is
649f4a8a2dSBenjamin Herrenschmidt	a pipe-like FSI device for communicating with the self boot engine
659f4a8a2dSBenjamin Herrenschmidt	(SBE) on POWER processors.
669f4a8a2dSBenjamin Herrenschmidt
67ac0385d9SChristopher Bosticendif
68