regulator: da9121: Add support for device variants via devicetree
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Mon, 30 Nov 2020 16:59:10 +0000 (16:59 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2020 12:18:00 +0000 (12:18 +0000)
commit46c413d5bb239769e6f1de706adf422c807c7a5f
treecd2bd2fcf53c3f7e86702b76a311adce441bafad
parent91863239ce0366c801f1f128246f30ea80d7727b
regulator: da9121: Add support for device variants via devicetree

Add devicetree configuration and device variant parameters. Use the latter
to enable the check and use of parameters specific to dual buck variants.

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