On Mon, Jan 07, 2013 at 09:35:04PM +0000, Arnd Bergmann wrote: > (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) > > On Monday 07 January 2013, Tony Lindgren wrote: > > > > > > At the end of the line, some kind of hardware glue is going to be needed. > > > > > > I just feel that drawing from a sample size of 1 (maybe 2 if I get to throw > > > in the beagleboard), it is a bit premature to think about making it overly > > > general, besides the part that are obviously part of the infrastructure > > > (like the DT overlay stuff). > > > > > > What I'm getting at, is that we need some user experience about this, before > > > going away and creating structure out of possible misconception about the uses. > > > > IMHO stuff like this will be needed by many SoCs. Some examples of similar > > things for omaps that have eventually become generic frameworks have been > > the clock framework, USB OTG support, runtime PM, pinmux framework and > > so on. > > > > So I suggest a minimal generic API from the start as that will make things > > a lot easier in the long run. > > I agree. The ux500 platform already has the concept of "user interface boards", > which currently is not well integrated into devicetree. I believe Sascha > mentioned that Pengutronix had been shipping some other systems with add-on > boards and generating device tree binaries from source for each combination. What we have is usually CPU modules which can have different base boards. Usually they are not detectable by software. Right now we normally use a baseboard dts which includes a board dtd which then includes the SoC dtsi. This works quite well on dtc level. For us overlay dts become interesting when it comes to all the little variants of the boards, like for example different displays, different touchscreens,... Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html