u-boot/drivers/power/regulator
Przemyslaw Marczak 9923a8b450 dm: regulator: add fixed voltage regulator driver
This driver implements regulator operations for fixed Voltage/Current
value regulators. beside the standard regulator constraints, which are
put into the uclass platform data, a typical fixed regulator node provides
few additional properties like:
- gpio
- gpio-open-drain
- enable-active-high
- startup-delay-us
The only 'gpio' is used by this driver and is kept in structure of type
'fixed_regulator_platdata', as a device platform data (dev->platdata).

The driver implements:
- get_value
- get_current
- get_enable
- set_enable

The regulator calls and commands can be used for fixed-regulator devices,
and the proper error will be returned for prohibited.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-05-14 18:49:38 -06:00
..
fixed.c dm: regulator: add fixed voltage regulator driver 2015-05-14 18:49:38 -06:00
Kconfig dm: regulator: add fixed voltage regulator driver 2015-05-14 18:49:38 -06:00
Makefile dm: regulator: add fixed voltage regulator driver 2015-05-14 18:49:38 -06:00
max77686.c dm: regulator: add max77686 regulator driver 2015-05-14 18:49:38 -06:00
regulator-uclass.c dm: regulator: add implementation of driver model regulator uclass 2015-05-14 18:49:37 -06:00