On Wednesday 04 March 2009, Aguirre Rodriguez, Sergio Alberto wrote: > > > I'd much rather see these drivers just use the regulator > > framework to switch any sensor power rails on/off. > > Hi, > > Sounds interesting. > > Is there any documentation on how to use this? Documentation/DocBook/regulator.tmpl Documentation/power/regulator/* I don't quite know how clear that is; the framework is still sorting itself out, a bit. The 2.6.30 kernel has some updates to programming interfaces, few of which should matter to any sensor code ... sensors would be "consumers" in that framework, calling regulator_get() and friends. The tricksy bits would be coupling the regulators to the sensor device nodes in the board-specfiic setup code. At some point I expect to see some cases where that setup needs framework updates, but so far that hasn't happened. - Dave -- 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