xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / max3421-hcd.h
blob5947a6f43d602c5acda66fdf8d005ecb5dc650b4
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2014 eGauge Systems LLC
4 * Contributed by David Mosberger-Tang <davidm@egauge.net>
6 * Platform-data structure for MAX3421 USB HCD driver.
8 */
9 #ifndef MAX3421_HCD_PLAT_H_INCLUDED
10 #define MAX3421_HCD_PLAT_H_INCLUDED
13 * This structure defines the mapping of certain auxiliary functions to the
14 * MAX3421E GPIO pins. The chip has eight GP inputs and eight GP outputs.
15 * A value of 0 indicates that the pin is not used/wired to anything.
17 * At this point, the only control the max3421-hcd driver cares about is
18 * to control Vbus (5V to the peripheral).
20 struct max3421_hcd_platform_data {
21 u8 vbus_gpout; /* pin controlling Vbus */
22 u8 vbus_active_level; /* level that turns on power */
25 #endif /* MAX3421_HCD_PLAT_H_INCLUDED */