summaryrefslogtreecommitdiff
path: root/drivers/regulator/ltc3676.c
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2022-03-01 12:18:31 +0100
committerMark Brown <broonie@kernel.org>2022-03-02 13:45:31 +0000
commit80c056656d46ffbece6125dee3f25adbc36d1486 (patch)
tree6fa2fe92d188920a130c3f87effb4bf0269ef3b2 /drivers/regulator/ltc3676.c
parentd2fb5487ecb2a28b61ff261ae18488afc98d24a6 (diff)
regulator: virtual: add devicetree support
The reg-virt-consumer is very useful for development and testing of regulator drivers since it allows voltages and modes to be set from userspace. However, it currently requires platform data so it cannot be used without patching the kernel. Add support for probing it from the devicetree to remedy this. Since this driver is only meant for testing and is a purely software construct, no binding documentation is added. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Link: https://lore.kernel.org/r/20220301111831.3742383-4-vincent.whitchurch@axis.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ltc3676.c')
0 files changed, 0 insertions, 0 deletions