summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-pci-o2micro.h
diff options
context:
space:
mode:
authorPeter Guo <peter.guo@bayhubtech.com>2014-05-05 12:50:28 +0200
committerChris Ball <chris@printf.net>2014-05-22 08:40:44 -0400
commit706adf6bc31c8e4b2b977e1666a01237e4d10e0d (patch)
treee5eacadd9a5b27e0fbdb0c372e1c1fba85578291 /drivers/mmc/host/sdhci-pci-o2micro.h
parentee526d515ad12e9fee2d2dbfc7f626c0a5c7f417 (diff)
mmc: sdhci-pci-o2micro: Add SeaBird SeaEagle SD3 support
Add O2Micro/BayHubTech chip 8520 subversion B1 SD3.0 support. Add O2Micro/BayHubTech chip 8620 and 8621 SD3.0 support Enable Led function of 8520 chip. Signed-off-by: Peter Guo <peter.guo@bayhubtech.com> Signed-off-by: Adam Lee <adam.lee@canonical.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci-o2micro.h')
-rw-r--r--drivers/mmc/host/sdhci-pci-o2micro.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.h b/drivers/mmc/host/sdhci-pci-o2micro.h
index dbec4c933488..f7ffc908d9a0 100644
--- a/drivers/mmc/host/sdhci-pci-o2micro.h
+++ b/drivers/mmc/host/sdhci-pci-o2micro.h
@@ -57,6 +57,9 @@
#define O2_SD_UHS2_L1_CTRL 0x35C
#define O2_SD_FUNC_REG3 0x3E0
#define O2_SD_FUNC_REG4 0x3E4
+#define O2_SD_LED_ENABLE BIT(6)
+#define O2_SD_FREG0_LEDOFF BIT(13)
+#define O2_SD_FREG4_ENABLE_CLK_SET BIT(22)
#define O2_SD_VENDOR_SETTING 0x110
#define O2_SD_VENDOR_SETTING2 0x1C8