tmp_suning_uos_patched/drivers/fsi
Benjamin Herrenschmidt 0ab5fe5374 fsi: Add new central chardev support
The various FSI devices (sbefifo, occ, scom, more to come)
currently use misc devices.

This is problematic as the minor device space for misc is
limited and there can be a lot of them. Also it limits our
ability to move them to a dedicated /dev/fsi directory or
to be smart about device naming and numbering.

It also means we have IDAs on every single of these drivers

This creates a common fsi "device_type" for the optional
/dev/fsi grouping and a dev_t allocator for all FSI devices.

"Legacy" devices get to use a backward compatible numbering
scheme (as long as chip id <16 and there's only one copy
of a given unit type per chip).

A single major number and a single IDA are shared for all
FSI devices.

This doesn't convert the FSI device drivers to use the new
scheme yet, they will be converted individually.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2018-07-27 09:57:23 +10:00
..
cf-fsi-fw.h fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire 2018-07-23 15:22:52 +10:00
fsi-core.c fsi: Add new central chardev support 2018-07-27 09:57:23 +10:00
fsi-master-ast-cf.c fsi: master-ast-cf: Rename dump_trace() to avoid name collision 2018-07-26 14:49:50 +10:00
fsi-master-gpio.c fsi: Move various master definitions to a common header 2018-07-12 12:06:02 +10:00
fsi-master-hub.c fsi: master-hub: Fix sparse warnings 2018-06-18 14:33:56 +10:00
fsi-master.h fsi: Move various master definitions to a common header 2018-07-12 12:06:02 +10:00
fsi-sbefifo.c fsi: sbefifo: Fix inconsistent use of ffdc mutex 2018-07-23 16:27:32 +10:00
fsi-scom.c fsi: scom: Major overhaul 2018-06-18 15:11:53 +10:00
Kconfig fsi: Add new central chardev support 2018-07-27 09:57:23 +10:00
Makefile fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire 2018-07-23 15:22:52 +10:00