forked from Minki/linux
6a23afad44
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>
21 lines
694 B
Makefile
21 lines
694 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the phy drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_PHY_MTK_DP) += phy-mtk-dp.o
|
|
obj-$(CONFIG_PHY_MTK_PCIE) += phy-mtk-pcie.o
|
|
obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
|
|
obj-$(CONFIG_PHY_MTK_UFS) += phy-mtk-ufs.o
|
|
obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o
|
|
|
|
phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o
|
|
phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o
|
|
phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o
|
|
obj-$(CONFIG_PHY_MTK_HDMI) += phy-mtk-hdmi-drv.o
|
|
|
|
phy-mtk-mipi-dsi-drv-y := phy-mtk-mipi-dsi.o
|
|
phy-mtk-mipi-dsi-drv-y += phy-mtk-mipi-dsi-mt8173.o
|
|
phy-mtk-mipi-dsi-drv-y += phy-mtk-mipi-dsi-mt8183.o
|
|
obj-$(CONFIG_PHY_MTK_MIPI_DSI) += phy-mtk-mipi-dsi-drv.o
|