[PATCH v2 0/2] dd regulator support for pmbus and ltc2978

From: atull
Date: Fri Aug 22 2014 - 17:17:00 EST


From: Alan Tull <atull@xxxxxxxxxxxxxxxxxxxxx>

Version 2 :
* Get regulator_init_data from platform data or device tree.
* One regulator per pmbus part.
* Clean up Kconfig and #includes.

This set of patches adds regulator support to pmbus_core.c and to
ltc2978.c. Other pmbus parts can use this to add their own
regulator support. Current ltc2978 support is limited to
enable/disable.

Tested on ltc2978. Looking at the datasheets for the other parts
supported by ltc2978.c, it looks like it should work.

Thanks,
Alan

Alan Tull (2):
pmbus: add regulator support
pmbus: ltc2978: add regulator gating

drivers/hwmon/pmbus/Kconfig | 7 +++++
drivers/hwmon/pmbus/ltc2978.c | 60 ++++++++++++++++++++++++++++++++++++++
drivers/hwmon/pmbus/pmbus.h | 5 ++++
drivers/hwmon/pmbus/pmbus_core.c | 51 ++++++++++++++++++++++++++++++++
include/linux/i2c/pmbus.h | 1 +
5 files changed, 124 insertions(+)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/