summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/qcom_smd-regulator.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-12-03 11:28:48 +0100
committerMark Brown <broonie@kernel.org>2021-12-15 23:16:53 +0100
commit0fc31d8f1a8ad17224f6423e3ed6234507375d48 (patch)
treec2015b14dd5cebb34b2d773a0af9c48f0d55291f /drivers/regulator/qcom_smd-regulator.c
parentMerge tag 'platform-drivers-x86-int3472-1' of git://git.kernel.org/pub/scm/li... (diff)
downloadlinux-0fc31d8f1a8ad17224f6423e3ed6234507375d48.tar.xz
linux-0fc31d8f1a8ad17224f6423e3ed6234507375d48.zip
regulator: Introduce tps68470-regulator driver
The TPS68470 PMIC provides Clocks, GPIOs and Regulators. At present in the kernel the Regulators and Clocks are controlled by an OpRegion driver designed to work with power control methods defined in ACPI, but some platforms lack those methods, meaning drivers need to be able to consume the resources of these chips through the usual frameworks. This commit adds a driver for the regulators provided by the tps68470, and is designed to bind to the platform_device registered by the intel_skl_int3472 module. This is based on this out of tree driver written by Intel: https://github.com/intel/linux-intel-lts/blob/4.14/base/drivers/regulator/tps68470-regulator.c with various cleanups added. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20211203102857.44539-6-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/qcom_smd-regulator.c')
0 files changed, 0 insertions, 0 deletions