Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752744AbaJaE1U (ORCPT ); Fri, 31 Oct 2014 00:27:20 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:62533 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbaJaE1S (ORCPT ); Fri, 31 Oct 2014 00:27:18 -0400 From: Tim Harvey To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Philipp Zabel , Fabio Estevam , Shawn Guo , Lucas Stach , Silvio F , Christian Hemp , Russell King , Iain Paton Subject: [PATCH 0/5] ARM: imx: ventana: enable LDO-bypass mode Date: Thu, 30 Oct 2014 21:27:06 -0700 Message-Id: <1414729631-11005-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/