From: Utkarsh Patel <utkarsh.h.patel@intel.com>
To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Cc: heikki.krogerus@linux.intel.com,
andriy.shevchenko@linux.intel.com, pmalani@chromium.org,
bleung@chromium.org, Utkarsh Patel <utkarsh.h.patel@intel.com>
Subject: [PATCH 2/4] platform/chrome: cros_ec: Add Displayport Alternatemode 2.1 feature flag
Date: Fri, 11 Aug 2023 14:07:33 -0700 [thread overview]
Message-ID: <20230811210735.159529-3-utkarsh.h.patel@intel.com> (raw)
In-Reply-To: <20230811210735.159529-1-utkarsh.h.patel@intel.com>
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@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Utkarsh Patel <utkarsh.h.patel@intel.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
next prev parent reply other threads:[~2023-08-11 20:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 21:07 [PATCH 0/4] Displayport Alternate Mode 2.1 Support Utkarsh Patel
2023-08-11 21:07 ` [PATCH 1/4] usb: typec: Add " Utkarsh Patel
2023-08-11 21:07 ` Utkarsh Patel [this message]
2023-08-11 21:07 ` [PATCH 3/4] platform/chrome: cros_ec_typec: Add Displayport Alternatemode " Utkarsh Patel
2023-08-18 17:16 ` Prashant Malani
2023-08-21 17:34 ` Patel, Utkarsh H
2023-08-21 23:40 ` Prashant Malani
2023-08-25 0:02 ` Patel, Utkarsh H
2023-08-11 21:07 ` [PATCH 4/4] usb: typec: intel_pmc_mux: Configure Displayport Alternate mode 2.1 Utkarsh Patel
2023-08-12 9:47 ` Sergey Shtylyov
2023-08-14 14:48 ` Andy Shevchenko
2023-08-14 15:06 ` Andy Shevchenko
2023-08-22 12:09 ` [PATCH 0/4] Displayport Alternate Mode 2.1 Support Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230811210735.159529-3-utkarsh.h.patel@intel.com \
--to=utkarsh.h.patel@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bleung@chromium.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pmalani@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox