]> Git Repo - J-linux.git/blob - include/linux/usb/pd_ext_sdb.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[J-linux.git] / include / linux / usb / pd_ext_sdb.h
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (c) 2017 Dialog Semiconductor
4  *
5  * Author: Adam Thomson <[email protected]>
6  */
7
8 #ifndef __LINUX_USB_PD_EXT_SDB_H
9 #define __LINUX_USB_PD_EXT_SDB_H
10
11 /* SDB : Status Data Block */
12 enum usb_pd_ext_sdb_fields {
13         USB_PD_EXT_SDB_INTERNAL_TEMP = 0,
14         USB_PD_EXT_SDB_PRESENT_INPUT,
15         USB_PD_EXT_SDB_PRESENT_BATT_INPUT,
16         USB_PD_EXT_SDB_EVENT_FLAGS,
17         USB_PD_EXT_SDB_TEMP_STATUS,
18         USB_PD_EXT_SDB_DATA_SIZE,
19 };
20
21 /* Event Flags */
22 #define USB_PD_EXT_SDB_EVENT_OCP                BIT(1)
23 #define USB_PD_EXT_SDB_EVENT_OTP                BIT(2)
24 #define USB_PD_EXT_SDB_EVENT_OVP                BIT(3)
25 #define USB_PD_EXT_SDB_EVENT_CF_CV_MODE         BIT(4)
26
27 #endif /* __LINUX_USB_PD_EXT_SDB_H */
This page took 0.031236 seconds and 4 git commands to generate.