diff options
author | André Draszik <andre.draszik@linaro.org> | 2024-12-06 16:31:05 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-02-13 22:42:52 +0530 |
commit | 0bccdcb3eea93e087887027ff374dac5c3de36cd (patch) | |
tree | f4fd5dd4e8d397f5fbfd6b5c2e86a76ffd6eb14b /scripts/lib/kdoc/kdoc_files.py | |
parent | 21860f340ba76ee042e5431ff92537f89bc11476 (diff) |
phy: exynos5-usbdrd: gs101: configure SS lanes based on orientation
USB SS lanes need to be configured based on the connector orientation -
at most two lanes will be in use for USB (and the remaining two for
alternate modes like DP).
For the USB link to come up in SS, the lane configuration registers
have to be programmed accordingly.
While we still need a way to be notified of the actual connector
orientation and then reprogram the registers accordingly (at the moment
the configuration happens just once during phy_init() and never again),
we can prepare the code doing the configuration to take the orientation
into account.
Do so.
Note: the mutex is needed to synchronize this with the upcoming
connector orientation callback.
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Tested-by: Will McVicker <willmcvicker@google.com>
Link: https://lore.kernel.org/r/20241206-gs101-phy-lanes-orientation-phy-v4-5-f5961268b149@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions