| /Linux-v5.4/drivers/gpu/drm/mediatek/ |
| D | mtk_mt2701_hdmi_phy.c | 70 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 …]
|
| D | mtk_hdmi_phy.c | 18 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 …]
|
| D | mtk_mt8173_hdmi_phy.c | 160 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 …]
|
| D | mtk_hdmi_phy.h | 26 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,
|
| D | mtk_hdmi.c | 232 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/ |
| D | hdmi.h | 22 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 …]
|
| D | hdmi_phy.c | 10 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()
|
| D | hdmi_phy_8x74.c | 9 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()
|
| D | hdmi_phy_8960.c | 9 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()
|
| D | hdmi_phy_8x60.c | 11 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()
|
| D | hdmi_pll_8960.c | 247 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()
|
| D | hdmi_phy_8996.c | 81 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()
|
| D | hdmi_bridge.c | 148 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/ |
| D | hdmi.txt | 43 * "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/ |
| D | phy-rockchip-inno-hdmi.txt | 24 hdmi_phy: hdmi-phy@12030000 { 31 clock-output-names = "hdmi_phy"; 40 phys = <&hdmi_phy>;
|
| /Linux-v5.4/Documentation/devicetree/bindings/display/mediatek/ |
| D | mediatek,hdmi.txt | 79 hdmi_phy: hdmi-phy@10209100 { 110 phys = <&hdmi_phy>; 114 assigned-clock-parents = <&hdmi_phy>;
|
| /Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
| D | Makefile | 16 hdmi_phy.o
|
| /Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | Makefile | 15 hdmi_phy.o
|
| /Linux-v5.4/Documentation/devicetree/bindings/clock/ |
| D | rockchip,rk3328-cru.txt | 35 - "hdmi_phy" - output clock of the hdmi phy pll - optional
|
| /Linux-v5.4/drivers/gpu/drm/msm/ |
| D | Makefile | 23 hdmi/hdmi_phy.o \
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | rk3229-xms6.dts | 173 &hdmi_phy {
|
| D | rk322x.dtsi | 537 hdmi_phy: hdmi-phy@12030000 { label 641 assigned-clock-parents = <&hdmi_phy>; 648 phys = <&hdmi_phy>;
|
| D | sun8i-r40.dtsi | 816 phys = <&hdmi_phy>; 838 hdmi_phy: hdmi-phy@1ef0000 { label
|
| /Linux-v5.4/arch/arm64/boot/dts/allwinner/ |
| D | sun50i-h6.dtsi | 578 phys = <&hdmi_phy>; 602 hdmi_phy: hdmi-phy@6010000 { label
|
| /Linux-v5.4/arch/arm64/boot/dts/qcom/ |
| D | msm8996.dtsi | 2226 phys = <&hdmi_phy>; 2227 phy-names = "hdmi_phy"; 2243 hdmi_phy: hdmi-phy@9a0600 { label 2257 "hdmi_phy";
|