Hi Michael, please keep the list CC'd. On Fri, 17 Apr 2009 08:32:16 +0200, Michael Lawnick wrote: > Jean Delvare said the following: > > That's right, but why do you insist on instantiating them at runtime? > > > Because we have 2 different boards with same main processor but > different on-board peripherals. They should run with same binary kernel > to avoid duplicate production tests. On boot the system checks on which > of the boards it is running and loads the necessary drivers with > matching parameters. Why would the system check need to be done in user-space? I can easily imagine a single kernel supporting more than one system, all I2C devices being described in the kernel and the right subset of I2C devices being instantiated at boot based on which system the kernel is running on. > > The question is: why every other user of i2c-mpc is apparently able > > to declare i2c devices through dts and you aren't? > > The question was: does dts work for drivers that are loaded on runtime. Answer is yes. > I did not check before I asked, because it is a bit complicated here to > do. In difference to you Wolfram was able to give a verbose 'yes' which > I will check now. In difference to Wolfram I have no specific knowledge of embedded boards. I try to help with i2c in general but I am limited when it comes to embedded. -- Jean Delvare -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html