regulator: pfuze100: update voltage setting for pfuze3000 sw1a
authorAnson Huang <Anson.Huang@nxp.com>
Sun, 18 Mar 2018 03:23:21 +0000 (11:23 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 18 Apr 2018 11:48:58 +0000 (12:48 +0100)
commit1dced996ee702e6af82a57c7b6c56b0cceaa6425
treef4d99c289fb4ba09b6853d5c45a8068609dc1918
parent2f51a26041f2c192dfcf426c04a0753f3e68db95
regulator: pfuze100: update voltage setting for pfuze3000 sw1a

pfuze3000 datasheet(Rev.9.0) from:

https://www.nxp.com/docs/en/data-sheet/PF3000.pdf

updates sw1a's voltage range, the settings for 1.450V and 1.475V
are replaced with 1.8V and 3.3V:

5b'11110 1.450 (SW1B), 1.8 (SW1A/SW1AB)
5b'11111 1.475 (SW1B), 3.3 (SW1A/SW1AB)

the voltage calculation using steps is NOT available for sw1a now,
use voltage table instead.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c