summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-intel.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-19 17:30:41 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2019-04-05 04:21:41 +0300
commit098b7ae8ec431465b319e2157f848df50dc6b7e0 (patch)
tree386debbb38ab1484e6781d4695575ffdfc799102 /drivers/extcon/extcon-intel.h
parentdb8b4aefd17b1ccf108d81a4fbb181c8e50abf0e (diff)
downloadlinux-098b7ae8ec431465b319e2157f848df50dc6b7e0.tar.xz
extcon: intel: Split out some definitions to a common header
We are going to use some definitions in the other Intel extcon drivers, thus, split out them to a common header file. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-intel.h')
-rw-r--r--drivers/extcon/extcon-intel.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-intel.h b/drivers/extcon/extcon-intel.h
new file mode 100644
index 000000000000..0ad645ec7b33
--- /dev/null
+++ b/drivers/extcon/extcon-intel.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Header file for Intel extcon hardware
+ *
+ * Copyright (C) 2019 Intel Corporation. All rights reserved.
+ */
+
+#ifndef __EXTCON_INTEL_H__
+#define __EXTCON_INTEL_H__
+
+enum extcon_intel_usb_id {
+ INTEL_USB_ID_OTG,
+ INTEL_USB_ID_GND,
+ INTEL_USB_ID_FLOAT,
+ INTEL_USB_RID_A,
+ INTEL_USB_RID_B,
+ INTEL_USB_RID_C,
+};
+
+#endif /* __EXTCON_INTEL_H__ */