On Thu, Dec 01, 2016 at 01:33:30AM +0800, Icenowy Zheng wrote:
hdmi-out { compatible = "hdmi-connector"; type = "a"; /* I2C bus and GPIO references are made up for the example */ ddc-i2c-bus = <&i2c4>; hpd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>
the "hdmi-connector" is a big piece of software. It must handle a lot of more and more exotic connectors. So, I hope that you have written a "simple-hdmi-connector" which does nothing but setting the connector type. Where is it?
I suddenly thought about something...
If a DVI connector instead of a HDMI connector is soldered, how should such a device tree be written?
Use a dvi-connector instead :)
How about solder a HDMI-to-VGA bridge on the board? (Maybe there should be "dumb-hdmi-dvi-bridge" and "dumb-hdmi-vga-bridge" drivers?)
It probably wouldn't be dumb, but yeah, it would definitely be a bridge instead of the connector.
Maxime