![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * Copyright (c) 2014 eGauge Systems LLC 0004 * Contributed by David Mosberger-Tang <davidm@egauge.net> 0005 * 0006 * Platform-data structure for MAX3421 USB HCD driver. 0007 * 0008 */ 0009 #ifndef MAX3421_HCD_PLAT_H_INCLUDED 0010 #define MAX3421_HCD_PLAT_H_INCLUDED 0011 0012 /* 0013 * This structure defines the mapping of certain auxiliary functions to the 0014 * MAX3421E GPIO pins. The chip has eight GP inputs and eight GP outputs. 0015 * A value of 0 indicates that the pin is not used/wired to anything. 0016 * 0017 * At this point, the only control the max3421-hcd driver cares about is 0018 * to control Vbus (5V to the peripheral). 0019 */ 0020 struct max3421_hcd_platform_data { 0021 u8 vbus_gpout; /* pin controlling Vbus */ 0022 u8 vbus_active_level; /* level that turns on power */ 0023 }; 0024 0025 #endif /* MAX3421_HCD_PLAT_H_INCLUDED */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |