misc: xilinx_sdfec: Add ability to configure turbo
authorDragan Cvetic <dragan.cvetic@xilinx.com>
Sat, 27 Jul 2019 08:33:52 +0000 (09:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2019 15:54:37 +0000 (17:54 +0200)
commit6f86ed820178ba35f87712548e6cd43b91608a6c
treea0778893816e622ab56dd205013afb74c5047424
parent6d54e455689edcf1f9ef30761dd4fdfdc1cba33a
misc: xilinx_sdfec: Add ability to configure turbo

Add the capability to configure and retrieve turbo mode
via the ioctls XSDFEC_SET_TURBO and XSDFEC_GET_TURBO.
Add char device interface per DT node present and support
file operations:
- open(),
- close(),
- unlocked_ioctl(),
- compat_ioctl().

Tested-by: Dragan Cvetic <dragan.cvetic@xilinx.com>
Signed-off-by: Derek Kiernan <derek.kiernan@xilinx.com>
Signed-off-by: Dragan Cvetic <dragan.cvetic@xilinx.com>
Link: https://lore.kernel.org/r/1564216438-322406-3-git-send-email-dragan.cvetic@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/xilinx_sdfec.c
include/uapi/misc/xilinx_sdfec.h