On Wed, 30 Nov 2016 10:20:21 +0200 Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> 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'! - the physical connector type may be changed on any board by a soldering iron or a connector to connector cable. - 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/ -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html