Skip to content

Commit 06c47f2

Browse files
right-0903gregkh
authored andcommitted
usb: typec: ucsi: Add a macro definition for UCSI v1.0
Many platforms from Qualcomm(before X elite) still use UCSI v1.0, part of them hardcoded the version number to dsdt, add this for them. Signed-off-by: Pengyu Luo <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 66e0ea3 commit 06c47f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/usb/typec/ucsi/ucsi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ struct dentry;
3030
#define UCSIv2_MESSAGE_OUT 272
3131

3232
/* UCSI versions */
33+
#define UCSI_VERSION_1_0 0x0100
3334
#define UCSI_VERSION_1_1 0x0110
3435
#define UCSI_VERSION_1_2 0x0120
3536
#define UCSI_VERSION_2_0 0x0200

0 commit comments

Comments
 (0)