]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7641c9f371c31973a916533c7bcc630cae64973d
tree6ba2db7c6cf1bc3428f35c35b6d045513ef2e86a
parent29230ba12c9ebdc4bb6e22babcaec9dfa3d76ff4
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