30.11.2016, 17:28, "Jean-Francois Moine" moinejf@free.fr:
On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart laurent.pinchart@ideasonboard.com wrote:
> Well, I don't see what this connector can be. > May you give me a DT example?
Sure.
arch/arm/boot/dts/r8a7791-koelsch.dts
/* HDMI encoder */
hdmi@39 { compatible = "adi,adv7511w"; reg = <0x39>; interrupt-parent = <&gpio3>; interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
adi,input-depth = <8>; adi,input-colorspace = "rgb"; adi,input-clock = "1x"; adi,input-style = <1>; adi,input-justification = "evenly";
ports { #address-cells = <1>; #size-cells = <0>;
port@0 { reg = <0>; adv7511_in: endpoint { remote-endpoint = <&du_out_rgb>; }; };
port@1 { reg = <1>; adv7511_out: endpoint { remote-endpoint = <&hdmi_con>; }; }; }; };
/* HDMI connector */
hdmi-out { compatible = "hdmi-connector"; type = "a";
port { hdmi_con: endpoint { remote-endpoint = <&adv7511_out>; }; }; };
Hi Laurent,
Sorry for I don't see the interest:
- it is obvious that the HDMI connector is a 'hdmi-connector'!
Yes, it means the wire between the HDMI pins on the SoC and the connector ;-)
- the physical connector type may be changed on any board by a soldering
iron or a connector to connector cable.
I can always alter the devices on a board ;-)
But I should also alter the dt after altering the board.
- what does the software do with the connector type?
- why not to put the connector information in the HDMI device?
And, if I follow you, the graph of ports could also be used to describe the way the various parts of the SoCs are powered, to describe the pin connections, to describe the USB connectors, to describe the board internal hubs and bridges...
-- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/
-- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.