staging: kpc2000: add initial set of Daktronics drivers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2019 18:42:05 +0000 (20:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 21:04:58 +0000 (23:04 +0200)
commit7dc7967fc39af81191558f63eeaf3d2b83899b1c
treeed3a6b846d8fb6e914dcec329f2afc02568f3617
parentf59232a1da5979df7b37983f044c4b7101ef25f4
staging: kpc2000: add initial set of Daktronics drivers

These drivers have been outside of the kernel tree since the 2.x days,
and it's time to bring them into the tree so they can get properly
cleaned up.

This first dump of drivers is based on a tarball Matt gave to me, minus
an odd "dma" driver that I could not get to build at all.  I renamed a
few files, added the proper SPDX lines to it, added Kconfig entries and
tied it into the kernel build.  I also fixed up a number of initial
obvious kernel build warnings, but left the odd bitfield warning that
gcc is spitting out, as I'm not quite sure what to do about that.

There's loads of low-hanging coding style cleanups in here for people to
start attacking, as well as the more obvious logic and api cleanups as
well.

Cc: Matt Sickler <Matt.Sickler@daktronics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 files changed:
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/kpc2000/Kconfig [new file with mode: 0644]
drivers/staging/kpc2000/Makefile [new file with mode: 0644]
drivers/staging/kpc2000/TODO [new file with mode: 0644]
drivers/staging/kpc2000/kpc.h [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/Makefile [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/cell_probe.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/core.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/dma_common_defs.h [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/fileops.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/kp2000_module.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/pcie.h [new file with mode: 0644]
drivers/staging/kpc2000/kpc2000/uapi.h [new file with mode: 0644]
drivers/staging/kpc2000/kpc_i2c/Makefile [new file with mode: 0644]
drivers/staging/kpc2000/kpc_i2c/fileops.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc_i2c/i2c_driver.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc_spi/Makefile [new file with mode: 0644]
drivers/staging/kpc2000/kpc_spi/spi_driver.c [new file with mode: 0644]
drivers/staging/kpc2000/kpc_spi/spi_parts.h [new file with mode: 0644]