]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pbias: program pbias register offset in pbias driver
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 3 Sep 2015 06:50:37 +0000 (12:20 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 3 Sep 2015 09:39:20 +0000 (10:39 +0100)
commitc540b710745eeab209b540cc2a183c794ed55583
tree0edac3da63e527f0cd80db6b1187d9c90710a199
parent7080a36663ec94f7ed976e9e162c15cc4a03bc56
regulator: pbias: program pbias register offset in pbias driver

Add separate compatible strings for every platform and populate the
pbias register offset in the driver data.
This helps avoid depending on the dt for pbias register offset.

Also update the dt binding documentation for the new compatible
strings.

Suggested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/pbias-regulator.txt
drivers/regulator/pbias-regulator.c