On Thu, Sep 12, 2013 at 04:19:45PM -0600, Stephen Warren wrote: > On 09/12/2013 12:10 PM, Pawel Moll wrote: > > Such approach would also solve problem with bizarre cases like the > > Versatile's (not Express ;-) muxer Russell mentioned (where there is a > > de-facto custom wiring used). And no, I had a look at pinmux bindings > > and I don't think they fit here at all... > > > > Thoughts? > > I think pinctrl would work just fine here. However, I suspect there's > little need for pinctrl. pinctrl is required when one module may impose > requirements on another module's muxable pins. I assume that the > configuration for pins on CLCD is only relevant for CLCD itself, so > there's no need to export an interface by which something else can > configure the pins. Well, the hardware is much like this: CLCD ---> Mux ---> output and the mux is controlled by a register, and will manipulate the output from the CLCD controller such that the framebuffer contents can be RGB565, BGR565, XRGB1555, XBGR1555 or RGB888. (Actually, the Versatile mux can only support one of the 1555 formats, but I forget which it is.) I'm not sure that its worth describing all these in DT explicitly, but maybe encoding it as a special "versatile" version of the CLCD primecell instead - especially as the external mux takes care of the colour component order rather than the CLCD controller (and that requires a bit of board specific code to deal with.) -- 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