diff options
author | Wei WANG <wei_wang@realsil.com.cn> | 2013-04-11 10:43:40 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-19 18:29:18 +0200 |
commit | 4c4b8c105a7bbd4a8d41ab4458f01174fdf3fcbb (patch) | |
tree | 15e8cadfa536dccd2a73652c1f5e5a678db3f0f9 /drivers/mfd/rtsx_pcr.c | |
parent | 95e50f6a2fe9ece6503e355400c171e0f5de61be (diff) | |
download | talos-op-linux-4c4b8c105a7bbd4a8d41ab4458f01174fdf3fcbb.tar.gz talos-op-linux-4c4b8c105a7bbd4a8d41ab4458f01174fdf3fcbb.zip |
mfd: rtsx: Support RTS5249
RTS5249 supports SD UHS-II interface.
In order to support SD UHS-II,the definitions of some internal
registers of RTS5249 have to be modified and are different from its
predecessors. So we need this patch to ensure RTS5249 can work, even
SD/MMC stack doesn't support UHS-II interface.
Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
-rw-r--r-- | drivers/mfd/rtsx_pcr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index 578a1136b6dc..e968c01ca2ac 100644 --- a/drivers/mfd/rtsx_pcr.c +++ b/drivers/mfd/rtsx_pcr.c @@ -56,6 +56,7 @@ static DEFINE_PCI_DEVICE_TABLE(rtsx_pci_ids) = { { PCI_DEVICE(0x10EC, 0x5229), PCI_CLASS_OTHERS << 16, 0xFF0000 }, { PCI_DEVICE(0x10EC, 0x5289), PCI_CLASS_OTHERS << 16, 0xFF0000 }, { PCI_DEVICE(0x10EC, 0x5227), PCI_CLASS_OTHERS << 16, 0xFF0000 }, + { PCI_DEVICE(0x10EC, 0x5249), PCI_CLASS_OTHERS << 16, 0xFF0000 }, { 0, } }; @@ -1033,6 +1034,10 @@ static int rtsx_pci_init_chip(struct rtsx_pcr *pcr) case 0x5227: rts5227_init_params(pcr); break; + + case 0x5249: + rts5249_init_params(pcr); + break; } dev_dbg(&(pcr->pci->dev), "PID: 0x%04x, IC version: 0x%02x\n", |