misc: rtsx: Add support for RTS5260
authorRui Feng <rui_feng@realsil.com.cn>
Wed, 29 Nov 2017 09:09:56 +0000 (17:09 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Nov 2017 10:17:26 +0000 (10:17 +0000)
commit5da4e04ae480aac5274dd020af3dfa21935028f7
tree4c149d42702913686e11eb4773e8ea662494fb46
parente455b69ddf9b69326d0cab28d374faf3325489c9
misc: rtsx: Add support for RTS5260

Add support for new chip rts5260.
In order to support rts5260, the definitions of
some internal registers and workflow have to be
modified and are different from its predecessors
and OCP function is added for RTS5260. So we need
this patch to ensure RTS5260 can work.

Signed-off-by: Rui Feng <rui_feng@realsil.com.cn>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Tested-by: Perry Yuan <perry_yuan@dell.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/misc/cardreader/Kconfig
drivers/misc/cardreader/Makefile
drivers/misc/cardreader/rts5260.c [new file with mode: 0644]
drivers/misc/cardreader/rts5260.h [new file with mode: 0644]
drivers/misc/cardreader/rtsx_pcr.c
drivers/misc/cardreader/rtsx_pcr.h
include/linux/rtsx_pci.h