misc: xilinx_sdfec: Store driver config and state
authorDragan Cvetic <dragan.cvetic@xilinx.com>
Sat, 27 Jul 2019 08:33:51 +0000 (09:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2019 15:54:37 +0000 (17:54 +0200)
commit6d54e455689edcf1f9ef30761dd4fdfdc1cba33a
tree99948130b34dbe19e7a636d53648fc42d43ed065
parent77e38c19f373c077712e60cd190ca9cba13b7177
misc: xilinx_sdfec: Store driver config and state

Stores configuration based on parameters from the DT
node and values from the SD-FEC core plus reads
the default state from the SD-FEC core. To obtain
values from the core register read, write capabilities
have been added plus related register map details.

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-2-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 [new file with mode: 0644]