mirror of https://gitee.com/openkylin/linux.git
phy: mediatek: Move mtk_hdmi_phy driver into drivers/phy/mediatek folder
mtk_hdmi_phy is currently placed inside mediatek drm driver, but it's more suitable to place a phy driver into phy driver folder, so move mtk_hdmi_phy driver into phy driver folder. Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Tested-by: Frank Wunderlich <frank-w@public-files.de>
This commit is contained in:
parent
a481bf2f0c
commit
b28be59a2e
|
@ -27,10 +27,3 @@ config DRM_MEDIATEK_HDMI
|
|||
select PHY_MTK_HDMI
|
||||
help
|
||||
DRM/KMS HDMI driver for Mediatek SoCs
|
||||
|
||||
config PHY_MTK_HDMI
|
||||
tristate "MediaTek HDMI-PHY Driver"
|
||||
depends on ARCH_MEDIATEK && OF
|
||||
select GENERIC_PHY
|
||||
help
|
||||
Support HDMI PHY for Mediatek SoCs.
|
||||
|
|
|
@ -22,9 +22,3 @@ mediatek-drm-hdmi-objs := mtk_cec.o \
|
|||
mtk_hdmi_ddc.o
|
||||
|
||||
obj-$(CONFIG_DRM_MEDIATEK_HDMI) += mediatek-drm-hdmi.o
|
||||
|
||||
phy-mtk-hdmi-drv-objs := mtk_hdmi_phy.o \
|
||||
mtk_mt2701_hdmi_phy.o \
|
||||
mtk_mt8173_hdmi_phy.o
|
||||
|
||||
obj-$(CONFIG_PHY_MTK_HDMI) += phy-mtk-hdmi-drv.o
|
||||
|
|
|
@ -35,3 +35,10 @@ config PHY_MTK_XSPHY
|
|||
Enable this to support the SuperSpeedPlus XS-PHY transceiver for
|
||||
USB3.1 GEN2 controllers on MediaTek chips. The driver supports
|
||||
multiple USB2.0, USB3.1 GEN2 ports.
|
||||
|
||||
config PHY_MTK_HDMI
|
||||
tristate "MediaTek HDMI-PHY Driver"
|
||||
depends on ARCH_MEDIATEK && OF
|
||||
select GENERIC_PHY
|
||||
help
|
||||
Support HDMI PHY for Mediatek SoCs.
|
||||
|
|
|
@ -6,3 +6,8 @@
|
|||
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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Author: Chunhui Dai <chunhui.dai@mediatek.com>
|
||||
*/
|
||||
|
||||
#include "mtk_hdmi_phy.h"
|
||||
#include "phy-mtk-hdmi.h"
|
||||
|
||||
#define HDMI_CON0 0x00
|
||||
#define RG_HDMITX_DRV_IBIAS 0
|
|
@ -4,7 +4,7 @@
|
|||
* Author: Jie Qiu <jie.qiu@mediatek.com>
|
||||
*/
|
||||
|
||||
#include "mtk_hdmi_phy.h"
|
||||
#include "phy-mtk-hdmi.h"
|
||||
|
||||
#define HDMI_CON0 0x00
|
||||
#define RG_HDMITX_PLL_EN BIT(31)
|
|
@ -4,7 +4,7 @@
|
|||
* Author: Jie Qiu <jie.qiu@mediatek.com>
|
||||
*/
|
||||
|
||||
#include "mtk_hdmi_phy.h"
|
||||
#include "phy-mtk-hdmi.h"
|
||||
|
||||
static int mtk_hdmi_phy_power_on(struct phy *phy);
|
||||
static int mtk_hdmi_phy_power_off(struct phy *phy);
|
Loading…
Reference in New Issue