]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: sunxi: dw-hdmi: Probe driver by compatible
authorJernej Skrabec <jernej.skrabec@gmail.com>
Mon, 28 Nov 2022 07:02:25 +0000 (01:02 -0600)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 23 Jan 2023 01:18:31 +0000 (01:18 +0000)
commit2f52be8b8def41e74fa9dce585d7819bab28ec11
tree69828eed339b555474e95ef86c99eb13c02a495d
parent77024aa7d9a06153d0be007439b0179157da5b86
video: sunxi: dw-hdmi: Probe driver by compatible

Currently the sunxi dw-hdmi driver is probed unconditionally,
even if there is no such device.

Switch the driver to probing via a compatible string. This brings many
benefits; the driver is only probed when needed, and now it can read the
DT node.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
drivers/video/sunxi/sunxi_dw_hdmi.c