regulator: axp20x: Drop AXP221 DC1SW and DC5LDO regulator supplies from bindings
authorChen-Yu Tsai <wens@csie.org>
Wed, 30 Sep 2015 06:39:45 +0000 (14:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2015 14:05:20 +0000 (15:05 +0100)
commit8a29f6c3da0b56fa20c94edde98f53a5582e71a3
tree4042cbe887dc40907fd1a0301f1917d94d08036f
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
regulator: axp20x: Drop AXP221 DC1SW and DC5LDO regulator supplies from bindings

The DC1SW and DC5LDO regulators in the AXP221 are internally chained
to DCDC1 and DCDC5, hence the names. The original bindings used the
parent regulator names for the supply regulator property. This causes
some confusion when we actually use it in the dts:

axp221 {
/* self supplying? */
dcdc1-supply = <&dcdc1>;
dcdc5-supply = <&dcdc5>;

dcdc1: dcdc1 {
...
};

dcdc5: dcdc5 {
...
};
};

Since they are internally connected within the PMIC, their relationships
should not be visible in the device tree.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/mfd/axp20x.txt