30.11.2016, 17:28, "Jean-Francois Moine" <moinejf at free.fr>: > On Wed, 30 Nov 2016 10:20:21 +0200 > Laurent Pinchart <laurent.pinchart at 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 at 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 at 0 { >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â reg = <0>; >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â >> adv7511_in: endpoint { >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â >> Â Â Â remote-endpoint = <&du_out_rgb>; >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }; >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }; >> >> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â port at 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 at googlegroups.com. > For more options, visit https://groups.google.com/d/optout.