xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / usb3503.h
blobe049d51c1353e4db766417cf88b79ba2e605f6a0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USB3503_H__
3 #define __USB3503_H__
5 #define USB3503_I2C_NAME "usb3503"
7 #define USB3503_OFF_PORT1 (1 << 1)
8 #define USB3503_OFF_PORT2 (1 << 2)
9 #define USB3503_OFF_PORT3 (1 << 3)
11 enum usb3503_mode {
12 USB3503_MODE_UNKNOWN,
13 USB3503_MODE_HUB,
14 USB3503_MODE_STANDBY,
17 struct usb3503_platform_data {
18 enum usb3503_mode initial_mode;
19 u8 port_off_mask;
20 int gpio_intn;
21 int gpio_connect;
22 int gpio_reset;
25 #endif