[PATCH 0/2] Add coupled regulators mechanism
From: Maciej Purski
Date: Mon Sep 18 2017 - 04:41:53 EST
Hi all,
this patchset adds a new mechanism to the framework - regulators' coupling.
On Odroid XU3/4 and other Exynos5422 based boards there is a case, that
different devices on the board are supplied by different regulators
with non-fixed voltages. If one of these devices temporarily requires
higher voltage, there might occur a situation that the spread between
two devices' voltages is so high, that there is a risk of changing
'high' and 'low' states on the interconnection between devices powered
by those two regulators.
Algorithmicaly the problem was solved by:
Inderpal Singh <inderpal.s@xxxxxxxxxxx>
Doug Anderson <dianders@xxxxxxxxxxxx>
The discussion on that subject can be found here:
https://lkml.org/lkml/2014/4/29/28
Therefore this patchset is an attempt to apply the idea to regulators core
as concluded in the discussion by Mark Brown and Doug Anderson.
This feature is required to enable support for generic CPUfreq
and devfreq drivers for the mentioned boards.
Best regards,
Maciej Purski
Maciej Purski (2):
regulator: core: Add coupled regulators mechanism
regulator: bindings: Add properties for coupled regulators
.../devicetree/bindings/regulator/regulator.txt | 3 +
drivers/regulator/core.c | 274 +++++++++++++++++++--
include/linux/regulator/driver.h | 16 ++
3 files changed, 275 insertions(+), 18 deletions(-)
--
2.7.4