regulator: lochnagar: Add additional VDDCORE range
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 4 Sep 2020 12:25:06 +0000 (13:25 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Sep 2020 17:49:13 +0000 (18:49 +0100)
commit6dc9674d95b8a8a81b85a4bed77f86d1b039be10
treeb3c110299830d16667dcf40e333e71a9fb30b5bf
parent6656d4462c7ac5ca0bc5d5a8a91a8c98f0fd1409
regulator: lochnagar: Add additional VDDCORE range

In the case of an unrecognised mini-card the Lochnagar will not
initialise the VDDCORE voltage register leading to a value outside of the
current range. Add an additional range to cover these values, initially
this wasn't done since they are duplicates of the existing minimum
value.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200904122506.28017-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lochnagar-regulator.c