Home
last modified time | relevance | path

Searched refs:hdmi_phy (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/phy/mediatek/
Dphy-mtk-hdmi-mt2701.c70 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local
72 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON7, RG_HTPLL_AUTOK_EN); in mtk_hdmi_pll_prepare()
73 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_RLH_EN); in mtk_hdmi_pll_prepare()
74 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_POSDIV_MASK); in mtk_hdmi_pll_prepare()
75 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_EN_MBIAS); in mtk_hdmi_pll_prepare()
77 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON6, RG_HTPLL_EN); in mtk_hdmi_pll_prepare()
78 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_EN_TX_CKLDO); in mtk_hdmi_pll_prepare()
79 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_EN_SLDO_MASK); in mtk_hdmi_pll_prepare()
81 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON2, RG_HDMITX_MBIAS_LPF_EN); in mtk_hdmi_pll_prepare()
82 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_EN_SER_MASK); in mtk_hdmi_pll_prepare()
[all …]
Dphy-mtk-hdmi.c18 void mtk_hdmi_phy_clear_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_clear_bits() argument
21 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_clear_bits()
29 void mtk_hdmi_phy_set_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_set_bits() argument
32 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_set_bits()
40 void mtk_hdmi_phy_mask(struct mtk_hdmi_phy *hdmi_phy, u32 offset, in mtk_hdmi_phy_mask() argument
43 void __iomem *reg = hdmi_phy->regs + offset; in mtk_hdmi_phy_mask()
58 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_power_on() local
61 ret = clk_prepare_enable(hdmi_phy->pll); in mtk_hdmi_phy_power_on()
65 hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); in mtk_hdmi_phy_power_on()
71 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy); in mtk_hdmi_phy_power_off() local
[all …]
Dphy-mtk-hdmi-mt8173.c112 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local
114 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_AUTOK_EN); in mtk_hdmi_pll_prepare()
115 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_POSDIV); in mtk_hdmi_pll_prepare()
116 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON3, RG_HDMITX_MHLCK_EN); in mtk_hdmi_pll_prepare()
117 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_EN); in mtk_hdmi_pll_prepare()
119 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_EN); in mtk_hdmi_pll_prepare()
121 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_LPF_EN); in mtk_hdmi_pll_prepare()
122 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_TXDIV_EN); in mtk_hdmi_pll_prepare()
129 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_unprepare() local
131 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_TXDIV_EN); in mtk_hdmi_pll_unprepare()
[all …]
Dphy-mtk-hdmi.h26 void (*hdmi_phy_enable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
27 void (*hdmi_phy_disable_tmds)(struct mtk_hdmi_phy *hdmi_phy);
45 void mtk_hdmi_phy_clear_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset,
47 void mtk_hdmi_phy_set_bits(struct mtk_hdmi_phy *hdmi_phy, u32 offset,
49 void mtk_hdmi_phy_mask(struct mtk_hdmi_phy *hdmi_phy, u32 offset,
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi.h22 struct hdmi_phy;
58 struct hdmi_phy *phy;
146 void (*powerup)(struct hdmi_phy *phy, unsigned long int pixclock);
147 void (*powerdown)(struct hdmi_phy *phy);
159 struct hdmi_phy { struct
168 static inline void hdmi_phy_write(struct hdmi_phy *phy, u32 reg, u32 data) in hdmi_phy_write() argument
173 static inline u32 hdmi_phy_read(struct hdmi_phy *phy, u32 reg) in hdmi_phy_read()
178 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy);
179 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy);
180 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock);
[all …]
Dhdmi_phy.c10 static int msm_hdmi_phy_resource_init(struct hdmi_phy *phy) in msm_hdmi_phy_resource_init()
61 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_enable()
86 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_disable()
101 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) in msm_hdmi_phy_powerup()
109 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy) in msm_hdmi_phy_powerdown()
145 struct hdmi_phy *phy; in msm_hdmi_phy_probe()
Dhdmi_phy_8x74.c9 static void hdmi_phy_8x74_powerup(struct hdmi_phy *phy, in hdmi_phy_8x74_powerup()
22 static void hdmi_phy_8x74_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x74_powerdown()
Dhdmi_phy_8960.c9 static void hdmi_phy_8960_powerup(struct hdmi_phy *phy, in hdmi_phy_8960_powerup()
28 static void hdmi_phy_8960_powerdown(struct hdmi_phy *phy) in hdmi_phy_8960_powerdown()
Dhdmi_phy_8x60.c11 static void hdmi_phy_8x60_powerup(struct hdmi_phy *phy, in hdmi_phy_8x60_powerup()
95 static void hdmi_phy_8x60_powerdown(struct hdmi_phy *phy) in hdmi_phy_8x60_powerdown()
Dhdmi_pll_8960.c247 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8960 *pll) in pll_get_phy()
255 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_pll_enable()
340 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_pll_disable()
Dhdmi_phy_8996.c81 static inline struct hdmi_phy *pll_get_phy(struct hdmi_pll_8996 *pll) in pll_get_phy()
399 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_set_clk_rate()
543 static int hdmi_8996_phy_ready_status(struct hdmi_phy *phy) in hdmi_8996_phy_ready_status()
595 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_prepare()
667 struct hdmi_phy *phy = pll_get_phy(pll); in hdmi_8996_pll_unprepare()
Dhdmi_bridge.c147 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_pre_enable()
181 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_post_disable()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/
Dhdmi.txt43 * "hdmi_phy"
83 phys = <&hdmi_phy>;
84 phy-names = "hdmi_phy";
87 hdmi_phy: phy@4a00400 {
89 reg-names = "hdmi_phy",
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-hdmi.txt24 hdmi_phy: hdmi-phy@12030000 {
31 clock-output-names = "hdmi_phy";
40 phys = <&hdmi_phy>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,hdmi.txt83 hdmi_phy: hdmi-phy@10209100 {
114 phys = <&hdmi_phy>;
118 assigned-clock-parents = <&hdmi_phy>;
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
DMakefile16 hdmi_phy.o
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
DMakefile15 hdmi_phy.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Drockchip,rk3328-cru.txt35 - "hdmi_phy" - output clock of the hdmi phy pll - optional
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmt7623n.dtsi242 phys = <&hdmi_phy>;
268 hdmi_phy: phy@10209100 { label
Drk3229-xms6.dts178 &hdmi_phy {
Dmt7623n-bananapi-bpi-r2.dts276 &hdmi_phy {
Dmt7623n-rfb-emmc.dts272 &hdmi_phy {
Drk322x.dtsi532 hdmi_phy: hdmi-phy@12030000 { label
642 assigned-clock-parents = <&hdmi_phy>;
649 phys = <&hdmi_phy>;
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
DMakefile24 hdmi/hdmi_phy.o \
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8996.dtsi582 phys = <&hdmi_phy>;
583 phy-names = "hdmi_phy";
599 hdmi_phy: hdmi-phy@9a0600 { label
613 "hdmi_phy";

12