ARM: imx: ventana: enable LDO-bypass mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | regulator: add function to determine if 2 regulators are the samedrivers/ include/ | +25 | 0 replies | |
| 2/5 | regulator: add function to determine if a regulator is in bypass modedrivers/ include/ | +29 | 0 replies | |
| 3/5 | ARM: dts: imx: add cpu0 aliasarch/ arch/ | +2 | 0 replies | |
| 4/5 | cpufreq: imx6q: add ldo-bypass supportdrivers/ | +51 | 7 replies | |
| 5/5 | ARM: imx: ventana: enable LDO bypass mode for GW54xxarch/ | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] ARM: imx: ventana: enable LDO-bypass mode
The IMX6 has some internal LDO regulators provided by the anatop regulator block that can regulate the arm, soc, gpu/vpu core supplies. Alternatively a design can supply vdd_arm and vdd_soc externally via a PMIC to provide a lower power draw (switches are more efficient that ldo's).
The first two patches add some helper functions to the regulator core that allow us to determine if two regulator are the same and if a regulator is in bypass mode.
There are two patches which add device-tree support for specifying core regulators.
The patch to the imx6q cpufreq driver is where the logic that determines if we should bypass the LDO's and attempts to do so. I chose to place the logic there as this the driver that is affecting changes on the core regulators.
This is a followup to an RFC I posted previously [1] and the response I recieved from Lucas. I feel that this approach is an improvement over the initial proposal.
Hopefully I have Cc'd the proper parties - please advise if not as I'm not extactly clear who should be in the loop on regulator core changes.
Tim
[1] http://www.spinics.net/lists/arm-kernel/msg365686.html
Tim Harvey (5):
regulator: add function to determine if 2 regulators are the same
regulator: add function to determine if a regulator is in bypass mode
ARM: dts: imx: add cpu0 alias
cpufreq: imx6q: add ldo-bypass support
ARM: imx: ventana: enable LDO bypass mode for GW54xx
arch/arm/boot/dts/imx6dl.dtsi | 2 +- arch/arm/boot/dts/imx6q.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 55 +++++++++++++++++++++++++---------- drivers/cpufreq/imx6q-cpufreq.c | 51 ++++++++++++++++++++++++++++++++ drivers/regulator/core.c | 40 +++++++++++++++++++++++++ include/linux/regulator/consumer.h | 14 +++++++++ 6 files changed, 146 insertions(+), 18 deletions(-)
Signature · 1 line
1.8.3.2