summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRui Feng <rui_feng@realsil.com.cn>2019-10-21 10:05:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-14 06:07:48 +0100
commitc0e5f4e73a7148e18b763067d181661987cb4c09 (patch)
treee3f2d001a86c0fec0c2c63e31a49c4b22d4225de /include
parentw1: new driver. DS2430 chip (diff)
downloadlinux-c0e5f4e73a7148e18b763067d181661987cb4c09.tar.xz
linux-c0e5f4e73a7148e18b763067d181661987cb4c09.zip
misc: rtsx: Add support for RTS5261
Add support for new chip rts5261. In order to support rts5261, the definitions of some internal registers and workflow have to be modified and are different from its predecessors. So we need this patch to ensure RTS5261 can work. Signed-off-by: Rui Feng <rui_feng@realsil.com.cn> Link: https://lore.kernel.org/r/1571645105-5028-1-git-send-email-rui_feng@realsil.com.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/rtsx_pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rtsx_pci.h b/include/linux/rtsx_pci.h
index f87da30a58b1..65b8142a7fed 100644
--- a/include/linux/rtsx_pci.h
+++ b/include/linux/rtsx_pci.h
@@ -1262,6 +1262,7 @@ struct rtsx_pcr {
#define PID_5250 0x5250
#define PID_525A 0x525A
#define PID_5260 0x5260
+#define PID_5261 0x5261
#define CHK_PCI_PID(pcr, pid) ((pcr)->pci->device == (pid))
#define PCI_VID(pcr) ((pcr)->pci->vendor)