[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240207145851.1603237-1-heikki.krogerus@linux.intel.com>
Date: Wed, 7 Feb 2024 16:58:49 +0200
From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To: Prashant Malani <pmalani@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Benson Leung <bleung@...omium.org>,
Tzung-Bi Shih <tzungbi@...nel.org>,
Guenter Roeck <groeck@...omium.org>,
Emilie Roberts <hadrosaur@...gle.com>,
"Nyman, Mathias" <mathias.nyman@...el.com>,
"Regupathy, Rajaram" <rajaram.regupathy@...el.com>,
"Radjacoumar, Shyam Sundar" <ssradjacoumar@...gle.com>,
Samuel Jacob <samjaco@...gle.com>,
linux-usb@...r.kernel.org,
chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] platform/chrome: typec: xHCI DbC
Hi,
In order to use xHCI DbC we need to allow the USB to be muxed to xHCI
even when the connector is in device role. That's because in DbC mode
the xHCI is the USB device controller.
In the first patch I'm just adding symlinks between the USB role
switches and their USB Type-C connectors. That way the user space can
find the correct role switch simply by following the symlink.
The second patch modifies cros_ec_typec.c. I'm assigning the PLD
(Physical Location of Device) hash of the port to the USB role switch
when it's missing from the ACPI tables. That should make sure the
first patch always works.
Heikki Krogerus (2):
usb: roles: Link the switch to its connector
platform/chrome: cros_ec_typec: Make sure the USB role switch has PLD
.../ABI/testing/sysfs-class-usb_role | 6 +++
drivers/platform/chrome/cros_ec_typec.c | 11 +++++
drivers/usb/roles/class.c | 40 ++++++++++++++++++-
3 files changed, 55 insertions(+), 2 deletions(-)
--
2.43.0
Powered by blists - more mailing lists