Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / include / linux / platform_data / max3421-hcd.h
blob0303d1970084d8324075ba239adafd998de4edf8
1 /*
2 * Copyright (c) 2014 eGauge Systems LLC
3 * Contributed by David Mosberger-Tang <davidm@egauge.net>
5 * Platform-data structure for MAX3421 USB HCD driver.
7 */
8 #ifndef MAX3421_HCD_PLAT_H_INCLUDED
9 #define MAX3421_HCD_PLAT_H_INCLUDED
12 * This structure defines the mapping of certain auxiliary functions to the
13 * MAX3421E GPIO pins. The chip has eight GP inputs and eight GP outputs.
14 * A value of 0 indicates that the pin is not used/wired to anything.
16 * At this point, the only control the max3421-hcd driver cares about is
17 * to control Vbus (5V to the peripheral).
19 struct max3421_hcd_platform_data {
20 u8 vbus_gpout; /* pin controlling Vbus */
21 u8 vbus_active_level; /* level that turns on power */
24 #endif /* MAX3421_HCD_PLAT_H_INCLUDED */