From: Rui Feng
This patch fix clock timing for RTS5261, using 256 divide
for the version higher than version C.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/cardreader/rts5261.c
b/drivers/mis
From: Rui Feng
This patch check mmc support when RTS5261 initialize,
and not support mmc default.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 8
drivers/misc/cardreader/rts5261.h | 2 ++
2 files changed, 10 insertions(+)
diff --git a/drivers/misc/cardreader/rts526
From: Rui Feng
This patch add CD & WP reverse support for RTS5261
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/cardreader/rts5261.c
b/drivers/misc/cardreader/rts5261.c
index ce65c5703453..0ef6b3e04a8d 10064
From: Rui Feng
This patch enable hardware auto power off when card is removed.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 9 +
include/linux/rtsx_pci.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/drivers/misc/cardreader/rts5261.c
b/drivers/mi
From: Rui Feng
This patch fix PAD driving for RTS5261
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 15 ++-
drivers/misc/cardreader/rts5261.h | 6 ++
2 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/drivers/misc/cardreader/rts5261.c
b/drivers/
From: Rui Feng
This patch fix the bug that when there is over current but
reader can't enable OCP.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/cardreader/rts5261.c
b/drivers/misc/cardrea
From: Rui Feng
This patch fix the bug that LDO is off when aspm is enabled.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 10 +-
drivers/misc/cardreader/rts5261.h | 3 ++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/cardreader/rts5261
From: Rui Feng
This patch add test mode for RTS5261.
If test mode is set, reader will switch to SD Express mode
mandatorily, and this mode is used by factory testing only.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.h | 5 -
drivers/mmc/host/rtsx_pci_sdmmc.c | 19 +
From: Rui Feng
1.Add force test mode
2.Fix OCP function
3.Use aspm in way of backdoor
4.Fix PAD driving
5.Not support MMC default
6.Support CD&WP reverse
7.Add hardware auto power down when unplug card
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 59 +++--
From: Rui Feng
RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows.
1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag.
2.If card is plugged in, Host send CMD8 to ask card's PCIe availability.
3.If the card has PCIe availability and WP is not set, init_sd_express() will
b
From: Rui Feng
RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows.
1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag.
2.If card is plugged in, Host send CMD8 to ask card's PCIe availability.
3.If the card has PCIe availability and WP is not set, init_sd_express() will
b
From: Ulf Hansson
In the SD specification v7.10 the SD express card has been added. This new
type of removable SD card, can be managed via a PCIe/NVMe based interface,
while also allowing backwards compatibility towards the legacy SD
interface.
To keep the backwards compatibility, it's required
From: Rui Feng
RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows.
1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag.
2.If card is plugged in, Host send CMD8 to ask card's PCIe availability.
3.If the card has PCIe availability and WP is not set, init_sd_express() will
b
From: Rui Feng
RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows.
1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag.
2.If card is plugged in, Host send CMD8 to ask card's PCIe availability.
3.If the card has PCIe availability and WP is not set, init_sd_express() will
b
From: Ulf Hansson
In the SD specification v7.10 the SD express card has been added. This new
type of removable SD card, can be managed via a PCIe/NVMe based interface,
while also allowing backwards compatibility towards the legacy SD
interface.
To keep the backwards compatibility, it's required
From: Rui Feng
RTS5261 support legacy SD mode and SD Express mode.
In SD7.x, SD association introduce SD Express as a new mode.
This patch makes RTS5261 support SD Express mode.
Signed-off-by: Rui Feng
---
drivers/mmc/host/rtsx_pci_sdmmc.c | 59 +++
1 file changed,
From: Rui Feng
RTS5261 support legacy SD mode and SD Express mode.
In SD7.x, SD association introduce SD Express as a new mode.
This patch makes RTS5261 support SD Express mode.
Signed-off-by: Rui Feng
---
drivers/misc/cardreader/rts5261.c | 4
drivers/misc/cardreader/rts5261.h | 23 --
From: Ulf Hansson
In the SD specification v7.10 the SD express card has been added. This new
type of removable SD card, can be managed via a PCIe/NVMe based interface,
while also allowing backwards compatibility towards the legacy SD
interface.
To keep the backwards compatibility, it's required
From: Rui Feng
RTS5261 support legacy SD mode and SD Express mode.
In SD7.x, SD association introduce SD Express as a new mode.
This patch makes RTS5261 support SD Express mode,
and this patch is based on patch "mmc: core: Initial support
for SD express card/host" committed by Ulf Hansson.
Signe
From: rui_feng
RTS5261 support legacy SD mode and SD Express mode.
In SD7.x, SD association introduce SD Express as a new mode.
SD Express mode is distinguished by CMD8.
Therefore, CMD8 has new bit for SD Express.
SD Express is based on PCIe/NVMe.
RTS5261 uses CMD8 to switch to SD Express mode
From: Rui Feng
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
---
drivers/misc/cardread
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
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
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
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
From: Rui Feng
Because Realtek card reader drivers are pcie and usb drivers,
and they bridge mmc subsystem and memstick subsystem, they are
not mfd drivers. Greg and Lee Jones had a discussion about
where to put the drivers, the result is that misc is a good
place for them, so I move all files to
From: Rui Feng
Because Realtek PCIE card reader driver is a pcie driver,
and it bridges mmc subsystem and memstick subsystem, it's
not a mfd driver. Greg and Lee Jones had a discussion about
where to put the driver, the result is that misc is a good
place for it, so I move all files to misc. If I
From: rui_feng
Because Realtek PCIE card reader driver is a pcie driver,
and it bridges mmc subsystem and memstick subsystem, it's
not a mfd driver. Greg and Lee Jones had a discussion about
where to put the driver, the result is that misc is a good
place for it, so I move all files to mis
From: Rui Feng
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
From: Rui Feng
Because Realtek PCIE card reader driver is a pcie driver,
and it bridges mmc subsystem and memstick subsystem, it's
not a mfd driver. Greg and Lee Jones had a discussion about
where to put the driver, the result is that misc is a good
place for it, so I move all files to misc. If I
From: rui_feng
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
From: rui_feng
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
From: rui_feng
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
From: rui_feng
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. So we need this patch to ensure RTS5260 can work.
Signed-off-by: Rui Feng
---
drivers/mfd/Makefile
From: rui_feng
On gen3 PCI-Express we should send command one by one.
If sending many commands in one packet will lead to a failure.
Signed-off-by: rui_feng
---
drivers/mmc/host/rtsx_pci_sdmmc.c | 38 ++
include/linux/mfd/rtsx_pci.h | 1 +
2 files
From: rui_feng
Add support for new chip rts5260.
Signed-off-by: Rui Feng
---
drivers/mfd/Makefile | 2 +-
drivers/mfd/rts5260.c| 543 +++
drivers/mfd/rtsx_pcr.c | 8 +
drivers/mfd/rtsx_pcr.h | 1 +
include/linux/mfd
From: Rui Feng
Enable power saving for RTS5250S as following steps:
1.Set 0xFE58 to enable clock power management.
2.Check cfg space whether support L1SS or not.
3.If support L1SS, set 0xFF03 to free clkreq.
4.When entering idle status, enable aspm
and set parameters for L1SS and LTR.
5.Wnen en
From: Rui Feng
Enable power saving for RTS5250S as following steps:
1.Set 0xFE58 to enable clock power management.
2.Check cfg space whether support L1SS or not.
3.If support L1SS, set 0xFF03 to free clkreq.
4.When entering idle status, enable aspm
and set parameters for L1SS and LTR.
5.Wnen en
From: rui_feng
Signed-off-by: Rui Feng
---
drivers/mfd/rts5249.c| 154 +
drivers/mfd/rtsx_pcr.c | 177 +--
drivers/mfd/rtsx_pcr.h | 12 +++
include/linux/mfd/rtsx_pci.h | 85
From: Rui Feng
Signed-off-by: Rui Feng
---
drivers/mfd/rts5249.c| 195
drivers/mfd/rtsx_pcr.c | 205 +--
drivers/mfd/rtsx_pcr.h | 11 +++
include/linux/mfd/rtsx_pci.h | 60 +
4 fil
From: rui_feng
Signed-off-by: rui_feng
---
drivers/mfd/rts5249.c| 183 ++
drivers/mfd/rtsx_pcr.c | 206 +--
drivers/mfd/rtsx_pcr.h | 2 +
include/linux/mfd/rtsx_pci.h | 47 ++
4 files
From: rui_feng
Signed-off-by: rui_feng
---
drivers/mfd/rts5249.c| 139 +
drivers/mfd/rtsx_pcr.c | 206 +--
drivers/mfd/rtsx_pcr.h | 2 +
include/linux/mfd/rtsx_pci.h | 47 ++
4 files changed, 389
52 matches
Mail list logo