]> 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)
commitb8bba13cd12d5a4d2d388fe5a3344139cb8dbcf2
tree0edac3da63e527f0cd80db6b1187d9c90710a199
parent0c9e0229f3c4e023815b9350b2095fd8ad5809e3
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