diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /include/linux/mmc/sprd-sdhci.h | |
Diffstat (limited to 'include/linux/mmc/sprd-sdhci.h')
| -rw-r--r-- | include/linux/mmc/sprd-sdhci.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/linux/mmc/sprd-sdhci.h b/include/linux/mmc/sprd-sdhci.h new file mode 100644 index 00000000..909839b7 --- /dev/null +++ b/include/linux/mmc/sprd-sdhci.h @@ -0,0 +1,47 @@ + +#ifndef __SPRD_SDHCI_H__ +#define __SPRD_SDHCI_H__ + +#include <linux/mmc/sdhci.h> +#include <linux/mmc/mmc.h> +#include <linux/mmc/host.h> +#include <linux/mmc/card.h> +#include <linux/mmc/slot-gpio.h> + +enum { + SDC_SLAVE_SD = 0, + SDC_SLAVE_WIFI, + SDC_SLAVE_CP, + SDC_SLAVE_EMMC +}; + +struct sprd_sdhci_host_platdata { + unsigned int runtime; + unsigned int keep_power; + unsigned int caps; + unsigned int caps2; + unsigned int quirks; + unsigned int quirks2; + unsigned int host_caps_mask; + int detect_gpio; + const char *vdd_extmmc; + const char *vdd_vmmc; + const char *vdd_vqmmc; + unsigned int vqmmc_voltage_level; + unsigned int vdd_voltage_level[4]; + const char *clk_name; + const char *clk_parent_name; + int max_frequency; + unsigned int pinmap_offset; + unsigned int d3_gpio; + unsigned int d3_index; + unsigned int sd_func; + unsigned int gpio_func; + unsigned int enb_bit, rst_bit; + unsigned int enb_reg, rst_reg; + unsigned int write_delay; + unsigned int read_pos_delay; + unsigned int read_neg_delay; +}; + +#endif |
