[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230811210735.159529-3-utkarsh.h.patel@intel.com>
Date: Fri, 11 Aug 2023 14:07:33 -0700
From: Utkarsh Patel <utkarsh.h.patel@...el.com>
To: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Cc: heikki.krogerus@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
pmalani@...omium.org, bleung@...omium.org,
Utkarsh Patel <utkarsh.h.patel@...el.com>
Subject: [PATCH 2/4] platform/chrome: cros_ec: Add Displayport Alternatemode 2.1 feature flag
Update EC command header to include feature flag for Displayport
Alternatemode 2.1 support.
This change also brings in corresponding EC header updates from the EC code
base [1].
Link: https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/include/ec_commands.h [1]
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
Signed-off-by: Utkarsh Patel <utkarsh.h.patel@...el.com>
---
include/linux/platform_data/cros_ec_commands.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
index ab721cf13a98..f2b095107555 100644
--- a/include/linux/platform_data/cros_ec_commands.h
+++ b/include/linux/platform_data/cros_ec_commands.h
@@ -1312,6 +1312,11 @@ enum ec_feature_code {
* The EC supports the AP composing VDMs for us to send.
*/
EC_FEATURE_TYPEC_AP_VDM_SEND = 46,
+ /*
+ * The EC supports DP2.1 capability.
+ */
+ EC_FEATURE_TYPEC_DP2_1 = 50,
+
};
#define EC_FEATURE_MASK_0(event_code) BIT(event_code % 32)
--
2.25.1
Powered by blists - more mailing lists