]> Git Repo - J-linux.git/blob - include/linux/platform_data/usb3503.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[J-linux.git] / include / linux / platform_data / usb3503.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USB3503_H__
3 #define __USB3503_H__
4
5 #define USB3503_I2C_NAME        "usb3503"
6
7 #define USB3503_OFF_PORT1       (1 << 1)
8 #define USB3503_OFF_PORT2       (1 << 2)
9 #define USB3503_OFF_PORT3       (1 << 3)
10
11 enum usb3503_mode {
12         USB3503_MODE_UNKNOWN,
13         USB3503_MODE_HUB,
14         USB3503_MODE_STANDBY,
15         USB3503_MODE_BYPASS,
16 };
17
18 struct usb3503_platform_data {
19         enum usb3503_mode       initial_mode;
20         u8      port_off_mask;
21 };
22
23 #endif
This page took 0.029347 seconds and 4 git commands to generate.