Re: [PATCH AUTOSEL 5.4 07/15] drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device

From: Sasha Levin
Date: Sun Jun 20 2021 - 08:56:55 EST


On Tue, Jun 15, 2021 at 09:26:16AM -0700, Saravana Kannan wrote:
On Tue, Jun 15, 2021 at 8:50 AM Sasha Levin <sashal@xxxxxxxxxx> wrote:

From: Saravana Kannan <saravanak@xxxxxxxxxx>

[ Upstream commit 9bf3797796f570b34438235a6a537df85832bdad ]

On sunxi boards that use HDMI output, HDMI device probe keeps being
avoided indefinitely with these repeated messages in dmesg:

platform 1ee0000.hdmi: probe deferral - supplier 1ef0000.hdmi-phy
not ready

There's a fwnode_link being created with fw_devlink=on between hdmi
and hdmi-phy nodes, because both nodes have 'compatible' property set.

Fw_devlink code assumes that nodes that have compatible property
set will also have a device associated with them by some driver
eventually. This is not the case with the current sun8i-hdmi
driver.


fw_devlink isn't present in 5.4 or earlier. So technically this patch
isn't needed.

I'll drop it from <=5.4, thanks!

--
Thanks,
Sasha