From: Alan Tull Date: Wed, 15 Oct 2014 18:55:09 +0000 (-0500) Subject: hwmon: (pmbus) Add regulator support X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~25^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddbb4db4ced1ba784fcd3500179a7291b6c5d7b7;p=pandora-kernel.git 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 Reviewed-by: Mark Brown Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed