Export sdhci tuning function symbols which are used by other SD Host
controller driver modules.
Signed-off-by: ernest.zhang
---
Changes in V7:
Export sdhci tuning function symbols
Changes in V1~V6
N/A
---
drivers/mmc/host/sdhci.c | 12
drivers/mmc/host/sdhci.h | 5
Add MSI interrupt support if the SD host device can support MSI interrupt.
Signed-off-by: ernest.zhang
---
Changes in V7:
N/A
Changes in V6:
1. Move change log to correct place.
2. Reduce unneeded pr_info prints.
3. In function sdhci_pci_o2_probe_slot, remove
O2 SD Host HS200 mode clock frequency current is 208MHz, should be changed
to 200MHz to meet specification.
Signed-off-by: ernest.zhang
---
Change in V7:
Change HS200 mode clock frequency from 208MHz to 200MHz to meet
Specification.
Change in V1~V6:
N/A
---
drivers/mmc
Add hardware tuning function instead of software tuning because O2/Bayhub
SD host controller support hardware tuning.
Signed-off-by: ernest.zhang
---
Changes in V7:
Move V6 change item 1 to a seperate patch.
Changes in V6:
1. From module 'sdhci' export t
: ernest.zhang
---
Changes in V7:
Move V6 change item 2 to a seperate patch file
Changes in V6:
1.Move change log to correct place.
2.Change HS200 mode clock frequency from 208MHz to 200MHz to meet
Specification.
Changes in V5:
Modify code format to pass
Add MSI interrupt support if the SD host device can support MSI interrupt.
Signed-off-by: ernest.zhang
---
Changes in V6:
1. Move change log to correct place.
2. Reduce unneeded pr_info prints.
3. In function sdhci_pci_o2_probe_slot, remove using local
variable
Add hardware tuning function instead of software tuning because O2/Bayhub
SD host controller support hardware tuning.
Signed-off-by: ernest.zhang
---
Changes in V6:
1. From module 'sdhci' export the symbols 'sdhci_start_tuning',
'sdhci_end_tuning
: ernest.zhang
---
Changes in V6:
1.Move change log to correct place.
2.Change HS200 mode clock frequency from 208MHz to 200MHz to meet
Specification.
Changes in V5:
Modify code format to pass checkpatch.pl check and add a summary
of what has changed in each
:
Enable MSI interrupt if the MSI capability bit is set in
capability register.
Changes in V3:
None. This patch is add in V4.
Changes in V2:
None. This patch is add in V4.
Changes in V1:
None. This patch is add in V4.
Signed-off-by: ernest.zhang
nges in V2:
Modify code format, and delete unused code path.
Changes in V1:
Add many functions to execute hardware tuning for eMMC 1.8V HS200
mode, the hardware tuning procedure is based on O2/Bayhub hardware
tuning spec.
Signed-off-by: ernest.zhang
---
driver
;next' branch.
Changes in V2:
Modify code format, and delete unused code path.
Changes in V1:
Check PCIe register 0x308 bit 4 and skip eMMC 3.3v initialization
process if it is set to 1.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2mi
-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.c | 193 +++
drivers/mmc/host/sdhci.c | 5 +-
2 files changed, 197 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c
b/drivers/mmc/host/sdhci-pci-o2micro.c
index
PCIe register 0x308 bit 4 and skip eMMC 3.3v initialization
process if it is set to 1.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c
b/drivers/mmc/host/sdhci-pci
Add MSI interrupt support if the SD host device can support MSI interrupt.
Changes: Enable MSI interrupt if the MSI capability bit is set in
capability register.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.c | 17 +
1 file changed, 17 insertions(+)
diff
O2 sd host controllers have a hardware tuning function. In software
tuning mode CPU should send multiple command to host controller but in
hardware tuning mode, CPU need send only one tuning command to sd host
controller. It can improve the speed linux boot from eMMC.
Signed-off-by: ernest.zhang
.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c
b/drivers/mmc/host/sdhci-pci-o2micro.c
index 555970a29c94..8855a416ffd4 100644
--- a/drivers/mmc/host
Add register definition for eMMC HS200 mode. Add bitmask definition
for hardware tuning function.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.h
b/drivers/mmc/host/sdhci-pci
tuning mode CPU should send multiple command to host controller but in
hardware tuning mode, CPU need send only one tuning command to sd host
controller. It can improve the speed linux boot from eMMC.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci-pci-o2micro.c | 218
when opcode equals to MMC_SEND_TUNING_BLOCK_HS200.
Signed-off-by: ernest.zhang
---
drivers/mmc/host/sdhci.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 0d5fcca18c9e..d5b19fc9ea56 100644
--- a/drivers/mmc/host/sd
19 matches
Mail list logo