]> git.baikalelectronics.ru Git - uboot.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)
commita616289625f079c624d17e9a74d58979743add42
tree69828eed339b555474e95ef86c99eb13c02a495d
parent6e738aeb9a56111576a8449c4d1a9c637a657fc2
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