Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_mt2701_hdmi_phy.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 …]
Dmtk_hdmi_phy.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 …]
Dmtk_mt8173_hdmi_phy.c160 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_prepare() local
162 dev_dbg(hdmi_phy->dev, "%s\n", __func__); in mtk_hdmi_pll_prepare()
164 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_AUTOK_EN); in mtk_hdmi_pll_prepare()
165 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_POSDIV); in mtk_hdmi_pll_prepare()
166 mtk_hdmi_phy_clear_bits(hdmi_phy, HDMI_CON3, RG_HDMITX_MHLCK_EN); in mtk_hdmi_pll_prepare()
167 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_EN); in mtk_hdmi_pll_prepare()
169 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON0, RG_HDMITX_PLL_EN); in mtk_hdmi_pll_prepare()
171 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_BIAS_LPF_EN); in mtk_hdmi_pll_prepare()
172 mtk_hdmi_phy_set_bits(hdmi_phy, HDMI_CON1, RG_HDMITX_PLL_TXDIV_EN); in mtk_hdmi_pll_prepare()
179 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw); in mtk_hdmi_pll_unprepare() local
[all …]
Dmtk_hdmi_phy.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,
Dmtk_hdmi.c232 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(hdmi->phy); in mtk_hdmi_hw_make_reg_writable() local
240 if (hdmi_phy->conf && hdmi_phy->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable()
/Linux-v5.4/drivers/gpu/drm/msm/hdmi/
Dhdmi.h22 struct hdmi_phy;
62 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()
57 int msm_hdmi_phy_resource_enable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_enable()
82 void msm_hdmi_phy_resource_disable(struct hdmi_phy *phy) in msm_hdmi_phy_resource_disable()
97 void msm_hdmi_phy_powerup(struct hdmi_phy *phy, unsigned long int pixclock) in msm_hdmi_phy_powerup()
105 void msm_hdmi_phy_powerdown(struct hdmi_phy *phy) in msm_hdmi_phy_powerdown()
141 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.c148 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_pre_enable()
182 struct hdmi_phy *phy = hdmi->phy; in msm_hdmi_bridge_post_disable()
/Linux-v5.4/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",
/Linux-v5.4/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-hdmi.txt24 hdmi_phy: hdmi-phy@12030000 {
31 clock-output-names = "hdmi_phy";
40 phys = <&hdmi_phy>;
/Linux-v5.4/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,hdmi.txt79 hdmi_phy: hdmi-phy@10209100 {
110 phys = <&hdmi_phy>;
114 assigned-clock-parents = <&hdmi_phy>;
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
DMakefile16 hdmi_phy.o
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
DMakefile15 hdmi_phy.o
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Drockchip,rk3328-cru.txt35 - "hdmi_phy" - output clock of the hdmi phy pll - optional
/Linux-v5.4/drivers/gpu/drm/msm/
DMakefile23 hdmi/hdmi_phy.o \
/Linux-v5.4/arch/arm/boot/dts/
Drk3229-xms6.dts173 &hdmi_phy {
Drk322x.dtsi537 hdmi_phy: hdmi-phy@12030000 { label
641 assigned-clock-parents = <&hdmi_phy>;
648 phys = <&hdmi_phy>;
Dsun8i-r40.dtsi816 phys = <&hdmi_phy>;
838 hdmi_phy: hdmi-phy@1ef0000 { label
/Linux-v5.4/arch/arm64/boot/dts/allwinner/
Dsun50i-h6.dtsi578 phys = <&hdmi_phy>;
602 hdmi_phy: hdmi-phy@6010000 { label
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dmsm8996.dtsi2226 phys = <&hdmi_phy>;
2227 phy-names = "hdmi_phy";
2243 hdmi_phy: hdmi-phy@9a0600 { label
2257 "hdmi_phy";

12