aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/ltc2978.c
diff options
context:
space:
mode:
authorAlan Tull <atull@opensource.altera.com>2014-10-15 13:55:09 -0500
committerGuenter Roeck <linux@roeck-us.net>2014-11-30 20:13:13 -0800
commitddbb4db4ced1ba784fcd3500179a7291b6c5d7b7 (patch)
tree9d06aeb930ba86bfcc68ef659d392f98a263aff6 /drivers/hwmon/pmbus/ltc2978.c
parenthwmon: (pmbus) add helpers for byte write and read modify write (diff)
downloadlinux-dev-ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7.tar.xz
linux-dev-ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7.zip
hwmon: (pmbus) Add regulator support
Add support for simple on/off control of each channel. To add regulator support, the pmbus part driver needs to add regulator_desc information and number of regulators to its pmbus_driver_info struct. regulator_desc can be declared using default macro for a regulator (PMBUS_REGULATOR) that is in pmbus.h The regulator_init_data can be initialized from either platform data or the device tree. Signed-off-by: Alan Tull <atull@opensource.altera.com> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions