blob: 86003f411755f02d29a937e547b9191a39cf4b77 [file] [log] [blame]
Wolfram Sang203a0732010-10-11 12:55:21 +02001/*
2 * Copyright 2010 Wolfram Sang <w.sang@pengutronix.de>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; version 2
7 * of the License.
8 */
9
10#ifndef __ASM_ARCH_IMX_ESDHC_H
11#define __ASM_ARCH_IMX_ESDHC_H
12
Wolfram Sang0c6d49c2011-02-26 14:44:39 +010013/**
14 * struct esdhc_platform_data - optional platform data for esdhc on i.MX
15 *
16 * strongly recommended for i.MX25/35, not needed for other variants
17 *
18 * @wp_gpio: gpio for write_protect (-EINVAL if unused)
Wolfram Sang7e29c302011-02-26 14:44:41 +010019 * @cd_gpio: gpio for card_detect interrupt (-EINVAL if unused)
Wolfram Sang0c6d49c2011-02-26 14:44:39 +010020 */
21
Wolfram Sang203a0732010-10-11 12:55:21 +020022struct esdhc_platform_data {
Wolfram Sang0c6d49c2011-02-26 14:44:39 +010023 unsigned int wp_gpio;
Wolfram Sang7e29c302011-02-26 14:44:41 +010024 unsigned int cd_gpio;
Wolfram Sang203a0732010-10-11 12:55:21 +020025};
26#endif /* __ASM_ARCH_IMX_ESDHC_H */