regulator: tps65090: Set voltage for fixed regulators
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 31 Jul 2014 12:31:05 +0000 (14:31 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 31 Jul 2014 19:24:29 +0000 (20:24 +0100)
commit4f2352cf52738bd980713e85e8ae631c6c3a8feb
tree6ba2db7c6cf1bc3428f35c35b6d045513ef2e86a
parent7171511eaec5bf23fb06078f59784a3a0626b38f
regulator: tps65090: Set voltage for fixed regulators

According to the tps65090 data manual [0], the DCDC1 and DCDC2
step-down converters and the LDO's have a fixed output voltage.

Add this information to the driver since these fixed regulators
can be used as parent input supply for switches that don't have
an output voltage defined. So the regulator core needs to fetch
the FET parent output voltage if the child voltage is queried.

[0]: http://www.ti.com/lit/gpn/tps65090

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/tps65090-regulator.c