diff options
| author | RD Babiera <rdbabiera@google.com> | 2026-09-25 22:30:00 +0000 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-03 17:04:50 +0200 |
| commit | 8c2b331e6327ead44e72e347ce405c21dd781a99 (patch) | |
| tree | 1b47e95cc7f99b212bf01332c5c0c561137c21ab /include/linux | |
| parent | b19cc01678700920f201aaabf9880059cd513975 (diff) | |
| download | linux-next-8c2b331e6327ead44e72e347ce405c21dd781a99.tar.gz linux-next-8c2b331e6327ead44e72e347ce405c21dd781a99.zip | |
phy: Add USB3 PHY support to Google Tensor SoC USB PHY driver
Add USB3 PHY support for the Google Tensor G5 USB PHY driver.
This patch adds functionality for the usb3_tca register, usb3 clock,
and usb3 reset as defined in google,lga-usb-phy.yaml. Kconfig now lists
USB SuperSpeed support.
Refactor the probe sequence to initialize the USB2 and USB3 PHYs, and then
initialize clocks and resets for both PHYs afterwards.
Refactor set_vbus_valid to reduce duplicated code.
Implement USB3 phy_ops for phy_init, phy_exit, and phy_power_on.
combo_phy_state enum is added to track PHY bringup state across
PHY API calls. google_usb_set_orientation can reprogram the TCA when the
PHY is ready.
google_usb_set_orientation now calls pm_runtime_get_if_active to
guarantee register access. Setting orientation and pm_runtime management
are now handled within phy_mutex.
Signed-off-by: RD Babiera <rdbabiera@google.com>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Neill Kapron <nkapron@google.com>
Link: https://patch.msgid.link/20260925222959.3607769-2-rdbabiera@google.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
