]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pwm: Add support to have multiple instance of pwm regulator
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 8 Mar 2016 10:53:22 +0000 (16:23 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 06:07:13 +0000 (13:07 +0700)
commit4e658be17b01df94855de3911b0a209e882ffe15
treeece05e36fc965449895699992b9eb10c31b8f17b
parenta241cd953ae3ea0948eb994fe91b7d08bca6606e
regulator: pwm: Add support to have multiple instance of pwm regulator

Some of platforms like Nvidia's Tegra210 Jetson-TX1 platform has
multiple PMW based regulators. Add support to have multiple instances
of the driver by not changing any global data of pwm regulator and
if required, making instance specific copy and then making changes.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c