Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2220862pxb; Fri, 5 Feb 2021 11:57:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJysdtQgguH+ljHq8w+pWBpksbLLvnQrjNLwqzVsVTmPCgCx9WjmQDs1xeD4hER4fEFvewR+ X-Received: by 2002:a17:906:3a89:: with SMTP id y9mr5507267ejd.4.1612555027885; Fri, 05 Feb 2021 11:57:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612555027; cv=none; d=google.com; s=arc-20160816; b=ltJkZfAM/NSaa9ASpqY0Z5z1eDyhNTZ9SJnEvTBJ8vNrGGb+EQAwYcLx4zmIHJu/9S qzG+KbOsWToQQDAmnGT6OQ5vra9HnndK8PvXUmlfORUtbGkRtFFvEN+rQGesL8RMikfl w+FZVFZfS5jmleBjv6tpSgjet75fZ1rvLUjEavgEUHTd7dOe5RA07OZ4G9MzBVmthWJ7 aDSbqSV/VR9Cj8nPTHaQShbnXR4QuH+OBKFN+IEBBgdQXFeBDGcalI//bkrIllmwWnNO ltje6L2AOksCRYfsCmKmZExqMRhxedzsHjSHwL9GOW8iq0qhTotVWwda/8UmsdzzDhvS XvOQ== 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:ironport-sdr:ironport-sdr; bh=k510SeBMDjaCXoRV7fxUkRaFeyJHe4fOpHYfbxIioFw=; b=n55xujxUxB3nlKAoqndVqSifSLh2ka1EJGeDHH8Bu4s/L2Zan6+LAzERery4vNvtXR RKBegfplfxNbjpZM9LqRw6P8C5eEXVtT+syGkttGXVVQSShGfFcz2gJuQlOgWcjMnDpF YFARoP0CBVBAb14iSANPsEIfVvWPesw74XUC1bxDIMachfm5Z69P6aLbs0hQiFOcfXTH 6EeE7gPr1uV6CU+12PHdwifbrhl8IXXSzhO7sPwM+2zswE6taXPqMi0W+6DHABUUNuLc 73gUjcKQ1u76GHIXGPIm6XVdye5bmZ/HZPaHUxAQhORoGFsqHvUnP9ab1FXN1Kh8akQd OilQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si6672876edv.67.2021.02.05.11.56.42; Fri, 05 Feb 2021 11:57:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233054AbhBESMe (ORCPT + 99 others); Fri, 5 Feb 2021 13:12:34 -0500 Received: from mga01.intel.com ([192.55.52.88]:26074 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbhBESK1 (ORCPT ); Fri, 5 Feb 2021 13:10:27 -0500 IronPort-SDR: vJKumvLz/UU0rnx3c6sn1GpTL1NPWUj/Nio6qRPRdcxg+prcGy9M4uNiK4h0ZPB55PzOfsFl66 w24vJFX8z62w== X-IronPort-AV: E=McAfee;i="6000,8403,9886"; a="200493375" X-IronPort-AV: E=Sophos;i="5.81,156,1610438400"; d="scan'208";a="200493375" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2021 11:52:05 -0800 IronPort-SDR: 2wG+GUwyCmZCxlBs+Z4bhT8v1Jdljx2cjfoprBCaZQBhMd3moqntQ0K5LxTqPglht7NDfODBb3 vp4SnneUdbNA== X-IronPort-AV: E=Sophos;i="5.81,156,1610438400"; d="scan'208";a="434580877" Received: from glacier.sc.intel.com ([10.3.62.63]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 05 Feb 2021 11:52:05 -0800 From: Rajmohan Mani To: Benson Leung , Enric Balletbo i Serra , Guenter Roeck , linux-kernel@vger.kernel.org Cc: heikki.krogerus@linux.intel.com, pmalani@chromium.org, Rajmohan Mani Subject: [PATCH 0/2] Add support for Type-C mux events without port partners Date: Fri, 5 Feb 2021 11:51:11 -0800 Message-Id: <20210205195113.20277-1-rajmohan.mani@intel.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are cases, where support for Type-C mux events is needed, that does not have port partners. Enabling communication to a retimer connected to an USB4 port, when no devices are attached, is a case that requires support for handling Type-C mux events without port partners. The following patches[1] are needed on top of the mainline kernel to be able to verify these patches. commit 8553a979fcd0 ("platform/chrome: cros_ec_typec: Send mux configuration acknowledgment to EC") commit ba8ce515454e ("platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported()") commit 156309096542 ("platform/chrome: cros_ec_typec: Register plug altmodes") commit f4edab68e101 ("platform/chrome: cros_ec_typec: Register SOP' cable plug") commit 599229763911 ("platform/chrome: cros_ec_typec: Set partner num_altmodes") commit 72d6e32bd85b ("platform/chrome: cros_ec_typec: Store cable plug type") commit 8b46a212ad11 ("platform/chrome: cros_ec_typec: Register cable") commit c097f229b71e ("platform/chrome: cros_ec_typec: Rename discovery struct") commit 8fab2755191f ("platform/chrome: cros_ec_typec: Factor out PD identity parsing") commit a906f45d1480 ("platform/chrome: cros_ec_typec: Make disc_done flag partner-only") [1]: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/ linux.git/log/?h=cros-ec-typec-for-5.12 Rajmohan Mani (2): platform/chrome: cros_ec_typec: Skip port partner check in configure_mux() platform/chrome: cros_ec_types: Support disconnect events without partners drivers/platform/chrome/cros_ec_typec.c | 27 ++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) -- 2.30.0