summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorAnilKumar Ch2012-07-10 13:09:42 +0200
committerMark Brown2012-07-12 19:27:36 +0200
commita7f1b63eb85606ad77a559b95c703b99e1205aa4 (patch)
tree471d3fc22574ca0ec921bdda19851ddfc9ac73d3 /include/linux/mfd
parentregulator: aat2870: Remove unused min_uV and max_uV from struct aat2870_regul... (diff)
downloadkernel-qcow2-linux-a7f1b63eb85606ad77a559b95c703b99e1205aa4.tar.gz
kernel-qcow2-linux-a7f1b63eb85606ad77a559b95c703b99e1205aa4.tar.xz
kernel-qcow2-linux-a7f1b63eb85606ad77a559b95c703b99e1205aa4.zip
regulator: tps65217: Add device tree support
This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tps65217.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h
index 3a80da103f3f..12c06870829a 100644
--- a/include/linux/mfd/tps65217.h
+++ b/include/linux/mfd/tps65217.h
@@ -217,7 +217,8 @@ enum tps65217_regulator_id {
* Board data may be used to initialize regulator.
*/
struct tps65217_board {
- struct regulator_init_data *tps65217_init_data;
+ struct regulator_init_data *tps65217_init_data[TPS65217_NUM_REGULATOR];
+ struct device_node *of_node[TPS65217_NUM_REGULATOR];
};
/**