Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2974135rdb; Tue, 12 Sep 2023 19:38:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3d08/ji8+efwYjDuFdrjCiCLnU9fvFNgO/s/YOPx9zfclnNdgDWc2LHUFS+6XKlrLMa+4 X-Received: by 2002:a05:6808:23c9:b0:3a8:6144:2b0c with SMTP id bq9-20020a05680823c900b003a861442b0cmr1932332oib.18.1694572739106; Tue, 12 Sep 2023 19:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694572739; cv=none; d=google.com; s=arc-20160816; b=PI9Pog7t7MJrhc/uT4Iw3vAU8nOXWHkVumqYriKZYXD8OvMqOI4WEQRui6wq6Ij6U0 A1Z6tiHcer76c8OQHuZXozovimJhxP/k+MEE0ZgRFXYlJnqT1gsdnmiwX1pPcFpFzqDz uOi02psn62JGmJrXbZ5QNV7+DyCee3CXCMk5TmH3Bsg+JnriBOK2s9SbQEb88EjX6kxs O7FqBH0OkNoihLBFUruyVQYMOlThvWmLGQIY5KWWwU8UC6Pk4+vbg6K+ndf0xrw0rL/r tXbUSeFQ6DWKA4dZgm08a5bvfuV1I4K08RnbKXKNMLQNMdNFTxHDu/vEV7Tv7hSES0ph +cmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jEMxhwQE7ZCMq10ZDydYIuEGDBZKKD8sEtBtKaBodvg=; fh=ghnhCzHlHkXQSOMThTQajbsvpwHhFJS4a5Vb99Jn4qI=; b=CDk3vJk5EemSy2RjUwcNx6xUEYRTFr+2TTP35fMgkxGhi2B2hb84GStmrXbd6w6Aug p5bftJ3Pc2UVxCaFGmApojGvKm3JS7y9bkShlM8H56tIjeZTCUXbdneAtlKDDyfwZkQz Z/wLiN4fKcbVkbsRg/+L5Q9u9N8eUfz1QrxWsW+MPrYaD3nNT+x4UD830Fj4qAXXM3Uf RHd0pLtZwxQro6BqN+4gg3s+GFR1BJoeTwZF+g7RJsI+davbLqKxT9y030lrj3XVmMZ/ a/Ue1vk0N+uA5rKwMbHnSgT6FOXl8F3PpsHoGDD4JIDOnRwrc4e2Jq86bpyiSRGhNHCF Oc3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=axClyJDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l129-20020a633e87000000b005741597ab7fsi9146619pga.96.2023.09.12.19.38.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:38:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=axClyJDT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A67B4807D8D4; Mon, 11 Sep 2023 21:34:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjILDT5 (ORCPT + 99 others); Mon, 11 Sep 2023 23:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240473AbjILCl3 (ORCPT ); Mon, 11 Sep 2023 22:41:29 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 636CCF6A8A; Mon, 11 Sep 2023 19:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694484409; x=1726020409; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=9LhfAq2q3BUbfDKBgwcZ7LGfRN2/Wz59hW9/3Tb5yq0=; b=axClyJDT5mjI8hGLXIZ15YiniMOz/AkZcKnnnsMyQK0GOYNbz/ZAnyiA Kp59UyoKiKzzTwTcs2THym9Ie3Xsdc/GkeKzRQXsfllEABerY3PwV+WB1 Q/V7CLUJrnn3ybQK+UoGqAz2aw7dcRH2kLQtsXe3g6tj7QY3hs6vvyTbB 1Q0GqpdEkYBrO/MgzTbb38D7Eq85s8/z6xJZkGDKfEyl1MvB3lDjtrZKd A6H6iFBu1fAVf8YgFRTyj/ZkXLaIecAB/hpSzcMBC1u8E2V7D3waBPDVZ cjwZ3/uRQuZnpzOG4PtfMW8+WPRxYa/fQ5qodqURWD9+SrpeKakT1RU9b g==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="382057881" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="382057881" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2023 17:58:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="858570578" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="858570578" Received: from uhpatel-desk4.jf.intel.com ([10.23.15.200]) by fmsmga002.fm.intel.com with ESMTP; 11 Sep 2023 17:58:07 -0700 From: Utkarsh Patel To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, heikki.krogerus@linux.intel.com, pmalani@chromium.org Cc: chrome-platform@lists.linux.dev, andriy.shevchenko@linux.intel.com, bleung@chromium.org, Utkarsh Patel Subject: [PATCH v3 0/4] Displayport Alternate Mode 2.1 Support Date: Mon, 11 Sep 2023 17:57:48 -0700 Message-Id: <20230912005752.1532888-1-utkarsh.h.patel@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 11 Sep 2023 21:34:11 -0700 (PDT) This series enabels cable identification flow required for Displayport Alternate Mode 2.1 support. Please add this series to usb-next. Changes in v3: - Removed [PATCH 3/5] usb: pd: Add helper macro to get Type C cable speed instead added the helper function in [PATCH 3/4]. - In [PATCH 3/4] Removed use of variable cable_speed. Changes in v2: - Added two new patches [PATCH 2/5] and [PATCH 3/5] in to this series. - Removed [PATCH 2/4] platform/chrome: cros_ec: Add Displayport Alternatemode 2.1 feature flag - In [PATCH 4/5] Removed feature flag and separate function for DP2.1. - In [PATCH 4/5] used cable vdos instead of host commands to get cable details. Utkarsh Patel (4): usb: typec: Add Displayport Alternate Mode 2.1 Support usb: typec: Add Active or Passive cable defination to cable discover mode VDO platform/chrome: cros_ec_typec: Add Displayport Alternatemode 2.1 Support usb: typec: intel_pmc_mux: Configure Displayport Alternate mode 2.1 drivers/platform/chrome/cros_ec_typec.c | 28 ++++++++++++++++++++++++ drivers/usb/typec/altmodes/displayport.c | 5 ++++- drivers/usb/typec/mux/intel_pmc_mux.c | 24 ++++++++++++++++++++ drivers/usb/typec/ucsi/displayport.c | 2 +- drivers/usb/typec/ucsi/ucsi_ccg.c | 4 ++-- include/linux/usb/pd_vdo.h | 1 + include/linux/usb/typec_dp.h | 28 ++++++++++++++++++++---- include/linux/usb/typec_tbt.h | 1 + 8 files changed, 85 insertions(+), 8 deletions(-) -- 2.25.1