Skip to content

Commit cd0cbeb

Browse files
author
Desnes Nunes
committed
usb: typec: ucsi: Add a macro definition for UCSI v1.0
JIRA: https://issues.redhat.com/browse/RHEL-78931 commit 06c47f2 Author: Pengyu Luo <[email protected]> Date: Tue, 14 Jan 2025 01:51:25 +0800 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]> Signed-off-by: Desnes Nunes <[email protected]>
1 parent 75db648 commit cd0cbeb

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)