OSDN Git Service

phy: phy-mtk-dp: Add driver for DP phy
authorMarkus Schneider-Pargmann <msp@baylibre.com>
Fri, 24 Jun 2022 06:27:25 +0000 (14:27 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 Jul 2022 06:58:09 +0000 (12:28 +0530)
commit6a23afad443a8e067c7a9b77e4d2409cac32d79b
tree150036c82beca17b5d8680d02a67cf340768a96b
parentf6723b8495360ce3f99233d70ed8416a2ac01fbb
phy: phy-mtk-dp: Add driver for DP phy

This is a new driver that supports the integrated DisplayPort phy for
mediatek SoCs, especially the mt8195. The phy is integrated into the
DisplayPort controller and will be created by the mtk-dp driver. This
driver expects a struct regmap to be able to work on the same registers
as the DisplayPort controller. It sets the device data to be the struct
phy so that the DisplayPort controller can easily work with it.

The driver does not have any devicetree bindings because the datasheet
does not list the controller and the phy as distinct units.

The interaction with the controller can be covered by the configure
callback of the phy framework and its displayport parameters.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
[Bo-Chen: Modify reviewers' comments.]
Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220624062725.4095-1-rex-bc.chen@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
MAINTAINERS
drivers/phy/mediatek/Kconfig
drivers/phy/mediatek/Makefile
drivers/phy/mediatek/phy-mtk-dp.c [new file with mode: 0644]