[am335x] Fallback to standard video interface bindings when using Linux dts
authorgonzo <gonzo@FreeBSD.org>
Wed, 1 Feb 2017 22:03:59 +0000 (22:03 +0000)
committergonzo <gonzo@FreeBSD.org>
Wed, 1 Feb 2017 22:03:59 +0000 (22:03 +0000)
commit589b22f72257dc25451cc504380a775103a3756e
tree6e41afab2390e3829460dd6c90eb10e3ed3510e9
parent62bfe4d0d62266a4c9a7aeef8abeafda66d3ec48
[am335x] Fallback to standard video interface bindings when using Linux dts

Historically AM335x LCDC driver used non-standard "hdmi" property to
refer to HDMI framer. There is no such thing in upstream DTS, so to
handle both cases fallback to bindings described in
bindings/media/video-interfaces.txt in Linux documentation.

We still make some assumptions that are not universally true: we
assume that if remote endpoint is available it's going to be HDMI
framer. Which is true for AM335x-based devices currently supported
but may be not true for some custom hardware.

MFC after: 1 week
sys/arm/ti/am335x/am335x_lcd.c