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)
commitb9c93646fd5cb669d096fec5ad25a01f04cfde27
tree0edac3da63e527f0cd80db6b1187d9c90710a199
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
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