regulator: pbias: Select voltage table based on max-voltage
authorRavikumar Kattekola <rk@ti.com>
Thu, 31 Aug 2017 10:18:45 +0000 (15:48 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 31 Aug 2017 10:55:40 +0000 (11:55 +0100)
commit27eae9d4b9d4cd9c204ef81f46078d91362ed41c
treeb23d57593a790b2f78119e1d1819269a55fffaaf
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
regulator: pbias: Select voltage table based on max-voltage

Reference manuals of OMAP5x and DRA7x have been updated to reflect
the PBIAS regulator max-voltage as 3.3V instead of 3.0V, while OMAP3x
and OMAP4x are still quoting 3.0V. So, as of now, the pbias driver
needs to support both 3.0V and 3.3V IO voltage based on the max-voltage
supported by the PBIAS regulator.

Document reference:
SWPU249AF - OMAP543x Technical reference manual - August 2016
SPRUI30C – DRA75x, DRA74x Technical reference manual November 2016

Tested on:
DRA75x PG 2.0 REV H EVM

Signed-off-by: Ravikumar Kattekola <rk@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pbias-regulator.c