From: "Andrii.Tseglytskyi" <andrii.tseglyts...@ti.com>

Following patch series introduces the Adaptive Body-Bias
LDO driver, which handles LDOs voltage during OPP change routine.
Current implementation is based on patch series from
Mike Turquette:

http://marc.info/?l=linux-omap&m=134931341818379&w=2

ABB transition is a part of OPP changing sequence.
ABB can operate in the following modes:
- Bypass mode: Activated when ABB is not required
- FBB mode: Fast Body Bias mode, used on fast OPPs
- RBB mode: Reverse Body Bias mode, used on slow OPPs

In current implementation ABB is converted to regulator.
Standalone OPP table is used to store ABB mode, it is defined
in device tree for each ABB regulator. It has the following format:

operating-points = <
               /* uV   ABB (0 - Bypass, 1 - FBB, 2 - RBB) */
               880000           0
               1060000          1
               1250000          1
               1260000          1
>;

ABB regulator is linked to regulator chain.

Related discussions:
regulator: query on regulator re-entrance
http://marc.info/?l=linux-omap&m=136513861315970&w=2

regulator: core: introduce regulator chain locking scheme
https://patchwork.kernel.org/patch/2445091/

clk: notifier handler for dynamic voltage scaling
https://lkml.org/lkml/2013/2/27/414

Andrii.Tseglytskyi (6):
  ARM: dts: OMAP36xx: add device tree for ABB
  ARM: dts: OMAP4: add device tree for ABB
  ARM: dts: OMAP5: add device tree for ABB
  ARM: OMAP3+: ABB: add aliases for sysclk used in ABB driver
  ARM: OMAP3+: ABB: introduce ABB driver
  ARM: OMAP3+: ABB: introduce debugfs entry

 Documentation/devicetree/bindings/power/abb.txt |   38 ++
 arch/arm/boot/dts/omap36xx.dtsi                 |   20 +
 arch/arm/boot/dts/omap4.dtsi                    |   22 +
 arch/arm/boot/dts/omap443x.dtsi                 |   23 +
 arch/arm/boot/dts/omap446x.dtsi                 |   39 ++
 arch/arm/boot/dts/omap5.dtsi                    |   39 ++
 arch/arm/mach-omap2/cclock3xxx_data.c           |    1 +
 arch/arm/mach-omap2/cclock44xx_data.c           |    2 +
 drivers/regulator/Kconfig                       |    6 +
 drivers/regulator/Makefile                      |    1 +
 drivers/regulator/abb-regulator.c               |  710 +++++++++++++++++++++++
 11 files changed, 901 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/abb.txt
 create mode 100644 arch/arm/boot/dts/omap446x.dtsi
 create mode 100644 drivers/regulator/abb-regulator.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to