2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/gpu/drm/bridge
Laurent Pinchart 181e0ef092 drm: bridge: dw-hdmi: Fix the PHY power up sequence
When powering the PHY up we need to wait for the PLL to lock. This is
done by polling the TX_PHY_LOCK bit in the HDMI_PHY_STAT0 register
(interrupt-based wait could be implemented as well but is likely
overkill). The bit is asserted when the PLL locks, but the current code
incorrectly waits for the bit to be deasserted. Fix it, and while at it,
replace the udelay() with a sleep as the code never runs in
non-sleepable context.

To be consistent with the power down implementation move the poll loop
to the power off function.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170305233557.11945-1-laurent.pinchart+renesas@ideasonboard.com
2017-03-10 15:34:04 +05:30
..
adv7511 drm/bridge: adv7511: Re-write the i2c address before EDID probing 2017-01-19 09:16:58 +05:30
analogix drm/bridge: analogix_dp: add helpers for capture of frame CRCs 2017-03-06 12:14:27 -05:00
analogix-anx78xx.c drm/bridge: Call drm_connector_cleanup directly 2016-10-05 15:20:36 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm: bridge: vga-dac: Add adi,adv7123 compatible string 2017-03-05 19:01:44 +05:30
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: Delete unnecessary assignment for the field "owner" 2016-08-23 11:34:26 -04:00
dw-hdmi-audio.h drm: bridge: add DesignWare HDMI I2S audio support 2016-11-24 14:27:15 +05:30
dw-hdmi-i2s-audio.c drm: bridge: add DesignWare HDMI I2S audio support 2016-11-24 14:27:15 +05:30
dw-hdmi.c drm: bridge: dw-hdmi: Fix the PHY power up sequence 2017-03-10 15:34:04 +05:30
dw-hdmi.h drm: bridge: dw-hdmi: Fix the name of the PHY reset macros 2017-01-18 09:29:37 +05:30
Kconfig drm: bridge: Add LVDS encoder driver 2017-03-05 19:01:30 +05:30
lvds-encoder.c drm: bridge: lvds-encoder: Add thine,thc63lvdm83d compatible string 2017-03-05 19:01:45 +05:30
Makefile drm: bridge: Add LVDS encoder driver 2017-03-05 19:01:30 +05:30
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++) 2017-03-05 18:45:36 +05:30
nxp-ptn3460.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
parade-ps8622.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
sii902x.c drm/bridge: Add sii902x driver 2016-06-20 15:55:49 +02:00
sil-sii8620.c drm/bridge/sii8620: add missing error handling in probe 2017-02-23 11:06:11 -05:00
sil-sii8620.h drm/bridge/sii8620: add HSIC initialization code 2017-02-02 15:15:30 +05:30
tc358767.c drm: Make the connector .detect() callback optional 2016-12-01 10:05:53 -05:00
ti-tfp410.c drm/bridge/tfp410: Make symbol tfp410_platform_driver static 2017-02-13 10:46:22 +05:30