regulator: add userspace-consumer driver
authorMike Rapoport <mike@compulab.co.il>
Sun, 26 Apr 2009 13:49:39 +0000 (16:49 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 15 Jun 2009 10:18:22 +0000 (11:18 +0100)
commit1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe
tree079c8db0e879dbddcec7658dee610ade43d86c67
parent55f4fa4e33e90c6b25b4c8ed038392a73b654fef
regulator: add userspace-consumer driver

The userspace-consumer driver allows control of voltage and current
regulator state from userspace. This is required for fine-grained
power management of devices that are completely controller by userspace
applications, e.g. a GPS transciever connected to a serial port.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/userspace-consumer.c [new file with mode: 0644]
include/linux/regulator/userspace-consumer.h [new file with mode: 0644]