diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mmc-esdhc-imx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmc-esdhc-imx.h b/include/linux/platform_data/mmc-esdhc-imx.h index d44912d81578..75f70f6ac137 100644 --- a/include/linux/platform_data/mmc-esdhc-imx.h +++ b/include/linux/platform_data/mmc-esdhc-imx.h | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #ifndef __ASM_ARCH_IMX_ESDHC_H | 10 | #ifndef __ASM_ARCH_IMX_ESDHC_H |
| 11 | #define __ASM_ARCH_IMX_ESDHC_H | 11 | #define __ASM_ARCH_IMX_ESDHC_H |
| 12 | 12 | ||
| 13 | #include <linux/types.h> | ||
| 14 | |||
| 13 | enum wp_types { | 15 | enum wp_types { |
| 14 | ESDHC_WP_NONE, /* no WP, neither controller nor gpio */ | 16 | ESDHC_WP_NONE, /* no WP, neither controller nor gpio */ |
| 15 | ESDHC_WP_CONTROLLER, /* mmc controller internal WP */ | 17 | ESDHC_WP_CONTROLLER, /* mmc controller internal WP */ |
| @@ -32,6 +34,7 @@ enum cd_types { | |||
| 32 | * @cd_gpio: gpio for card_detect interrupt | 34 | * @cd_gpio: gpio for card_detect interrupt |
| 33 | * @wp_type: type of write_protect method (see wp_types enum above) | 35 | * @wp_type: type of write_protect method (see wp_types enum above) |
| 34 | * @cd_type: type of card_detect method (see cd_types enum above) | 36 | * @cd_type: type of card_detect method (see cd_types enum above) |
| 37 | * @support_vsel: indicate it supports 1.8v switching | ||
| 35 | */ | 38 | */ |
| 36 | 39 | ||
| 37 | struct esdhc_platform_data { | 40 | struct esdhc_platform_data { |
| @@ -41,5 +44,7 @@ struct esdhc_platform_data { | |||
| 41 | enum cd_types cd_type; | 44 | enum cd_types cd_type; |
| 42 | int max_bus_width; | 45 | int max_bus_width; |
| 43 | unsigned int f_max; | 46 | unsigned int f_max; |
| 47 | bool support_vsel; | ||
| 48 | unsigned int delay_line; | ||
| 44 | }; | 49 | }; |
| 45 | #endif /* __ASM_ARCH_IMX_ESDHC_H */ | 50 | #endif /* __ASM_ARCH_IMX_ESDHC_H */ |
