Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa590c22 authored by Micky Ching's avatar Micky Ching Committed by Greg Kroah-Hartman
Browse files

staging: rts5208: add support for rts5208 and rts5288



There are still many rts5208/5288 card readers being used, but no
drivers are supported them in kernel now. This driver can make a
great convenience for people who use them.

Many other rts-series card reader are supported by mfd driver, but due
to much difference with others, rts5208/5288 can not add into mfd driver
pretty now, so we provide a separated driver here to support the device.

Signed-off-by: default avatarMicky Ching <micky_ching@realsil.com.cn>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a76714d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,8 @@ source "drivers/staging/rtl8188eu/Kconfig"


source "drivers/staging/rts5139/Kconfig"
source "drivers/staging/rts5139/Kconfig"


source "drivers/staging/rts5208/Kconfig"

source "drivers/staging/frontier/Kconfig"
source "drivers/staging/frontier/Kconfig"


source "drivers/staging/phison/Kconfig"
source "drivers/staging/phison/Kconfig"
+1 −0
Original line number Original line Diff line number Diff line
@@ -19,6 +19,7 @@ obj-$(CONFIG_RTL8192E) += rtl8192e/
obj-$(CONFIG_R8712U)		+= rtl8712/
obj-$(CONFIG_R8712U)		+= rtl8712/
obj-$(CONFIG_R8188EU)		+= rtl8188eu/
obj-$(CONFIG_R8188EU)		+= rtl8188eu/
obj-$(CONFIG_RTS5139)		+= rts5139/
obj-$(CONFIG_RTS5139)		+= rts5139/
obj-$(CONFIG_RTS5208)		+= rts5208/
obj-$(CONFIG_TRANZPORT)		+= frontier/
obj-$(CONFIG_TRANZPORT)		+= frontier/
obj-$(CONFIG_IDE_PHISON)	+= phison/
obj-$(CONFIG_IDE_PHISON)	+= phison/
obj-$(CONFIG_LINE6_USB)		+= line6/
obj-$(CONFIG_LINE6_USB)		+= line6/
+15 −0
Original line number Original line Diff line number Diff line
config RTS5208
	tristate "Realtek PCI-E Card Reader RTS5208/5288 support"
	depends on PCI && SCSI
	help
	  Say Y here to include driver code to support the Realtek
	  PCI-E card reader rts5208/rts5288.

	  If this driver is compiled as a module, it will be named rts5208.

config RTS5208_DEBUG
	bool "Realtek PCI-E Card Reader RTS5208/5288 verbose debug"
	depends on RTS5208
	help
	  Say Y here in order to have the rts5208 code generate
	  verbose debugging messages.
+6 −0
Original line number Original line Diff line number Diff line
obj-$(CONFIG_RTS5208) := rts5208.o

ccflags-y := -Idrivers/scsi

rts5208-y := rtsx.o rtsx_chip.o rtsx_transport.o rtsx_scsi.o \
	rtsx_card.o general.o sd.o xd.o ms.o spi.o
+7 −0
Original line number Original line Diff line number Diff line
TODO:
- use kernel coding style
- checkpatch.pl fixes
- We will use the stack in drivers/mmc to implement
  rts5208/5288 in the future

Micky Ching <micky_ching@realsil.com.cn>
 No newline at end of file
Loading