diff options
author | Hemant Kumar <hemantk@codeaurora.org> | 2016-05-16 16:31:00 -0700 |
---|---|---|
committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-18 13:39:47 -0700 |
commit | fe77e532290ee3fdcbfd9d15db28c17eab44c93b (patch) | |
tree | cc98443c5a64b69ef0e24563af88d9cc3995c4b6 /include | |
parent | 066d3d627b0ecd76ed4806582a0c8845e7a5ffeb (diff) |
extcon: Add support for type-c connector orientation
Type-C cable can be connected in two different orientations.
Connector orientation information is required to configure
super speed phy lane. Extcon driver provides this information
using EXTCON_USB_CC.
Change-Id: Ib2c86970b30cb575146438611a11fde17ab106e8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/extcon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 7abf674c388c..faf9ae79ca3c 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -55,6 +55,9 @@ #define EXTCON_JACK_SPDIF_IN 26 /* Sony Philips Digital InterFace */ #define EXTCON_JACK_SPDIF_OUT 27 +/* connector orientation 0 - CC1, 1 - CC2 */ +#define EXTCON_USB_CC 28 + /* Display external connector */ #define EXTCON_DISP_HDMI 40 /* High-Definition Multimedia Interface */ #define EXTCON_DISP_MHL 41 /* Mobile High-Definition Link */ |