regulator: da9121: Add device variants
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Mon, 30 Nov 2020 16:59:07 +0000 (16:59 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2020 12:17:57 +0000 (12:17 +0000)
commitf3fbd5566f6a8cdb7c48ab29bd1096205b7fbcaf
tree6de74d96e83b7e724c64b2ed42d1382ad23bfaee
parent86f162c91f274e0d8a0c440d7a991230f6ac7725
regulator: da9121: Add device variants

Add basic support for configuration to reference variants of this device,
and track the selected variant within the driver.

Signed-off-by: Adam Ward <Adam.Ward.opensource@diasemi.com>
Link: https://lore.kernel.org/r/aaabd3063593e5172fa6b605884d475df64e6d65.1606755367.git.Adam.Ward.opensource@diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9121-regulator.c