/u-boot/drivers/video/ |
A D | dw_hdmi.c | 385 if (!hdmi->mpll_cfg || !hdmi->phy_cfg) in hdmi_phy_configure() 409 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].cpce, PHY_OPMODE_PLLCFG); in hdmi_phy_configure() 410 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].gmp, PHY_PLLGMPCTRL); in hdmi_phy_configure() 411 hdmi_phy_i2c_write(hdmi, hdmi->mpll_cfg[i].curr, PHY_PLLCURRCTRL); in hdmi_phy_configure() 425 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].term, PHY_TXTERM); in hdmi_phy_configure() 426 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].sym_ctr, PHY_CKSYMTXCTRL); in hdmi_phy_configure() 427 hdmi_phy_i2c_write(hdmi, hdmi->phy_cfg[i].vlev_ctr, PHY_VLEVCTRL); in hdmi_phy_configure() 831 hdmi_write(hdmi, hdmi->i2c_clk_high, HDMI_I2CM_SS_SCL_HCNT_0_ADDR); in hdmi_read_edid() 832 hdmi_write(hdmi, hdmi->i2c_clk_low, HDMI_I2CM_SS_SCL_LCNT_0_ADDR); in hdmi_read_edid() 991 ret = hdmi->phy_set(hdmi, edid->pixelclock.typ); in dw_hdmi_enable() [all …]
|
/u-boot/drivers/video/meson/ |
A D | meson_dw_hdmi.c | 48 struct dw_hdmi hdmi; member 70 hdmi); in dw_hdmi_top_read() 74 return readl(hdmi->ioaddr + in dw_hdmi_top_read() 92 hdmi); in dw_hdmi_top_write() 95 writel(data, hdmi->ioaddr + in dw_hdmi_top_write() 298 hdmi); in meson_dw_hdmi_phy_init() 390 if (!priv->hdmi.ioaddr) in meson_dw_hdmi_probe() 401 priv->hdmi.reg_io_width = 1; in meson_dw_hdmi_probe() 407 priv->hdmi.i2c_clk_low = 0x78; in meson_dw_hdmi_probe() 424 &priv->hdmi.ddc_bus); in meson_dw_hdmi_probe() [all …]
|
/u-boot/drivers/video/rockchip/ |
A D | rk_hdmi.c | 84 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_of_to_plat() local 86 hdmi->ioaddr = (ulong)dev_read_addr(dev); in rk_hdmi_of_to_plat() 87 hdmi->mpll_cfg = rockchip_mpll_cfg; in rk_hdmi_of_to_plat() 88 hdmi->phy_cfg = rockchip_phy_config; in rk_hdmi_of_to_plat() 92 hdmi->reg_io_width = 4; in rk_hdmi_of_to_plat() 93 hdmi->phy_set = dw_hdmi_phy_cfg; in rk_hdmi_of_to_plat() 98 &hdmi->ddc_bus); in rk_hdmi_of_to_plat() 112 struct dw_hdmi *hdmi = &priv->hdmi; in rk_hdmi_probe() local 115 ret = dw_hdmi_phy_wait_for_hpd(hdmi); in rk_hdmi_probe() 121 dw_hdmi_init(hdmi); in rk_hdmi_probe() [all …]
|
A D | rk3288_hdmi.c | 38 return dw_hdmi_enable(&priv->hdmi, edid); in rk3288_hdmi_enable() 44 struct dw_hdmi *hdmi = &priv->hdmi; in rk3288_hdmi_of_to_plat() local 46 hdmi->i2c_clk_high = 0x7a; in rk3288_hdmi_of_to_plat() 47 hdmi->i2c_clk_low = 0x8d; in rk3288_hdmi_of_to_plat() 53 hdmi->i2c_clk_high = 0x0d; in rk3288_hdmi_of_to_plat() 54 hdmi->i2c_clk_low = 0x0d; in rk3288_hdmi_of_to_plat()
|
A D | rk3399_hdmi.c | 34 return dw_hdmi_enable(&priv->hdmi, edid); in rk3399_hdmi_enable() 40 struct dw_hdmi *hdmi = &priv->hdmi; in rk3399_hdmi_of_to_plat() local 42 hdmi->i2c_clk_high = 0x7a; in rk3399_hdmi_of_to_plat() 43 hdmi->i2c_clk_low = 0x8d; in rk3399_hdmi_of_to_plat()
|
A D | Makefile | 12 obj-hdmi-$(CONFIG_ROCKCHIP_RK3288) += rk3288_hdmi.o 13 obj-hdmi-$(CONFIG_ROCKCHIP_RK3399) += rk3399_hdmi.o 14 obj-$(CONFIG_DISPLAY_ROCKCHIP_HDMI) += rk_hdmi.o $(obj-hdmi-y)
|
/u-boot/drivers/video/sunxi/ |
A D | sunxi_display.c | 97 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_hpd_detect() local 122 &hdmi->pad_ctrl1); in sunxi_hdmi_hpd_detect() 124 &hdmi->pll_ctrl); in sunxi_hdmi_hpd_detect() 139 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_shutdown() local 153 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_ddc_do_command() local 162 writel(n, &hdmi->ddc_byte_count); in sunxi_hdmi_ddc_do_command() 163 writel(cmnd, &hdmi->ddc_cmnd); in sunxi_hdmi_ddc_do_command() 174 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_ddc_read() local 224 struct sunxi_hdmi_reg * const hdmi = in sunxi_hdmi_edid_get_mode() local 682 struct sunxi_hdmi_reg * const hdmi = local [all …]
|
A D | sunxi_dw_hdmi.c | 22 struct dw_hdmi hdmi; member 291 static int sunxi_dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock) in sunxi_dw_hdmi_phy_cfg() argument 305 return dw_hdmi_read_edid(&priv->hdmi, buf, buf_size); in sunxi_dw_hdmi_read_edid() 316 ret = dw_hdmi_enable(&priv->hdmi, edid); in sunxi_dw_hdmi_enable() 373 priv->hdmi.ioaddr = SUNXI_HDMI_BASE; in sunxi_dw_hdmi_probe() 374 priv->hdmi.i2c_clk_high = 0xd8; in sunxi_dw_hdmi_probe() 375 priv->hdmi.i2c_clk_low = 0xfe; in sunxi_dw_hdmi_probe() 376 priv->hdmi.reg_io_width = 1; in sunxi_dw_hdmi_probe() 377 priv->hdmi.phy_set = sunxi_dw_hdmi_phy_cfg; in sunxi_dw_hdmi_probe() 381 &priv->hdmi.ddc_bus); in sunxi_dw_hdmi_probe() [all …]
|
/u-boot/arch/arm/dts/ |
A D | meson-gxl-s905x-p212.dts | 25 hdmi-connector { 26 compatible = "hdmi-connector"; 41 hdmi-phandle = <&hdmi_tx>; 54 hdmi-supply = <&hdmi_5v>;
|
A D | meson-g12b-gtking.dts | 57 /* 8ch hdmi interface */ 72 /* spdif hdmi or toslink interface */ 85 /* spdif hdmi interface */ 94 /* hdmi glue */
|
A D | sun50i-a64-sopine-baseboard.dts | 28 hdmi-connector { 29 compatible = "hdmi-connector"; 88 &hdmi { 138 regulator-name = "vcc-hdmi"; 154 vcc-hdmi-supply = <®_dldo1>;
|
A D | sun50i-a64-nanopi-a64.dts | 24 hdmi-connector { 25 compatible = "hdmi-connector"; 89 &hdmi { 213 regulator-name = "vcc-hdmi-dsi"; 252 vcc-hdmi-supply = <®_dldo1>;
|
A D | sun50i-h5-emlid-neutis-n5-devboard.dts | 19 compatible = "hdmi-connector"; 59 &hdmi {
|
A D | sun8i-h3-emlid-neutis-n5h3-devboard.dts | 33 compatible = "hdmi-connector"; 60 &hdmi {
|
A D | stih410.dtsi | 197 sti_hdmi: sti-hdmi@8d04000 { 198 compatible = "st,stih407-hdmi"; 200 reg-names = "hdmi-reg"; 218 hdmi,hpd-gpio = <&pio5 3 GPIO_ACTIVE_LOW>; 219 reset-names = "hdmi"; 297 hdmi-phandle = <&sti_hdmi>;
|
A D | sun8i-h3-rervision-dvk.dts | 28 compatible = "hdmi-connector"; 62 &hdmi {
|
A D | r8a77970-eagle.dts | 35 hdmi-out { 36 compatible = "hdmi-connector"; 131 hdmi@39 {
|
A D | meson-g12a-u200.dts | 40 hdmi-connector { 41 compatible = "hdmi-connector"; 156 hdmi-phandle = <&hdmi_tx>; 163 hdmi-phandle = <&hdmi_tx>; 210 hdmi-supply = <&vcc_5v>;
|
/u-boot/arch/arm/mach-imx/ |
A D | cmd_hdmidet.c | 14 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in do_hdmidet() local 15 return (readb(&hdmi->phy_stat0) & HDMI_DVI_STAT) ? 0 : 1; in do_hdmidet()
|
A D | video.c | 14 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in detect_hdmi() local 15 return readb(&hdmi->phy_stat0) & HDMI_DVI_STAT; in detect_hdmi()
|
/u-boot/include/ |
A D | dw_hdmi.h | 547 int (*phy_set)(struct dw_hdmi *hdmi, uint mpixelclock); 548 void (*write_reg)(struct dw_hdmi *hdmi, u8 val, int offset); 549 u8 (*read_reg)(struct dw_hdmi *hdmi, int offset); 552 int dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock); 553 int dw_hdmi_phy_wait_for_hpd(struct dw_hdmi *hdmi); 554 void dw_hdmi_phy_init(struct dw_hdmi *hdmi); 556 int dw_hdmi_enable(struct dw_hdmi *hdmi, const struct display_timing *edid); 557 int dw_hdmi_read_edid(struct dw_hdmi *hdmi, u8 *buf, int buf_size); 558 void dw_hdmi_init(struct dw_hdmi *hdmi);
|
/u-boot/arch/arm/mach-imx/mx6/ |
A D | soc.c | 650 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in imx_enable_hdmi_phy() local 652 reg = readb(&hdmi->phy_conf0); in imx_enable_hdmi_phy() 654 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 657 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 660 writeb(reg, &hdmi->phy_conf0); in imx_enable_hdmi_phy() 661 writeb(HDMI_MC_PHYRSTZ_ASSERT, &hdmi->mc_phyrstz); in imx_enable_hdmi_phy() 667 struct hdmi_regs *hdmi = (struct hdmi_regs *)HDMI_ARB_BASE_ADDR; in imx_setup_hdmi() local 676 writeb(HDMI_MC_PHYRSTZ_DEASSERT, &hdmi->mc_phyrstz); in imx_setup_hdmi() 690 writeb((u8)~HDMI_MC_SWRSTZ_TMDSSWRST_REQ, &hdmi->mc_swrstz); in imx_setup_hdmi() 691 val = readb(&hdmi->fc_invidconf); in imx_setup_hdmi() [all …]
|
/u-boot/doc/ |
A D | README.video | 37 U-Boot supports hdmi and lcd output on Allwinner sunxi SoCs, lcd output 42 - monitor=[none|dvi|hdmi|lcd|vga|composite-*] - Select the video output to use 44 dvi/hdmi: Selects output over the hdmi connector with dvi resp. hdmi output 53 - hpd=[0|1] - Enable use of the hdmi HotPlug Detect feature 54 0: Disabled. Configure dvi/hdmi output even if no cable is detected 58 - hpd_delay=<int> - How long to wait for the hdmi HPD signal in milliseconds 75 For example to always use the hdmi connector, even if no cable is inserted,
|
/u-boot/board/google/imx8mq_phanbell/ |
A D | README | 6 - Get ddr and hdmi firmware 18 Get the ddr and hdmi firmware 23 $ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir)
|
/u-boot/doc/board/freescale/ |
A D | imx8mq_evk.rst | 12 - Get ddr and hdmi fimware 28 Get the ddr and hdmi firmware 36 $ cp firmware-imx-8.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir)
|