]> git.baikalelectronics.ru Git - kernel.git/commit
phy: Add DisplayPort configuration options
authorYuti Amonkar <yamonkar@cadence.com>
Mon, 6 Jan 2020 12:22:40 +0000 (13:22 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 14 Jan 2020 05:20:19 +0000 (10:50 +0530)
commit17e4ab6b351123d6e6a1170f411a9f353321b1eb
tree1ea9467e7e79347f57f54db001aaa89d2cd3ec62
parenta13e227fab837c1764c33819fe379a2369df2693
phy: Add DisplayPort configuration options

Allow DisplayPort PHYs to be configured through the generic
functions through a custom structure added to the generic union.
The configuration structure is used for reconfiguration of
DisplayPort PHYs during link training operation.

The parameters added here are the ones defined in the DisplayPort
spec v1.4 which include link rate, number of lanes, voltage swing
and pre-emphasis.

Add the DisplayPort phy mode to the generic phy_mode enum.

Signed-off-by: Yuti Amonkar <yamonkar@cadence.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
include/linux/phy/phy-dp.h [new file with mode: 0644]
include/linux/phy/phy.h