ARM: gemini: remove unnecessary mdio-gpio includes
[linux-2.6/btrfs-unstable.git] / include / linux / mdio-gpio.h
blob11f00cdabe3d463b8355c4cd3c328b218976d507
1 /*
2 * MDIO-GPIO bus platform data structures
4 * Copyright (C) 2008, Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
11 #ifndef __LINUX_MDIO_GPIO_H
12 #define __LINUX_MDIO_GPIO_H
14 #include <linux/mdio-bitbang.h>
16 struct mdio_gpio_platform_data {
17 /* GPIO numbers for bus pins */
18 unsigned int mdc;
19 unsigned int mdio;
20 unsigned int mdo;
22 bool mdc_active_low;
23 bool mdio_active_low;
24 bool mdo_active_low;
26 u32 phy_mask;
27 u32 phy_ignore_ta_mask;
28 int irqs[PHY_MAX_ADDR];
29 /* reset callback */
30 int (*reset)(struct mii_bus *bus);
33 #endif /* __LINUX_MDIO_GPIO_H */