Re: [RFC 0/5] Sensor drivers for OMAP3430SDP and LDP camera

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux