Skip to content

ARM: imx: ventana: enable LDO-bypass mode

Tim Harvey linux-arm-kernel linux-devicetree linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5regulator: add function to determine if 2 regulators are the samedrivers/regulator/core.c include/linux/regulator/consumer.h+25 -00 replies
2/5regulator: add function to determine if a regulator is in bypass modedrivers/regulator/core.c include/linux/regulator/consumer.h+29 -00 replies
3/5ARM: dts: imx: add cpu0 aliasarch/arm/boot/dts/imx6dl.dtsi arch/arm/boot/dts/imx6q.dtsi+2 -20 replies
4/5cpufreq: imx6q: add ldo-bypass supportdrivers/cpufreq/imx6q-cpufreq.c+51 -07 replies
5/5ARM: imx: ventana: enable LDO bypass mode for GW54xxarch/arm/boot/dts/imx6qdl-gw54xx.dtsi+39 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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